jmathlib.toolbox.jmathlib.matrix._private.Jampack
Class Eye

java.lang.Object
  extended by jmathlib.toolbox.jmathlib.matrix._private.Jampack.Eye

public class Eye
extends java.lang.Object

Eye generates a matrix whose diagonal elements are one and whose off diagonal elements are zero.


Constructor Summary
Eye()
           
 
Method Summary
static Zmat o(int n)
          Generates an identity matrix of order n.
static Zmat o(int m, int n)
          Generates an mxn matrix whose diagonal elements are one and whose off diagonal elements are zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Eye

public Eye()
Method Detail

o

public static Zmat o(int n)
Generates an identity matrix of order n.

Parameters:
n - The order of the matrx

o

public static Zmat o(int m,
                     int n)
Generates an mxn matrix whose diagonal elements are one and whose off diagonal elements are zero.

Parameters:
m - The number of rows in the matrix
n - The number of columns in the matrix

FOOTER

BOTTOM