| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static <M extends MatrixWritable2x2DType> |
MatrixM2x2D.addRowScaled(MatrixM2x2D.ContextMM2D c,
MatrixReadable2x2DType m,
int row_a,
int row_b,
int row_c,
double 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 MatrixWritable2x2DType & MatrixReadable2x2DType> |
MatrixM2x2D.addRowScaledInPlace(MatrixM2x2D.ContextMM2D c,
M 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 <M extends MatrixWritable2x2DType> |
MatrixM2x2D.exchangeRows(MatrixM2x2D.ContextMM2D c,
MatrixReadable2x2DType 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 MatrixWritable2x2DType & MatrixReadable2x2DType> |
MatrixM2x2D.exchangeRowsInPlace(MatrixM2x2D.ContextMM2D 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 VectorWritable2DType> |
MatrixM2x2D.multiplyVector2D(MatrixM2x2D.ContextMM2D c,
MatrixReadable2x2DType m,
VectorReadable2DType v,
V out)
Multiply the matrix
m with the vector v, writing the
resulting vector to out. |
static <M extends MatrixWritable2x2DType> |
MatrixM2x2D.scaleRow(MatrixM2x2D.ContextMM2D c,
MatrixReadable2x2DType m,
int row,
double r,
M out)
Scale row
r of the matrix m by r, saving the
result to row r of out. |
static <M extends MatrixWritable2x2DType & MatrixReadable2x2DType> |
MatrixM2x2D.scaleRowInPlace(MatrixM2x2D.ContextMM2D c,
M m,
int row,
double r)
Scale row
r of the matrix m by r, saving the
result to row r of m. |
Copyright © 2015 <code@io7m.com> http://io7m.com