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