IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
DotNetMatrix.examples.MagicSquareExample Class Reference

Example of use of GeneralMatrix Class, featuring magic squares. * More...

Static Public Member Functions

static GeneralMatrix magic (int n)
 Generate magic square test matrix. * More...
 
static System.String fixedWidthDoubletoString (double x, int w, int d)
 Format double with Fw.d. * More...
 
static System.String fixedWidthIntegertoString (int n, int w)
 Format integer with Iw. * More...
 
static void Main (System.String[] argv)
 
static GeneralMatrix magic (int n)
 Generate magic square test matrix. * More...
 
static System.String fixedWidthDoubletoString (double x, int w, int d)
 Format double with Fw.d. * More...
 
static System.String fixedWidthIntegertoString (int n, int w)
 Format integer with Iw. * More...
 
static void Main (System.String[] argv)
 

Static Private Member Functions

static void print (System.String s)
 Shorten spelling of print. * More...
 
static void print (System.String s)
 Shorten spelling of print. * More...
 

Detailed Description

Example of use of GeneralMatrix Class, featuring magic squares. *

Member Function Documentation

static GeneralMatrix DotNetMatrix.examples.MagicSquareExample.magic ( int  n)
inlinestatic

Generate magic square test matrix. *

References DotNetMatrix.GeneralMatrix.GetElement().

static void DotNetMatrix.examples.MagicSquareExample.print ( System.String  s)
inlinestaticprivate

Shorten spelling of print. *

static System.String DotNetMatrix.examples.MagicSquareExample.fixedWidthDoubletoString ( double  x,
int  w,
int  d 
)
inlinestatic

Format double with Fw.d. *

static System.String DotNetMatrix.examples.MagicSquareExample.fixedWidthIntegertoString ( int  n,
int  w 
)
inlinestatic

Format integer with Iw. *

static GeneralMatrix DotNetMatrix.examples.MagicSquareExample.magic ( int  n)
inlinestatic

Generate magic square test matrix. *

References DotNetMatrix.GeneralMatrix.GetElement().

static void DotNetMatrix.examples.MagicSquareExample.print ( System.String  s)
inlinestaticprivate

Shorten spelling of print. *

static System.String DotNetMatrix.examples.MagicSquareExample.fixedWidthDoubletoString ( double  x,
int  w,
int  d 
)
inlinestatic

Format double with Fw.d. *

static System.String DotNetMatrix.examples.MagicSquareExample.fixedWidthIntegertoString ( int  n,
int  w 
)
inlinestatic

Format integer with Iw. *


The documentation for this class was generated from the following file: