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