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