| Package | Description |
|---|---|
| com.io7m.jtensors |
Core vector and matrix types.
|
| Modifier and Type | Method and Description |
|---|---|
static <M extends MatrixWritable4x4FType> |
MatrixM4x4F.addRowScaled(MatrixM4x4F.ContextMM4F context,
MatrixReadable4x4FType 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 MatrixWritable4x4FType & MatrixReadable4x4FType> |
MatrixM4x4F.addRowScaledInPlace(MatrixM4x4F.ContextMM4F context,
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 MatrixWritable4x4FType> |
MatrixM4x4F.exchangeRows(MatrixM4x4F.ContextMM4F context,
MatrixReadable4x4FType 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 MatrixWritable4x4FType & MatrixReadable4x4FType> |
MatrixM4x4F.exchangeRowsInPlace(MatrixM4x4F.ContextMM4F context,
M m,
int row_a,
int row_b)
Exchange the row
row_a and row row_b of the matrix
m, saving the exchanged rows to m. |
static <M extends MatrixWritable4x4FType> |
MatrixM4x4F.invert(MatrixM4x4F.ContextMM4F context,
MatrixReadable4x4FType m,
M out)
Calculate the inverse of the matrix
m, saving the resulting matrix
to out. |
static <M extends MatrixWritable4x4FType & MatrixReadable4x4FType> |
MatrixM4x4F.invertInPlace(MatrixM4x4F.ContextMM4F context,
M m)
Calculate the inverse of the matrix
m, saving the resulting matrix
to m. |
static <M extends MatrixWritable4x4FType> |
MatrixM4x4F.lookAt(MatrixM4x4F.ContextMM4F context,
VectorReadable3FType origin,
VectorReadable3FType target,
VectorReadable3FType up,
M out_matrix)
Calculate a matrix representing a "camera" looking from the point
origin to the point target. |
static <V extends VectorWritable4FType> |
MatrixM4x4F.multiplyVector4F(MatrixM4x4F.ContextMM4F context,
MatrixReadable4x4FType m,
VectorReadable4FType v,
V out)
Multiply the matrix
m with the vector v, writing the
resulting vector to out. |
static <M extends MatrixWritable4x4FType> |
MatrixM4x4F.scaleRow(MatrixM4x4F.ContextMM4F context,
MatrixReadable4x4FType m,
int row,
double r,
M out)
Scale row
row of the matrix m by r , saving the
result to row r of out. |
static <M extends MatrixWritable4x4FType & MatrixReadable4x4FType> |
MatrixM4x4F.scaleRowInPlace(MatrixM4x4F.ContextMM4F context,
M m,
int row,
double r)
Scale row
row of the matrix m by r , saving the
result to row r of m. |
Copyright © 2016 <code@io7m.com> http://io7m.com