Jampack
Class Print
- java.lang.Object
-
- Jampack.Print
-
public class Print extends java.lang.ObjectPrint 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.StringDoubletoEstring(double num, int w, int d)Converts a double to w.d e format.static voido(double a)Prints a double in default e format.static voido(double[] a)Prints an array of doubles in default e format.static voido(double[][] A)Prints a 2-dimensional array of doubles in default e format.static voido(double[][] A, int w, int d)Prints a 2-dimensional array of doubles in w.d e format.static voido(double[] a, int w, int d)Prints an array of doubles in w.d e format.static voido(double a, int w, int d)Prints a double in w.d e format.static voido(int k)Prints an int in default format.static voido(int[] ia)Prints an integer array in default format.static voido(int[] ia, int w)Prints an integer array in fields of width w.static voido(int k, int w)Prints and int in a field of width w.static voido(Z a)Prints a Z in default e format.static voido(Z[] a)Prints an array of Z's in default e format.static voido(Z[][] A)Prints a 2-dimensional array of Z in default e format.static voido(Z[][] A, int w, int d)Prints a 2-dimensional array of Z in w.d e format.static voido(Z[] a, int w, int d)Prints an array of Z's in w.d e format.static voido(Z1 z)Prints a Z1 in default format.static voido(Z1 z, int w, int d)Prints a Z1 in w.d e formatstatic voido(Zdiagmat D)Prints a Zdiagmat in default format.static voido(Zdiagmat D, int w, int d)Prints a Zdiagmat in w.d e format.static voido(Z a, int w, int d)Prints a Z in w.d e format.static voido(Zmat A)Prints a Zmat in default e format.static voido(Zmat A, int w, int d)Prints a Zmat in w.d e format.static java.lang.StringtoString(Zmat A, int w, int d)Prints a Zmat in w.d e format to String.static java.lang.StringZtoEstring(Z num, int w, int d)Converts a Z to w.d e format.
-
-
-
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