| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
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.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 <V extends VectorWritable2FType> |
MatrixM2x2F.multiplyVector2F(MatrixM2x2F.ContextMM2F c,
MatrixReadable2x2FType m,
VectorReadable2FType v,
V out)
Multiply the matrix
m with the vector v, writing the
resulting vector to out. |
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. |
Copyright © 2017 <code@io7m.com> http://io7m.com