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