Package org.ojalgo.matrix.decomposition
Class LDL.ModifiedFactory<N extends java.lang.Comparable<N>>
- java.lang.Object
-
- org.ojalgo.matrix.decomposition.LDL.ModifiedFactory<N>
-
- All Implemented Interfaces:
LDL.Factory<N>
,MatrixDecomposition.Factory<LDL<N>>
public static final class LDL.ModifiedFactory<N extends java.lang.Comparable<N>> extends java.lang.Object implements LDL.Factory<N>
-
-
Field Summary
Fields Modifier and Type Field Description private LDL.Factory<N>
myDelegate
private N
myThreshold
-
Constructor Summary
Constructors Constructor Description ModifiedFactory(LDL.Factory<N> delegate, N threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LDL<N>
make(Structure2D typical)
Will create a new decomposition instance suitable for matrices of the specified size.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ojalgo.matrix.decomposition.LDL.Factory
modified
-
Methods inherited from interface org.ojalgo.matrix.decomposition.MatrixDecomposition.Factory
decompose, make, make
-
-
-
-
Field Detail
-
myDelegate
private final LDL.Factory<N extends java.lang.Comparable<N>> myDelegate
-
-
Constructor Detail
-
ModifiedFactory
ModifiedFactory(LDL.Factory<N> delegate, N threshold)
-
-
Method Detail
-
make
public LDL<N> make(Structure2D typical)
Description copied from interface:MatrixDecomposition.Factory
Will create a new decomposition instance suitable for matrices of the specified size.To calculate the decomposition you then need to call the
MatrixDecomposition.Factory.decompose(Access2D.Collectable)
method.- Specified by:
make
in interfaceMatrixDecomposition.Factory<N extends java.lang.Comparable<N>>
- Parameters:
typical
- A 2D structure of roughly the expected size with which this decomposition will be used.- Returns:
- A "decomposer" ready to decompose matrices.
-
-