|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcuda.utils.Print
public class Print
Utility methods for creating formatted String representations of 1D- 2D- and 3D arrays
| Method Summary | |
|---|---|
static java.lang.String |
toString1D(float[] a)
Creates a String representation of the given array, using the default format string for its elements. |
static java.lang.String |
toString1D(float[] a,
java.lang.String format)
Creates a String representation of the given array, using the given format string for its elements. |
static java.lang.String |
toString2D(float[][] a)
Creates a String representation of the given array, using the default format string for its elements. |
static java.lang.String |
toString2D(float[][] a,
java.lang.String format)
Creates a String representation of the given array, using the given format string for its elements. |
static java.lang.String |
toString2D(float[] a,
int columns)
Creates a String representation of the given array, using the default format string for its elements. |
static java.lang.String |
toString2D(float[] a,
int columns,
java.lang.String format)
Creates a String representation of the given array, using the given format string for its elements. |
static java.lang.String |
toString3D(float[][][] a)
Creates a String representation of the given array, using the default format string for its elements. |
static java.lang.String |
toString3D(float[][][] a,
java.lang.String format)
Creates a String representation of the given array, using the given format string for its elements. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String toString1D(float[] a)
a - The array
public static java.lang.String toString1D(float[] a,
java.lang.String format)
a - The arrayformat - The format string
public static java.lang.String toString2D(float[] a,
int columns)
a - The arraycolumns - The number of columns
public static java.lang.String toString2D(float[] a,
int columns,
java.lang.String format)
a - The arraycolumns - The number of columnsformat - The format string
public static java.lang.String toString2D(float[][] a)
a - The array
public static java.lang.String toString2D(float[][] a,
java.lang.String format)
a - The arrayformat - The format string
public static java.lang.String toString3D(float[][][] a)
a - The array
public static java.lang.String toString3D(float[][][] a,
java.lang.String format)
a - The arrayformat - The format string
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||