static CompressedVector |
CompressedVector.fromArray(double[] array) |
Creates a new CompressedVector from the given array with
compressing (copying) the underlying array.
|
static CompressedVector |
CompressedVector.fromBinary(byte[] array) |
|
static CompressedVector |
CompressedVector.fromCollection(java.util.Collection<? extends java.lang.Number> list) |
|
static CompressedVector |
CompressedVector.fromCSV(java.lang.String csv) |
|
static CompressedVector |
CompressedVector.fromMap(java.util.Map<java.lang.Integer,? extends java.lang.Number> map,
int length) |
|
static CompressedVector |
CompressedVector.fromMatrixMarket(java.lang.String mm) |
|
static CompressedVector |
CompressedVector.random(int length,
double density,
java.util.Random random) |
Creates a random CompressedVector of the given length with
the given density and Random .
|
static CompressedVector |
CompressedVector.zero(int length) |
|
static CompressedVector |
CompressedVector.zero(int length,
int capacity) |
|