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
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
Jump to the Parallel Colt Homepage