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