|
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.VectorInfo
public class VectorInfo
Contains information on a vector in a variant of the Matrix Market exchange format
Nested Class Summary | |
---|---|
static class |
VectorInfo.VectorField
What kind of numbers are stored |
Constructor Summary | |
---|---|
VectorInfo(boolean sparse,
VectorInfo.VectorField field)
Creates a specific type |
Method Summary | |
---|---|
boolean |
isArray()
Returns true if the vector is in array format, else
false |
boolean |
isComplex()
Returns true if the vector stores complex numbers, else
false |
boolean |
isCoordinate()
Returns true if the vector is in coordinate format, else
false |
boolean |
isDense()
Returns true if the vector is in array format, else
false |
boolean |
isInteger()
Returns true if the vector stores integers, else
false |
boolean |
isPattern()
Returns true if the vector does not store any numbers, else
false |
boolean |
isReal()
Returns true if the vector stores real numbers, else
false |
boolean |
isSparse()
Returns true if the vector is in coordinate format, 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 VectorInfo(boolean sparse, VectorInfo.VectorField field)
sparse
- True for sparse vectors, else falsefield
- Type of data storedMethod Detail |
---|
public boolean isSparse()
true
if the vector is in coordinate format, else
false
public boolean isCoordinate()
true
if the vector is in coordinate format, else
false
public boolean isDense()
true
if the vector is in array format, else
false
public boolean isArray()
true
if the vector is in array format, else
false
public boolean isReal()
true
if the vector stores real numbers, else
false
public boolean isInteger()
true
if the vector stores integers, else
false
public boolean isComplex()
true
if the vector stores complex numbers, else
false
public boolean isPattern()
true
if the vector does not store any numbers, else
false
public String toString()
%%MatrixMarket vector coordinate real
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 |