Package | Description |
---|---|
org.openimaj.feature | |
org.openimaj.lsh.functions | |
org.openimaj.math.matrix | |
org.openimaj.util.array |
Modifier and Type | Field and Description |
---|---|
SparseDoubleArray |
SparseDoubleFV.values
The underlying data backing the feature vector
|
Modifier and Type | Method and Description |
---|---|
SparseDoubleArray |
SparseDoubleFV.getVector() |
Modifier and Type | Method and Description |
---|---|
abstract double |
SparseDoubleFVComparison.compare(SparseDoubleArray h1,
SparseDoubleArray h2)
Compare two feature vectors in the form of sparse arrays,
returning a score or distance.
|
Constructor and Description |
---|
SparseDoubleFV(SparseDoubleArray values)
Construct from sparse array
|
Modifier and Type | Method and Description |
---|---|
int |
DoublePStableFactory.PStableFunction.computeHashCode(SparseDoubleArray array) |
int |
DoubleHashFunction.computeHashCode(SparseDoubleArray array)
Compute the hash code for the sparse array.
|
Modifier and Type | Method and Description |
---|---|
static SparseDoubleArray |
MatlibMatrixUtils.sparseVectorToSparseArray(SparseVector row)
Convert a
SparseVector to a
SparseDoubleArray . |
Modifier and Type | Class and Description |
---|---|
class |
SparseBinSearchDoubleArray
A Sparse array of double values implemented using a pair of
sorted parallel arrays.
|
class |
SparseHashedDoubleArray
A
SparseDoubleArray implementation based on a
TIntDoubleHashMap . |
Modifier and Type | Method and Description |
---|---|
SparseDoubleArray |
SparseDoubleArray.add(SparseDoubleArray vector)
Add the values in the given vector to a copy of
this array and return the result
|
SparseDoubleArray |
SparseDoubleArray.addInplace(SparseDoubleArray vector)
Add the values in the given vector to
this vector and return this
|
SparseDoubleArray |
SparseDoubleArray.concatenate(List<SparseDoubleArray> ins) |
SparseDoubleArray |
SparseDoubleArray.concatenate(SparseDoubleArray... ins) |
static SparseDoubleArray |
SparseDoubleArray.concatenateArrays(SparseDoubleArray... arrays)
Concatenate multiple arrays into a single new array.
|
abstract SparseDoubleArray |
SparseDoubleArray.copy()
Deep copy the array.
|
SparseDoubleArray |
SparseHashedDoubleArray.copy() |
SparseDoubleArray |
SparseBinSearchDoubleArray.copy() |
SparseDoubleArray |
SparseDoubleArray.multiply(double value)
Copy this vector and multiply its values by a
scalar
|
SparseDoubleArray |
SparseDoubleArray.multiplyInplace(double value)
Multiply the values inplace by a scalar and return this
|
abstract SparseDoubleArray |
SparseDoubleArray.reverse()
Reverse the elements, returning this.
|
SparseDoubleArray |
SparseHashedDoubleArray.reverse() |
SparseDoubleArray |
SparseBinSearchDoubleArray.reverse() |
SparseDoubleArray |
SparseDoubleArray.subtract(SparseDoubleArray vector)
Subtract the values in the given vector from a copy of
this vector and return the result
|
SparseDoubleArray |
SparseDoubleArray.subtractInplace(SparseDoubleArray vector)
Subtract the values in the given vector from
this array and return this
|
Modifier and Type | Method and Description |
---|---|
SparseDoubleArray |
SparseDoubleArray.add(SparseDoubleArray vector)
Add the values in the given vector to a copy of
this array and return the result
|
SparseDoubleArray |
SparseDoubleArray.addInplace(SparseDoubleArray vector)
Add the values in the given vector to
this vector and return this
|
SparseDoubleArray |
SparseDoubleArray.concatenate(SparseDoubleArray... ins) |
static SparseDoubleArray |
SparseDoubleArray.concatenateArrays(SparseDoubleArray... arrays)
Concatenate multiple arrays into a single new array.
|
double |
SparseDoubleArray.dotProduct(SparseDoubleArray vector)
Compute the dot product with another vector
|
Iterable<SparseDoubleArray.DualEntry> |
SparseDoubleArray.intersectEntries(SparseDoubleArray otherArray)
Provide an iterator over the intersection of values present in
both this array and another array.
|
SparseDoubleArray |
SparseDoubleArray.subtract(SparseDoubleArray vector)
Subtract the values in the given vector from a copy of
this vector and return the result
|
SparseDoubleArray |
SparseDoubleArray.subtractInplace(SparseDoubleArray vector)
Subtract the values in the given vector from
this array and return this
|
Iterable<SparseDoubleArray.DualEntry> |
SparseDoubleArray.unionEntries(SparseDoubleArray otherArray)
Provide an iterator over the union of values present in
both this array and another array.
|
Iterable<SparseDoubleArray.DualEntry> |
SparseBinSearchDoubleArray.unionEntries(SparseDoubleArray otherArray) |
Modifier and Type | Method and Description |
---|---|
SparseDoubleArray |
SparseDoubleArray.concatenate(List<SparseDoubleArray> ins) |