Package org.ojalgo.array.operation
Class SubstituteForwards
java.lang.Object
org.ojalgo.array.operation.SubstituteForwards
- All Implemented Interfaces:
ArrayOperation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
invoke
(double[][] data, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) static void
invoke
(double[] data, int structure, int first, int limit, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) static void
invoke
(float[] data, int structure, int first, int limit, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) static <N extends Scalar<N>>
voidinvoke
(N[] data, int structure, int first, int limit, Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean identity, Scalar.Factory<N> scalar)
-
Field Details
-
THRESHOLD
public static int THRESHOLD
-
-
Constructor Details
-
SubstituteForwards
public SubstituteForwards()
-
-
Method Details
-
invoke
public static void invoke(double[] data, int structure, int first, int limit, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) - Parameters:
data
- RHS data that will be overwritten with the solutionstructure
- The structure (number of rows) in datafirst
- The first (incl) column/solution to handlelimit
- The last (excl) column/solution to handlebody
- The equation system body (assumed to be lower/left triangular)unitDiagonal
- Assume the body has a unit diagonalconjugated
- Assume the body is conjugated/transposed so that the lower/left part is actually stored in the upper/right part.identity
- Assume the RHS is an identity matrix (disregard the actual elements)
-
invoke
public static void invoke(double[][] data, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) - See Also:
-
invoke
public static void invoke(float[] data, int structure, int first, int limit, Access2D<?> body, boolean unitDiagonal, boolean conjugated, boolean identity) -
invoke
public static <N extends Scalar<N>> void invoke(N[] data, int structure, int first, int limit, Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean identity, Scalar.Factory<N> scalar) - See Also:
-