Uses of Class
org.ejml.data.FMatrix4x4
-
Uses of FMatrix4x4 in org.ejml.data
-
Uses of FMatrix4x4 in org.ejml.dense.fixed
Modifier and TypeMethodDescriptionstatic FMatrix4x4
CommonOps_FDF4.transpose
(FMatrix4x4 input, FMatrix4x4 output) Transposes matrix 'a' and stores the results in 'b':
bij = aji
where 'b' is the transpose of 'a'.Modifier and TypeMethodDescriptionstatic void
CommonOps_FDF4.add
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = a + b
cij = aij + bijstatic void
CommonOps_FDF4.addEquals
(FMatrix4x4 a, FMatrix4x4 b) Performs the following operation:
a = a + b
aij = aij + bijstatic void
CommonOps_FDF4.changeSign
(FMatrix4x4 a) Changes the sign of every element in the matrix.
aij = -aijstatic boolean
CommonOps_FDF4.cholL
(FMatrix4x4 A) Performs a lower Cholesky decomposition of matrix 'A' and stores result in A.static boolean
CommonOps_FDF4.cholU
(FMatrix4x4 A) Performs an upper Cholesky decomposition of matrix 'A' and stores result in A.static float
CommonOps_FDF4.det
(FMatrix4x4 mat) Computes the determinant using minor matrices.
WARNING: Potentially less stable than using LU decomposition.static void
CommonOps_FDF4.diag
(FMatrix4x4 input, FMatrix4 out) Extracts all diagonal elements from 'input' and places them inside the 'out' vector.static void
CommonOps_FDF4.divide
(FMatrix4x4 a, float alpha) Performs an in-place element by element scalar division.static void
CommonOps_FDF4.divide
(FMatrix4x4 a, float alpha, FMatrix4x4 b) Performs an element by element scalar division.static void
CommonOps_FDF4.elementDiv
(FMatrix4x4 a, FMatrix4x4 b) Performs an element by element division operation:
aij = aij / bijstatic void
CommonOps_FDF4.elementDiv
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs an element by element division operation:
cij = aij / bijstatic float
CommonOps_FDF4.elementMax
(FMatrix4x4 a) Returns the value of the element in the matrix that has the largest value.
Max{ aij } for all i and jstatic float
CommonOps_FDF4.elementMaxAbs
(FMatrix4x4 a) Returns the absolute value of the element in the matrix that has the largest absolute value.
Max{ |aij| } for all i and jstatic float
CommonOps_FDF4.elementMin
(FMatrix4x4 a) Returns the value of the element in the matrix that has the minimum value.
Min{ aij } for all i and jstatic float
CommonOps_FDF4.elementMinAbs
(FMatrix4x4 a) Returns the absolute value of the element in the matrix that has the smallest absolute value.
Min{ |aij| } for all i and jstatic void
CommonOps_FDF4.elementMult
(FMatrix4x4 a, FMatrix4x4 b) Performs an element by element multiplication operation:
aij = aij * bijstatic void
CommonOps_FDF4.elementMult
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs an element by element multiplication operation:
cij = aij * bijstatic FMatrix4
CommonOps_FDF4.extractColumn
(FMatrix4x4 a, int column, FMatrix4 out) Extracts the column from the matrix a.static FMatrix4
CommonOps_FDF4.extractRow
(FMatrix4x4 a, int row, FMatrix4 out) Extracts the row from the matrix a.static float
NormOps_FDF4.fastNormF
(FMatrix4x4 M) static void
CommonOps_FDF4.fill
(FMatrix4x4 a, float v) Sets every element in the matrix to the specified value.
aij = valuestatic boolean
MatrixFeatures_FDF4.hasUncountable
(FMatrix4x4 a) static boolean
CommonOps_FDF4.invert
(FMatrix4x4 a, FMatrix4x4 inv) Inverts matrix 'a' using minor matrices and stores the results in 'inv'.static boolean
MatrixFeatures_FDF4.isIdentical
(FMatrix4x4 a, FMatrix4x4 b, float tol) static void
CommonOps_FDF4.mult
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = α * a * b
cij = α ∑k=1:n { aik * bkj}static void
CommonOps_FDF4.mult
(FMatrix4 a, FMatrix4x4 b, FMatrix4 c) Performs vector to matrix multiplication:
c = a * b
cj = ∑k=1:n { bk * akj }static void
CommonOps_FDF4.mult
(FMatrix4x4 a, FMatrix4 b, FMatrix4 c) Performs matrix to vector multiplication:
c = a * b
ci = ∑k=1:n { aik * bk}static void
CommonOps_FDF4.mult
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = a * b
cij = ∑k=1:n { aik * bkj}static void
CommonOps_FDF4.multAdd
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += α * a * b
cij += α ∑k=1:n { aik * bkj}static void
CommonOps_FDF4.multAdd
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += a * b
cij += ∑k=1:n { aik * bkj}static void
CommonOps_FDF4.multAddOuter
(float alpha, FMatrix4x4 A, float beta, FMatrix4 u, FMatrix4 v, FMatrix4x4 C) C = αA + βu*vTstatic void
CommonOps_FDF4.multAddTransA
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += α * aT * b
cij += α * ∑k=1:n { aki * bkj}static void
CommonOps_FDF4.multAddTransA
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += aT * b
cij += ∑k=1:n { aki * bkj}static void
CommonOps_FDF4.multAddTransAB
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += α*aT * bT
cij += α*∑k=1:n { aki * bjk}static void
CommonOps_FDF4.multAddTransAB
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += aT * bT
cij += ∑k=1:n { aki * bjk}static void
CommonOps_FDF4.multAddTransB
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += α * a * bT
cij += α*∑k=1:n { aik * bjk}static void
CommonOps_FDF4.multAddTransB
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c += a * bT
cij += ∑k=1:n { aik * bjk}static void
CommonOps_FDF4.multTransA
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = α * aT * b
cij = α * ∑k=1:n { aki * bkj}static void
CommonOps_FDF4.multTransA
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = aT * b
cij = ∑k=1:n { aki * bkj}static void
CommonOps_FDF4.multTransAB
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = α*aT * bT
cij = α*∑k=1:n { aki * bjk}static void
CommonOps_FDF4.multTransAB
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = aT * bT
cij = ∑k=1:n { aki * bjk}static void
CommonOps_FDF4.multTransB
(float alpha, FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = α * a * bT
cij = α*∑k=1:n { aik * bjk}static void
CommonOps_FDF4.multTransB
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = a * bT
cij = ∑k=1:n { aik * bjk}static void
NormOps_FDF4.normalizeF
(FMatrix4x4 M) static float
NormOps_FDF4.normF
(FMatrix4x4 M) static void
CommonOps_FDF4.scale
(float alpha, FMatrix4x4 a) Performs an in-place element by element scalar multiplication.
aij = α*aijstatic void
CommonOps_FDF4.scale
(float alpha, FMatrix4x4 a, FMatrix4x4 b) Performs an element by element scalar multiplication.
bij = α*aijstatic void
CommonOps_FDF4.setIdentity
(FMatrix4x4 a) Sets all the diagonal elements equal to one and everything else equal to zero.static void
CommonOps_FDF4.subtract
(FMatrix4x4 a, FMatrix4x4 b, FMatrix4x4 c) Performs the following operation:
c = a - b
cij = aij - bijstatic void
CommonOps_FDF4.subtractEquals
(FMatrix4x4 a, FMatrix4x4 b) Performs the following operation:
a = a - b
aij = aij - bijstatic float
CommonOps_FDF4.trace
(FMatrix4x4 a) This computes the trace of the matrix:
trace = ∑i=1:n { aii }static void
CommonOps_FDF4.transpose
(FMatrix4x4 m) Performs an in-place transpose.static FMatrix4x4
CommonOps_FDF4.transpose
(FMatrix4x4 input, FMatrix4x4 output) Transposes matrix 'a' and stores the results in 'b':
bij = aji
where 'b' is the transpose of 'a'. -
Uses of FMatrix4x4 in org.ejml.ops
Modifier and TypeMethodDescriptionstatic FMatrix4x4
FConvertMatrixStruct.convert
(FMatrixRMaj input, @Nullable FMatrix4x4 output) ConvertsFMatrixRMaj
intoFMatrix4x4
Modifier and TypeMethodDescriptionstatic void
ConvertMatrixData.convert
(DMatrix4x4 src, FMatrix4x4 dst) static void
ConvertMatrixData.convert
(FMatrix4x4 src, DMatrix4x4 dst) static FMatrixRMaj
FConvertMatrixStruct.convert
(FMatrix4x4 input, @Nullable FMatrixRMaj output) ConvertsFMatrix4x4
intoFMatrixRMaj
.static FMatrix4x4
FConvertMatrixStruct.convert
(FMatrixRMaj input, @Nullable FMatrix4x4 output) ConvertsFMatrixRMaj
intoFMatrix4x4