public class AdditionCombinor extends Object implements VectorCombinor, Serializable
SparseDoubleVectors. The
first vector is modified during the combination.| Constructor and Description |
|---|
AdditionCombinor() |
| Modifier and Type | Method and Description |
|---|---|
SparseDoubleVector |
combine(SparseDoubleVector v1,
SparseDoubleVector v2)
Combines features from
v1 and v2 to produce a new vector. |
SparseDoubleVector |
combineUnmodified(SparseDoubleVector v1,
SparseDoubleVector v2)
Combines features from
v1 and v2 to produce a new vector. |
public SparseDoubleVector combine(SparseDoubleVector v1, SparseDoubleVector v2)
v1 and v2 to produce a new vector.
VectorCombinor are allowed to modify v1 if needed.combine in interface VectorCombinorpublic SparseDoubleVector combineUnmodified(SparseDoubleVector v1, SparseDoubleVector v2)
v1 and v2 to produce a new vector.
VectorCombinor are not allowed to modify v1 if
needed.combineUnmodified in interface VectorCombinorCopyright © 2012. All Rights Reserved.