Class InvertibleFactor.IdentityFactor<N extends Comparable<N>>

java.lang.Object
org.ojalgo.matrix.transformation.InvertibleFactor.IdentityFactor<N>
All Implemented Interfaces:
InvertibleFactor<N>, Structure1D, Structure2D
Enclosing interface:
InvertibleFactor<N extends Comparable<N>>

public static final class InvertibleFactor.IdentityFactor<N extends Comparable<N>> extends Object implements InvertibleFactor<N>
  • Field Details

    • myDim

      private final int myDim
  • Constructor Details

    • IdentityFactor

      IdentityFactor(int dim)
  • Method Details

    • btran

      public void btran(PhysicalStore<N> 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<N extends Comparable<N>>
      Parameters:
      arg - [b] transformed into [x]
    • ftran

      public void ftran(PhysicalStore<N> 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<N extends Comparable<N>>
      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