@DefaultImplementation(value=NoOpTruncator.class) public interface VectorTruncator
Component that truncates vectors.
Modifier and Type | Method and Description |
---|---|
Long2DoubleMap |
truncate(Long2DoubleMap v)
Truncate a vector, removing any entries that do not satisfy some condition.
|
Long2DoubleMap truncate(Long2DoubleMap v)
Truncate a vector, removing any entries that do not satisfy some condition.
v
- The vector to truncate.