|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.ojalgo.matrix.jama.MagicSquareExample
public class MagicSquareExample
Example of use of Matrix Class, featuring magic squares.
| Constructor Summary | |
|---|---|
MagicSquareExample()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MagicSquareExample()
| Method Detail |
|---|
public static String fixedWidthDoubletoString(double x,
int w,
int d)
public static String fixedWidthIntegertoString(int n,
int w)
public static Matrix magic(int n)
public static void main(String[] argv)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||