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