Class SubstituteForwards

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int THRESHOLD  
    • 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>>
      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 Detail

      • THRESHOLD

        public static int THRESHOLD
    • Constructor Detail

      • SubstituteForwards

        public SubstituteForwards()
    • 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 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​(float[] data,
                                  int structure,
                                  int first,
                                  int limit,
                                  Access2D<?> body,
                                  boolean unitDiagonal,
                                  boolean conjugated,
                                  boolean identity)