| Package | Description |
|---|---|
| com.io7m.jtensors |
| Modifier and Type | Method and Description |
|---|---|
static MatrixM2x2F |
MatrixM2x2F.add(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
MatrixM2x2F out)
Elementwise add of matrices
m0 and m1. |
static MatrixM2x2F |
MatrixM2x2F.addInPlace(MatrixM2x2F m0,
MatrixReadable2x2FType m1)
Elementwise add of matrices
m0 and m1,
returning the result in m0. |
static MatrixM2x2F |
MatrixM2x2F.addRowScaled(MatrixReadable2x2FType m,
int row_a,
int row_b,
int row_c,
float r,
MatrixM2x2F 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 MatrixM2x2F |
MatrixM2x2F.addRowScaledInPlace(MatrixM2x2F 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 MatrixM2x2F |
MatrixM2x2F.copy(MatrixReadable2x2FType input,
MatrixM2x2F output)
Copy the contents of the matrix
input to the matrix
output, completely replacing all elements. |
static MatrixM2x2F |
MatrixM2x2F.exchangeRows(MatrixReadable2x2FType m,
int row_a,
int row_b,
MatrixM2x2F out)
Exchange two rows
row_a and row row_b of the
matrix m, saving the exchanged rows to out. |
static MatrixM2x2F |
MatrixM2x2F.exchangeRowsInPlace(MatrixM2x2F 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 MatrixM2x2F |
MatrixM2x2F.multiply(MatrixM2x2F m0,
MatrixReadable2x2FType m1)
Multiply the matrix
m0 with the matrix m1,
writing the result to m0. |
static MatrixM2x2F |
MatrixM2x2F.multiply(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
MatrixM2x2F out)
Multiply the matrix
m0 with the matrix m1,
writing the result to out. |
static MatrixM2x2F |
MatrixM2x2F.scale(MatrixM2x2F m,
float r)
Scale all elements of the matrix
m by the scaling value
r, saving the result in m. |
static MatrixM2x2F |
MatrixM2x2F.scale(MatrixReadable2x2FType m,
float r,
MatrixM2x2F out)
Scale all elements of the matrix
m by the scaling value
r, saving the result in out. |
static MatrixM2x2F |
MatrixM2x2F.scaleRow(MatrixM2x2F m,
int row,
float r)
Scale row
r of the matrix m by r,
saving the result to row r of m. |
static MatrixM2x2F |
MatrixM2x2F.scaleRow(MatrixReadable2x2FType m,
int row,
float r,
MatrixM2x2F out)
Scale row
r of the matrix m by r,
saving the result to row r of out. |
MatrixM2x2F |
MatrixM2x2F.set(int row,
int column,
float value) |
static MatrixM2x2F |
MatrixM2x2F.set(MatrixM2x2F m,
int row,
int column,
float value)
Set the value in the matrix
m at row row,
column column to value. |
static MatrixM2x2F |
MatrixM2x2F.setIdentity(MatrixM2x2F m)
Set the given matrix
m to the identity matrix. |
static MatrixM2x2F |
MatrixM2x2F.setZero(MatrixM2x2F m)
Set the given matrix
m to the zero matrix. |
static MatrixM2x2F |
MatrixM2x2F.transpose(MatrixM2x2F m)
Transpose the given matrix
m, writing the resulting matrix
to m. |
static MatrixM2x2F |
MatrixM2x2F.transpose(MatrixReadable2x2FType m,
MatrixM2x2F out)
Transpose the given matrix
m, writing the resulting matrix
to out. |
| Modifier and Type | Method and Description |
|---|---|
static com.io7m.jfunctional.OptionType<MatrixM2x2F> |
MatrixM2x2F.invert(MatrixReadable2x2FType m,
MatrixM2x2F out)
Calculate the inverse of the matrix
m, saving the resulting
matrix to out. |
static com.io7m.jfunctional.OptionType<MatrixM2x2F> |
MatrixM2x2F.invertInPlace(MatrixM2x2F m)
Calculate the inverse of the matrix
m, saving the resulting
matrix to m. |
| Modifier and Type | Method and Description |
|---|---|
static MatrixM2x2F |
MatrixM2x2F.add(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
MatrixM2x2F out)
Elementwise add of matrices
m0 and m1. |
static MatrixM2x2F |
MatrixM2x2F.addInPlace(MatrixM2x2F m0,
MatrixReadable2x2FType m1)
Elementwise add of matrices
m0 and m1,
returning the result in m0. |
static MatrixM2x2F |
MatrixM2x2F.addRowScaled(MatrixReadable2x2FType m,
int row_a,
int row_b,
int row_c,
float r,
MatrixM2x2F 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 MatrixM2x2F |
MatrixM2x2F.addRowScaledInPlace(MatrixM2x2F 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 MatrixM2x2F |
MatrixM2x2F.copy(MatrixReadable2x2FType input,
MatrixM2x2F output)
Copy the contents of the matrix
input to the matrix
output, completely replacing all elements. |
static MatrixM2x2F |
MatrixM2x2F.exchangeRows(MatrixReadable2x2FType m,
int row_a,
int row_b,
MatrixM2x2F out)
Exchange two rows
row_a and row row_b of the
matrix m, saving the exchanged rows to out. |
static MatrixM2x2F |
MatrixM2x2F.exchangeRowsInPlace(MatrixM2x2F 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 FloatBuffer |
MatrixM2x2F.floatBuffer(MatrixM2x2F m) |
static com.io7m.jfunctional.OptionType<MatrixM2x2F> |
MatrixM2x2F.invert(MatrixReadable2x2FType m,
MatrixM2x2F out)
Calculate the inverse of the matrix
m, saving the resulting
matrix to out. |
static com.io7m.jfunctional.OptionType<MatrixM2x2F> |
MatrixM2x2F.invertInPlace(MatrixM2x2F m)
Calculate the inverse of the matrix
m, saving the resulting
matrix to m. |
static MatrixM2x2F |
MatrixM2x2F.multiply(MatrixM2x2F m0,
MatrixReadable2x2FType m1)
Multiply the matrix
m0 with the matrix m1,
writing the result to m0. |
static MatrixM2x2F |
MatrixM2x2F.multiply(MatrixReadable2x2FType m0,
MatrixReadable2x2FType m1,
MatrixM2x2F out)
Multiply the matrix
m0 with the matrix m1,
writing the result to out. |
static MatrixM2x2F |
MatrixM2x2F.scale(MatrixM2x2F m,
float r)
Scale all elements of the matrix
m by the scaling value
r, saving the result in m. |
static MatrixM2x2F |
MatrixM2x2F.scale(MatrixReadable2x2FType m,
float r,
MatrixM2x2F out)
Scale all elements of the matrix
m by the scaling value
r, saving the result in out. |
static MatrixM2x2F |
MatrixM2x2F.scaleRow(MatrixM2x2F m,
int row,
float r)
Scale row
r of the matrix m by r,
saving the result to row r of m. |
static MatrixM2x2F |
MatrixM2x2F.scaleRow(MatrixReadable2x2FType m,
int row,
float r,
MatrixM2x2F out)
Scale row
r of the matrix m by r,
saving the result to row r of out. |
static MatrixM2x2F |
MatrixM2x2F.set(MatrixM2x2F m,
int row,
int column,
float value)
Set the value in the matrix
m at row row,
column column to value. |
static MatrixM2x2F |
MatrixM2x2F.setIdentity(MatrixM2x2F m)
Set the given matrix
m to the identity matrix. |
static MatrixM2x2F |
MatrixM2x2F.setZero(MatrixM2x2F m)
Set the given matrix
m to the zero matrix. |
static MatrixM2x2F |
MatrixM2x2F.transpose(MatrixM2x2F m)
Transpose the given matrix
m, writing the resulting matrix
to m. |
static MatrixM2x2F |
MatrixM2x2F.transpose(MatrixReadable2x2FType m,
MatrixM2x2F out)
Transpose the given matrix
m, writing the resulting matrix
to out. |
Copyright © 2014 <code@io7m.com> http://io7m.com