public class VectorInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorInfo.VectorField
What kind of numbers are stored
|
| Constructor and Description |
|---|
VectorInfo(boolean sparse,
VectorInfo.VectorField field)
Creates a specific type
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public VectorInfo(boolean sparse,
VectorInfo.VectorField field)
sparse - True for sparse vectors, else falsefield - Type of data storedpublic boolean isSparse()
true if the vector is in coordinate format, else
falsepublic boolean isCoordinate()
true if the vector is in coordinate format, else
falsepublic boolean isDense()
true if the vector is in array format, else
falsepublic boolean isArray()
true if the vector is in array format, else
falsepublic boolean isReal()
true if the vector stores real numbers, else
falsepublic boolean isInteger()
true if the vector stores integers, else
falsepublic boolean isComplex()
true if the vector stores complex numbers, else
falsepublic boolean isPattern()
true if the vector does not store any numbers, else
falseJump to the Parallel Colt Homepage