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