Package org.ojalgo.array.operation
Class SubstituteForwards
- java.lang.Object
-
- org.ojalgo.array.operation.SubstituteForwards
-
- All Implemented Interfaces:
ArrayOperation
public abstract class SubstituteForwards extends java.lang.Object implements ArrayOperation
-
-
Field Summary
Fields Modifier and Type Field Description static int
THRESHOLD
-
Constructor Summary
Constructors Constructor Description SubstituteForwards()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
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)
-
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)
-
-