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