| DoubleSparseVectorMultiply(DoubleSparseVector, Double) Operator |
Multiplies a sparse vector by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public 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 : DoubleSparseVector
Parameters
- v DoubleSparseVector
- A sparse vector.
- a Double
- A scalar.
Return Value
DoubleSparseVectorA sparse vector containing the product.
Remarks u[i] = v[i] * s
See Also