| Package | Description |
|---|---|
| com.io7m.jtensors.parameterized |
Parameterized vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> long |
PVectorM2L.distance(PVectorM2L.ContextPVM2L c,
PVectorReadable2LType<T> v0,
PVectorReadable2LType<T> v1)
Calculate the distance between the two vectors
v0 and v1. |
static <T,V extends PVectorWritable2LType<T>> |
PVectorM2L.interpolateLinear(PVectorM2L.ContextPVM2L c,
PVectorReadable2LType<T> v0,
PVectorReadable2LType<T> 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