public class MagicSquareExample extends Object
Constructor and Description |
---|
MagicSquareExample() |
Modifier and Type | Method and Description |
---|---|
static String |
fixedWidthDoubletoString(double x,
int w,
int d)
Format double with Fw.d.
|
static String |
fixedWidthIntegertoString(int n,
int w)
Format integer with Iw.
|
static Matrix |
magic(int n)
Generate magic square test matrix.
|
static void |
main(String[] argv) |
public static Matrix magic(int n)
public static String fixedWidthDoubletoString(double x, int w, int d)
public static String fixedWidthIntegertoString(int n, int w)
public static void main(String[] argv)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics