|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJampack.Eye
public class Eye
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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Eye()
Method Detail |
---|
public static Zmat o(int n)
n
- The order of the matrxpublic static Zmat o(int m, int n)
m
- The number of rows in the matrixn
- The number of columns in the matrix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |