| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| com.io7m.jtensors.bytebuffered |
ByteBuffer backed tensors. |
| com.io7m.jtensors.bytebuffered.parameterized |
ByteBuffer backed parameterized tensors. |
| com.io7m.jtensors.parameterized |
Parameterized vector and matrix types.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Vector4LType
The type of four-element vectors that are both readable and writable, and
have
long elements |
| Modifier and Type | Class and Description |
|---|---|
class |
VectorM4L
A four-dimensional mutable vector type with integer elements.
|
| Modifier and Type | Method and Description |
|---|---|
static <V extends VectorWritable4LType> |
VectorM4L.absolute(VectorReadable4LType v,
V out)
Calculate the absolute values of the elements in vector
v, saving
the result to out. |
static <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.absoluteInPlace(V v)
Calculate the absolute values of the elements in vector
v, saving
the result to v. |
static <V extends VectorWritable4LType> |
VectorM4L.add(VectorReadable4LType v0,
VectorReadable4LType v1,
V out)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to out. |
static <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.addInPlace(V v0,
VectorReadable4LType v1)
Calculate the element-wise sum of the vectors
v0 and v1,
saving the result to v0. |
static <V extends VectorWritable4LType> |
VectorM4L.addScaled(VectorReadable4LType v0,
VectorReadable4LType v1,
double r,
V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.addScaledInPlace(V 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 <V extends VectorWritable4LType> |
VectorM4L.clamp(VectorReadable4LType v,
long minimum,
long maximum,
V out)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <V extends VectorWritable4LType> |
VectorM4L.clampByVector(VectorReadable4LType v,
VectorReadable4LType minimum,
VectorReadable4LType maximum,
V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampByVectorInPlace(V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampInPlace(V v,
long minimum,
long maximum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <V extends VectorWritable4LType> |
VectorM4L.clampMaximum(VectorReadable4LType v,
long maximum,
V out)
Clamp the elements of the vector
v to the range {@code [-Infinity
.. |
static <V extends VectorWritable4LType> |
VectorM4L.clampMaximumByVector(VectorReadable4LType v,
VectorReadable4LType maximum,
V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampMaximumByVectorInPlace(V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampMaximumInPlace(V v,
long maximum)
Clamp the elements of the vector
v to the range {@code [-Infinity
.. |
static <V extends VectorWritable4LType> |
VectorM4L.clampMinimum(VectorReadable4LType v,
long minimum,
V out)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <V extends VectorWritable4LType> |
VectorM4L.clampMinimumByVector(VectorReadable4LType v,
VectorReadable4LType minimum,
V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampMinimumByVectorInPlace(V 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 <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.clampMinimumInPlace(V v,
long minimum)
Clamp the elements of the vector
v to the range {@code [minimum .. |
static <T extends VectorWritable4LType> |
VectorM4L.copy(VectorReadable4LType input,
T output)
Copy all elements of the vector
input to the vector output. |
static <V extends VectorWritable4LType> |
VectorM4L.interpolateLinear(VectorM4L.ContextVM4L c,
VectorReadable4LType v0,
VectorReadable4LType v1,
double alpha,
V r)
Linearly interpolate between
v0 and v1 by the amount alpha, saving the result to r. |
static <V extends VectorWritable4LType> |
VectorM4L.projection(VectorReadable4LType p,
VectorReadable4LType q,
V r)
Calculate the projection of the vector
p onto the vector q,
saving the result in r. |
static <V extends VectorWritable4LType> |
VectorM4L.scale(VectorReadable4LType v,
double r,
V out)
Scale the vector
v by the scalar r, saving the result to
out. |
static <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.scaleInPlace(V v,
long r)
Scale the vector
v by the scalar r, saving the result to
v. |
static <V extends VectorWritable4LType> |
VectorM4L.subtract(VectorReadable4LType v0,
VectorReadable4LType v1,
V out)
Subtract the vector
v1 from the vector v0, saving the
result to out. |
static <V extends VectorWritable4LType & VectorReadable4LType> |
VectorM4L.subtractInPlace(V v0,
VectorReadable4LType v1)
Subtract the vector
v1 from the vector v0, saving the
result to v0. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
VectorByteBuffered4LType
The type of
Vector4LType values that are also byte buffered. |
| Modifier and Type | Class and Description |
|---|---|
class |
VectorByteBufferedM4L
A four-element vector type with
long elements, packed into a
ByteBuffer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PVectorByteBuffered4LType<T>
The type of
PVector4LType values that are also byte buffered. |
| Modifier and Type | Class and Description |
|---|---|
class |
PVectorByteBufferedM4L<T>
A four-element vector type with
long elements, packed into a
ByteBuffer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PVector4LType<T>
The type of four-element vectors that are both readable and writable, and
have
long elements |
interface |
PVectorWritable4LType<T>
'Write' interface to four-dimensional vectors with long integer elements.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PVectorM4L<T>
A four-dimensional mutable vector type with integer elements.
|
Copyright © 2016 <code@io7m.com> http://io7m.com