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