Module ojalgo

Class SparseLU.PermutationEta

java.lang.Object
org.ojalgo.matrix.decomposition.SparseLU.PermutationEta
All Implemented Interfaces:
InvertibleFactor<Double>, Mutate1D, Structure1D, Structure2D
Enclosing class:
SparseLU

static final class SparseLU.PermutationEta extends Object implements InvertibleFactor<Double>, Mutate1D
  • Field Details

    • myDim

      private final int myDim
    • myElements

      private final SparseArray<Double> myElements
    • myFrom

      private final int myFrom
    • myTo

      private final int myTo
  • Constructor Details

    • PermutationEta

      PermutationEta(int dim, int from, int to)
  • Method Details

    • btran

      public void btran(PhysicalStore<Double> arg)
      Description copied from interface: InvertibleFactor
      Backwards-transformation

      Solve [x]T[A] = [b]T (equivalent to [A]T[x] = [b]) by transforming [b] into [x] in-place.

      Specified by:
      btran in interface InvertibleFactor<Double>
      Parameters:
      arg - [b] transformed into [x]
    • ftran

      public void ftran(PhysicalStore<Double> arg)
      Description copied from interface: InvertibleFactor
      Forward-transformation

      Solve [A][x] = [b] by transforming [b] into [x] in-place.

      Specified by:
      ftran in interface InvertibleFactor<Double>
      Parameters:
      arg - [b] transformed into [x]
    • getColDim

      public int getColDim()
      Specified by:
      getColDim in interface Structure2D
      Returns:
      The number of columns
    • getRowDim

      public int getRowDim()
      Specified by:
      getRowDim in interface Structure2D
      Returns:
      The number of rows
    • reset

      public void reset()
      Description copied from interface: Mutate1D
      Reset this mutable structure to some standard (all zeros) initial state. It must still be usuable after this call, and the structure/size/shape must not change.
      Specified by:
      reset in interface Mutate1D
    • set

      public void set(int j, double value)
      Specified by:
      set in interface Mutate1D
    • set

      public void set(long index, Comparable<?> value)
      Specified by:
      set in interface Mutate1D