| Package | Description |
|---|---|
| com.io7m.jtensors.parameterized |
Parameterized vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> double |
PVectorM2F.distance(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T,V extends PVectorWritable2FType<T>> |
PVectorM2F.interpolateLinear(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
PVectorReadable2FType<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 PVectorWritable2FType<T>> |
PVectorM2F.orthoNormalize(PVectorM2F.ContextPVM2F c,
PVectorReadable2FType<T> v0,
V v0_out,
PVectorReadable2FType<T> v1,
V v1_out)
Orthonormalize and return the vectors
v0 and v1 . |
static <T,V extends PVectorWritable2FType<T> & PVectorReadable2FType<T>> |
PVectorM2F.orthoNormalizeInPlace(PVectorM2F.ContextPVM2F c,
V v0,
V v1)
Orthonormalize and the vectors
v0 and v1. |
Copyright © 2016 <code@io7m.com> http://io7m.com