Jampack
Class Eye
- java.lang.Object
-
- Jampack.Eye
-
public class Eye extends java.lang.ObjectEye generates a matrix whose diagonal elements are one and whose off diagonal elements are zero.
-
-
Constructor Summary
Constructors Constructor and Description Eye()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static Zmato(int n)Generates an identity matrix of order n.static Zmato(int m, int n)Generates an mxn matrix whose diagonal elements are one and whose off diagonal elements are zero.
-
-
-
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 matrixn- The number of columns in the matrix
-
-
DMelt 3.0 © DataMelt by jWork.ORG