|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.matrix.io.MatrixInfo
public class MatrixInfo
Contains information on a matrix in the Matrix Market exchange format. Supports all valid matrices.
Nested Class Summary | |
---|---|
static class |
MatrixInfo.MatrixField
What kind of numbers are stored |
static class |
MatrixInfo.MatrixSymmetry
Symmetry structure of the matrix, if any |
Constructor Summary | |
---|---|
MatrixInfo(boolean sparse,
MatrixInfo.MatrixField field,
MatrixInfo.MatrixSymmetry symmetry)
Creates a specific type |
Method Summary | |
---|---|
boolean |
isArray()
Returns true if the matrix is in array format, else
false |
boolean |
isComplex()
Returns true if the matrix stores complex numbers, else
false |
boolean |
isCoordinate()
Returns true if the matrix is in coordinate format, else
false |
boolean |
isDense()
Returns true if the matrix is in array format, else
false |
boolean |
isGeneral()
Returns true if the matrix form is general, else
false |
boolean |
isHermitian()
Returns true if the matrix is Hermitian, else
false |
boolean |
isInteger()
Returns true if the matrix stores integers, else
false |
boolean |
isPattern()
Returns true if the matrix does not store any numbers, else
false |
boolean |
isReal()
Returns true if the matrix stores real numbers, else
false |
boolean |
isSkewSymmetric()
Returns true if the matrix is skew-symmetrical, else
false |
boolean |
isSparse()
Returns true if the matrix is in coordinate format, else
false |
boolean |
isSymmetric()
Returns true if the matrix is symmetrical, else
false |
String |
toString()
Returns a string representation of the specifier. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MatrixInfo(boolean sparse, MatrixInfo.MatrixField field, MatrixInfo.MatrixSymmetry symmetry)
sparse
- True for sparse matrices, else falsefield
- Type of data storedsymmetry
- Matrix symmetryMethod Detail |
---|
public boolean isSparse()
true
if the matrix is in coordinate format, else
false
public boolean isCoordinate()
true
if the matrix is in coordinate format, else
false
public boolean isDense()
true
if the matrix is in array format, else
false
public boolean isArray()
true
if the matrix is in array format, else
false
public boolean isReal()
true
if the matrix stores real numbers, else
false
public boolean isInteger()
true
if the matrix stores integers, else
false
public boolean isComplex()
true
if the matrix stores complex numbers, else
false
public boolean isPattern()
true
if the matrix does not store any numbers, else
false
public boolean isGeneral()
true
if the matrix form is general, else
false
public boolean isSymmetric()
true
if the matrix is symmetrical, else
false
public boolean isSkewSymmetric()
true
if the matrix is skew-symmetrical, else
false
public boolean isHermitian()
true
if the matrix is Hermitian, else
false
public String toString()
%%MatrixMarket matrix coordinate real general
toString
in class Object
|
Parallel Colt 0.9.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |