Documentation of 'Jampack.Swap' Java class
Swap
Jampack

Class Swap



  • public class Swap
    extends java.lang.Object
    Swap interchanges rows and columns of a matrix.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Swap() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void cols(Zmat A, int c1, int c2)
      Interchances two columns of a Zmat (altered).
      static void rows(Zmat A, int r1, int r2)
      Interchances two rows of a Zmat (altered).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Swap

        public Swap()
    • Method Detail

      • rows

        public static void rows(Zmat A,
                                int r1,
                                int r2)
                         throws JampackException
        Interchances two rows of a Zmat (altered).
        Parameters:
        A - The Zmat (altered)
        r1 - The index of the first row
        r2 - The index of the second row
        Throws:
        JampackException - Thrown for inconsistent row indices.
      • cols

        public static void cols(Zmat A,
                                int c1,
                                int c2)
                         throws JampackException
        Interchances two columns of a Zmat (altered).
        Parameters:
        A - The Zmat (altered)
        c1 - The index of the first column
        c2 - The index of the second column
        Throws:
        JampackException - Thrown for inconsistent column indices.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.