| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
VectorM2D.distance(VectorM2D.ContextVM2D c,
VectorReadable2DType v0,
VectorReadable2DType v1)
Calculate the distance between the two vectors
v0 and v1. |
static <V extends VectorWritable2DType> |
VectorM2D.interpolateLinear(VectorM2D.ContextVM2D c,
VectorReadable2DType v0,
VectorReadable2DType v1,
double alpha,
V r)
Linearly interpolate between
v0 and v1 by the amount alpha, saving the result to r. |
static <V extends VectorReadable2DType,U extends VectorWritable2DType> |
VectorM2D.orthoNormalize(VectorM2D.ContextVM2D c,
VectorReadable2DType v0,
U v0_out,
VectorReadable2DType v1,
U v1_out)
Orthonormalize and return the vectors
v0 and v1 . |
static <V extends VectorWritable2DType & VectorReadable2DType,W extends VectorWritable2DType & VectorReadable2DType> |
VectorM2D.orthoNormalizeInPlace(VectorM2D.ContextVM2D c,
V v0,
W v1)
Orthonormalize and the vectors
v0 and v1. |
Copyright © 2017 <code@io7m.com> http://io7m.com