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