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