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