org.grouplens.lenskit.transform.truncate

## Interface VectorTruncator

• ### Method Summary

All Methods
Modifier and Type Method and Description
void truncate(MutableSparseVector v)
Truncate a vector, removing any entries that do not satisfy some condition.
• ### Method Detail

• #### truncate

void truncate(MutableSparseVector v)
Truncate a vector, removing any entries that do not satisfy some condition. The vector is modified in place, i.e. the vector argument will be modified directly.
Parameters:
v - The vector to truncate.