| 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 |
Matrix2x2FType
The type of 2x2 matrices with
float elements. |
interface |
Matrix3x3FType
The type of 3x3 matrices with
float elements. |
interface |
Matrix4x4FType
The type of 4x4 matrices with
float elements. |
interface |
MatrixDirect2x2FType
The type of 2x2 matrices with
float elements that are backed by
direct byte buffers. |
interface |
MatrixDirect3x3FType
The type of 3x3 matrices with
float elements that are backed by
direct byte buffers. |
interface |
MatrixDirect4x4FType
The type of 4x4 matrices with
float elements that are backed by
direct byte buffers. |
interface |
MatrixWritable3x3FType
'Write' interface to 3x3 matrices with
float elements. |
interface |
MatrixWritable4x4FType
'Write' interface to 4x4 matrices with
float elements. |
| Modifier and Type | Class and Description |
|---|---|
class |
MatrixDirectM2x2F
The default implementation of the
MatrixDirect2x2FType
interface. |
class |
MatrixDirectM3x3F
The default implementation of the
MatrixDirect3x3FType
interface. |
class |
MatrixDirectM4x4F
The default implementation of the
MatrixDirect4x4FType
interface. |
class |
MatrixHeapArrayM2x2F
The default implementation of the
Matrix2x2FType interface. |
class |
MatrixHeapArrayM3x3F
The default implementation of the
Matrix3x3FType interface. |
class |
MatrixHeapArrayM4x4F
The default implementation of the
Matrix4x4FType interface. |
| Modifier and Type | Method and Description |
|---|---|
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.add(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
M out)
Elementwise add of matrices
m0 and m1. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.addInPlace(M m0,
MatrixReadable2x2FType m1)
Elementwise add of matrices
m0 and m1, returning the result
in m0. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.addRowScaled(MatrixM2x2F.ContextMM2F c,
MatrixReadable2x2FType m,
int row_a,
int row_b,
int row_c,
float r,
M out)
Add the values in row
row_b to the values in row row_a
scaled by r, saving the resulting row in row row_c of the
matrix out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.addRowScaledInPlace(MatrixM2x2F.ContextMM2F c,
M m,
int row_a,
int row_b,
int row_c,
float r)
Add the values in row
row_b to the values in row row_a
scaled by r, saving the resulting row in row row_c of the
matrix m. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.copy(MatrixReadable2x2FType input,
M output)
Copy the contents of the matrix
input to the matrix output,
completely replacing all elements. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.exchangeRows(MatrixM2x2F.ContextMM2F c,
MatrixReadable2x2FType m,
int row_a,
int row_b,
M out)
Exchange two rows
row_a and row row_b of the matrix
m, saving the exchanged rows to out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.exchangeRowsInPlace(MatrixM2x2F.ContextMM2F c,
M m,
int row_a,
int row_b)
Exchange two rows
row_a and row row_b of the matrix
m, saving the exchanged rows to m. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.invert(MatrixReadable2x2FType m,
M out)
Calculate the inverse of the matrix
m, saving the resulting matrix
to out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.invertInPlace(M m)
Calculate the inverse of the matrix
m, saving the resulting matrix
to m. |
<M extends MatrixWritable2x2FType> |
MatrixI2x2F.makeMatrix2x2F(M m)
Write the current matrix into the given mutable matrix.
|
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.multiply(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
M out)
Multiply the matrix
m0 with the matrix m1, writing the
result to out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.multiplyInPlace(M m0,
MatrixReadable2x2FType m1)
Multiply the matrix
m0 with the matrix m1, writing the
result to m0. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.scale(MatrixReadable2x2FType m,
float r,
M out)
Scale all elements of the matrix
m by the scaling value r,
saving the result in out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.scaleInPlace(M m,
float r)
Scale all elements of the matrix
m by the scaling value r,
saving the result in m. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.scaleRow(MatrixM2x2F.ContextMM2F c,
MatrixReadable2x2FType m,
int row,
float r,
M out)
Scale row
r of the matrix m by r, saving the
result to row r of out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.scaleRowInPlace(MatrixM2x2F.ContextMM2F c,
M m,
int row,
float r)
Scale row
r of the matrix m by r, saving the
result to row r of m. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.setIdentity(M m)
Set the given matrix
m to the identity matrix. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.setZero(M m)
Set the given matrix
m to the zero matrix. |
static <M extends MatrixWritable2x2FType> |
MatrixM2x2F.transpose(MatrixReadable2x2FType m,
M out)
Transpose the given matrix
m, writing the resulting matrix to
out. |
static <M extends MatrixWritable2x2FType & MatrixReadable2x2FType> |
MatrixM2x2F.transposeInPlace(M m)
Transpose the given matrix
m, writing the resulting matrix to
m. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MatrixByteBuffered2x2FType
The type of
Matrix2x2FType values that are also byte
buffered. |
interface |
MatrixByteBuffered3x3FType
The type of
Matrix3x3FType values that are also byte
buffered. |
interface |
MatrixByteBuffered4x4FType
The type of
Matrix4x4FType values that are also byte
buffered. |
| Modifier and Type | Class and Description |
|---|---|
class |
MatrixByteBufferedM2x2F
A 2x2 matrix type with
float elements, packed into a ByteBuffer. |
class |
MatrixByteBufferedM3x3F
A 3x3 matrix type with
float elements, packed into a ByteBuffer. |
class |
MatrixByteBufferedM4x4F
A 4x4 matrix type with
float elements, packed into a ByteBuffer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PMatrixByteBuffered3x3FType<T0,T1>
The type of
PMatrix3x3FType values that are also byte
buffered. |
interface |
PMatrixByteBuffered4x4FType<T0,T1>
The type of
PMatrix4x4FType values that are also byte
buffered. |
| Modifier and Type | Class and Description |
|---|---|
class |
PMatrixByteBufferedM3x3F<T0,T1>
A 3x3 matrix type with
float elements, packed into a ByteBuffer. |
class |
PMatrixByteBufferedM4x4F<T0,T1>
A 4x4 matrix type with
float elements, packed into a ByteBuffer. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
PMatrix3x3FType<T0,T1>
The type of 3x3 matrices with
double elements. |
interface |
PMatrix4x4FType<T0,T1>
The type of 4x4 matrices with
float elements. |
interface |
PMatrixDirect3x3FType<T0,T1>
The type of 3x3 matrices with
float elements that are backed by
direct byte buffers. |
interface |
PMatrixDirect4x4FType<T0,T1>
The type of 4x4 matrices with
float elements that are backed by
direct byte buffers. |
interface |
PMatrixWritable2x2FType<T,U>
'Write' interface to 2x2 matrices with
float elements. |
interface |
PMatrixWritable3x3FType<T,U>
'Write' interface to 3x3 matrices with
float elements. |
interface |
PMatrixWritable4x4FType<T,U>
'Write' interface to 4x4 matrices with
float elements. |
| Modifier and Type | Class and Description |
|---|---|
class |
PMatrixDirectM3x3F<T0,T1>
The default implementation of the
PMatrixDirect3x3FType interface. |
class |
PMatrixDirectM4x4F<T0,T1>
The default implementation of the
PMatrixDirect4x4FType interface. |
class |
PMatrixHeapArrayM3x3F<T0,T1>
The default implementation of the
PMatrix3x3FType interface. |
class |
PMatrixHeapArrayM4x4F<T0,T1>
The default implementation of the
PMatrix4x4FType interface. |
Copyright © 2017 <code@io7m.com> http://io7m.com