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