| Package | Description |
|---|---|
| com.io7m.jtensors |
| Modifier and Type | Field and Description |
|---|---|
static VectorI3L |
VectorI3L.ZERO
The zero vector.
|
| Modifier and Type | Method and Description |
|---|---|
static VectorI3L |
VectorI3L.absolute(VectorReadable3LType v)
Calculate the absolute values of the elements in vector
v. |
static VectorI3L |
VectorI3L.add(VectorReadable3LType v0,
VectorReadable3LType v1)
Calculate the element-wise sum of the vectors
v0 and
v1. |
static VectorI3L |
VectorI3L.addScaled(VectorReadable3LType v0,
VectorReadable3LType v1,
double r)
Calculate the element-wise sum of the vectors
v0 and the
element-wise product of v1 and r. |
static VectorI3L |
VectorI3L.clamp(VectorReadable3LType v,
long minimum,
long maximum)
Clamp the elements of the vector
v to the range
[minimum .. |
static VectorI3L |
VectorI3L.clampByVector(VectorReadable3LType v,
VectorReadable3LType minimum,
VectorReadable3LType maximum)
Clamp the elements of the vector
v to the inclusive range
given by the corresponding elements in minimum and
maximum. |
static VectorI3L |
VectorI3L.clampMaximum(VectorReadable3LType v,
long maximum)
Clamp the elements of the vector
v to the range
[-Infinity .. |
static VectorI3L |
VectorI3L.clampMaximumByVector(VectorReadable3LType v,
VectorReadable3LType maximum)
Clamp the elements of the vector
v to the inclusive range
given by the corresponding elements in maximum. |
static VectorI3L |
VectorI3L.clampMinimum(VectorReadable3LType v,
long minimum)
Clamp the elements of the vector
v to the range
[minimum .. |
static VectorI3L |
VectorI3L.clampMinimumByVector(VectorReadable3LType v,
VectorReadable3LType minimum)
Clamp the elements of the vector
v to the inclusive range
given by the corresponding elements in minimum. |
static VectorI3L |
VectorI3L.interpolateLinear(VectorReadable3LType v0,
VectorReadable3LType v1,
double alpha)
Linearly interpolate between
v0 and v1 by the
amount alpha. |
static VectorI3L |
VectorI3L.projection(VectorReadable3LType p,
VectorReadable3LType q)
Calculate the projection of the vector
p onto the vector
q. |
static VectorI3L |
VectorI3L.scale(VectorReadable3LType v,
double r)
Scale the vector
v by the scalar r, saving the
result to out. |
static VectorI3L |
VectorI3L.subtract(VectorReadable3LType v0,
VectorReadable3LType v1)
Subtract the vector
v1 from the vector v0. |
Copyright © 2014 <code@io7m.com> http://io7m.com