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