Documentation of 'Jampack.Print' Java class
Print
Jampack

Class Print



  • public class Print
    extends java.lang.Object
    Print prints numbers, matrices, and arrays. All floating-point numbers are printed in e format with field width w and d figures to the left of the right of the decimal point. For the defaults see Parameters .
    • Constructor Summary

      Constructors 
      Constructor and Description
      Print() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String DoubletoEstring(double num, int w, int d)
      Converts a double to w.d e format.
      static void o(double a)
      Prints a double in default e format.
      static void o(double[] a)
      Prints an array of doubles in default e format.
      static void o(double[][] A)
      Prints a 2-dimensional array of doubles in default e format.
      static void o(double[][] A, int w, int d)
      Prints a 2-dimensional array of doubles in w.d e format.
      static void o(double[] a, int w, int d)
      Prints an array of doubles in w.d e format.
      static void o(double a, int w, int d)
      Prints a double in w.d e format.
      static void o(int k)
      Prints an int in default format.
      static void o(int[] ia)
      Prints an integer array in default format.
      static void o(int[] ia, int w)
      Prints an integer array in fields of width w.
      static void o(int k, int w)
      Prints and int in a field of width w.
      static void o(Z a)
      Prints a Z in default e format.
      static void o(Z[] a)
      Prints an array of Z's in default e format.
      static void o(Z[][] A)
      Prints a 2-dimensional array of Z in default e format.
      static void o(Z[][] A, int w, int d)
      Prints a 2-dimensional array of Z in w.d e format.
      static void o(Z[] a, int w, int d)
      Prints an array of Z's in w.d e format.
      static void o(Z1 z)
      Prints a Z1 in default format.
      static void o(Z1 z, int w, int d)
      Prints a Z1 in w.d e format
      static void o(Zdiagmat D)
      Prints a Zdiagmat in default format.
      static void o(Zdiagmat D, int w, int d)
      Prints a Zdiagmat in w.d e format.
      static void o(Z a, int w, int d)
      Prints a Z in w.d e format.
      static void o(Zmat A)
      Prints a Zmat in default e format.
      static void o(Zmat A, int w, int d)
      Prints a Zmat in w.d e format.
      static java.lang.String toString(Zmat A, int w, int d)
      Prints a Zmat in w.d e format to String.
      static java.lang.String ZtoEstring(Z num, int w, int d)
      Converts a Z to w.d e format.
      • Methods inherited from class java.lang.Object

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

      • Print

        public Print()
    • Method Detail

      • o

        public static void o(int k)
        Prints an int in default format.
      • o

        public static void o(int k,
                             int w)
        Prints and int in a field of width w.
      • o

        public static void o(int[] ia)
        Prints an integer array in default format.
      • o

        public static void o(int[] ia,
                             int w)
        Prints an integer array in fields of width w.
      • o

        public static void o(double a)
        Prints a double in default e format.
      • o

        public static void o(double a,
                             int w,
                             int d)
        Prints a double in w.d e format.
      • o

        public static void o(double[] a)
        Prints an array of doubles in default e format.
      • o

        public static void o(double[] a,
                             int w,
                             int d)
        Prints an array of doubles in w.d e format.
      • o

        public static void o(double[][] A)
        Prints a 2-dimensional array of doubles in default e format.
      • o

        public static void o(double[][] A,
                             int w,
                             int d)
        Prints a 2-dimensional array of doubles in w.d e format.
      • o

        public static void o(Z a)
        Prints a Z in default e format.
      • o

        public static void o(Z a,
                             int w,
                             int d)
        Prints a Z in w.d e format.
      • o

        public static void o(Z[] a)
        Prints an array of Z's in default e format.
      • o

        public static void o(Z[] a,
                             int w,
                             int d)
        Prints an array of Z's in w.d e format.
      • o

        public static void o(Z[][] A)
        Prints a 2-dimensional array of Z in default e format.
      • o

        public static void o(Z[][] A,
                             int w,
                             int d)
        Prints a 2-dimensional array of Z in w.d e format.
      • o

        public static void o(Z1 z)
        Prints a Z1 in default format.
      • o

        public static void o(Z1 z,
                             int w,
                             int d)
        Prints a Z1 in w.d e format
      • o

        public static void o(Zmat A)
        Prints a Zmat in default e format.
      • o

        public static void o(Zmat A,
                             int w,
                             int d)
        Prints a Zmat in w.d e format. This method checks to see if the Zmat is real, in which case it prints only the real part.
      • toString

        public static java.lang.String toString(Zmat A,
                                                int w,
                                                int d)
        Prints a Zmat in w.d e format to String. This method checks to see if the Zmat is real, in which case it prints only the real part.
        Returns:
        output string
      • o

        public static void o(Zdiagmat D)
        Prints a Zdiagmat in default format.
      • o

        public static void o(Zdiagmat D,
                             int w,
                             int d)
        Prints a Zdiagmat in w.d e format.
      • DoubletoEstring

        public static java.lang.String DoubletoEstring(double num,
                                                       int w,
                                                       int d)
        Converts a double to w.d e format.
      • ZtoEstring

        public static java.lang.String ZtoEstring(Z num,
                                                  int w,
                                                  int d)
        Converts a Z to w.d e format.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.