Class SubstituteForwards

java.lang.Object
org.ojalgo.array.operation.SubstituteForwards
All Implemented Interfaces:
ArrayOperation

public abstract class SubstituteForwards extends Object implements ArrayOperation
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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>>
    void
    invoke(N[] data, int structure, int first, int limit, Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean identity, Scalar.Factory<N> scalar)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 solution
      structure - The structure (number of rows) in data
      first - The first (incl) column/solution to handle
      limit - The last (excl) column/solution to handle
      body - The equation system body (assumed to be lower/left triangular)
      unitDiagonal - Assume the body has a unit diagonal
      conjugated - 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: