| Package | Description |
|---|---|
| org.grouplens.lenskit.vectors |
Vectors (both sparse and dense) and their operations.
|
| Modifier and Type | Method and Description |
|---|---|
static ImmutableSparseVector |
ImmutableSparseVector.create(Map<Long,Double> data)
Construct a new immutable sparse vector from a map.
|
static ImmutableSparseVector |
SparseVector.empty()
Get an empty sparse vector.
|
ImmutableSparseVector |
MutableSparseVector.freeze()
Construct an immutable sparse vector from this vector's data (if possible),
invalidating this vector in the process.
|
ImmutableSparseVector |
ImmutableSparseVector.getChannelVector(Symbol channelSymbol) |
abstract ImmutableSparseVector |
SparseVector.immutable()
Return an immutable snapshot of this sparse vector.
|
ImmutableSparseVector |
ImmutableSparseVector.immutable() |
ImmutableSparseVector |
MutableSparseVector.immutable() |
Copyright © 2013 GroupLens Research. All Rights Reserved.