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