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