public class PointWiseCombinor extends Object implements VectorCombinor, Serializable
SparseDoubleVector
s. The first component vector is not modified
during the combination.Constructor and Description |
---|
PointWiseCombinor() |
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 VectorCombinor
public 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 VectorCombinor
Copyright © 2012. All Rights Reserved.