Module ojalgo

Class SparseLU.PermutationEta

    • Field Detail

      • myDim

        private final int myDim
      • myElements

        private final SparseArray<java.lang.Double> myElements
      • myFrom

        private final int myFrom
      • myTo

        private final int myTo
    • Constructor Detail

      • PermutationEta

        PermutationEta​(int dim,
                       int from,
                       int to)
    • Method Detail

      • btran

        public void btran​(PhysicalStore<java.lang.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<java.lang.Double>
        Parameters:
        arg - [b] transformed into [x]
      • ftran

        public void ftran​(PhysicalStore<java.lang.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<java.lang.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,
                        java.lang.Comparable<?> value)
        Specified by:
        set in interface Mutate1D