Package org.ejml.dense.row.decomposition
Class UtilDecompositons_DDRM
java.lang.Object
org.ejml.dense.row.decomposition.UtilDecompositons_DDRM
Helper functions for generic decompsotions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DMatrixRMaj
checkZerosLT
(@Nullable DMatrixRMaj A, int numRows, int numCols) Creates a zeros matrix only if A does not already exist.static DMatrixRMaj
checkZerosUT
(@Nullable DMatrixRMaj A, int numRows, int numCols) Creates a zeros matrix only if A does not already exist.static DMatrixRMaj
ensureIdentity
(@Nullable DMatrixRMaj A, int numRows, int numCols) static DMatrixRMaj
ensureZeros
(@Nullable DMatrixRMaj A, int numRows, int numCols)
-
Constructor Details
-
UtilDecompositons_DDRM
public UtilDecompositons_DDRM()
-
-
Method Details
-
ensureIdentity
public static DMatrixRMaj ensureIdentity(@Nullable @Nullable DMatrixRMaj A, int numRows, int numCols) -
ensureZeros
-
checkZerosLT
Creates a zeros matrix only if A does not already exist. If it does exist it will fill the lower triangular portion with zeros. -
checkZerosUT
Creates a zeros matrix only if A does not already exist. If it does exist it will fill the upper triangular portion with zeros.
-