 | DoubleSparseVectorMultiply(DoubleSparseVector, Double) Operator |
Multiplies a sparse vector by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static DoubleSparseVector operator *(
DoubleSparseVector v,
double a
)
Public Shared Operator * (
v As DoubleSparseVector,
a As Double
) As DoubleSparseVector
public:
static DoubleSparseVector^ operator *(
DoubleSparseVector^ v,
double a
)
static let inline (*)
v : DoubleSparseVector *
a : float : DoubleSparseVectorParameters
- v DoubleSparseVector
- A sparse vector.
- a Double
- A scalar.
Return Value
DoubleSparseVectorA sparse vector containing the product.
Remarksu[i] = v[i] * s
See Also