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