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