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