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