| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
VectorM2I.distance(VectorM2I.ContextVM2I c,
VectorReadable2IType v0,
VectorReadable2IType v1)
Calculate the distance between the two vectors
v0 and v1. |
static <V extends VectorWritable2IType> |
VectorM2I.interpolateLinear(VectorM2I.ContextVM2I c,
VectorReadable2IType v0,
VectorReadable2IType v1,
double alpha,
V r)
Linearly interpolate between
v0 and v1 by the amount alpha, saving the result to r. |
Copyright © 2017 <code@io7m.com> http://io7m.com