Click or drag to resize

FloatSparseVectorMultiply(Single, FloatSparseVector) Method

Multiplies a sparse vector by a scalar.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatSparseVector Multiply(
	float a,
	FloatSparseVector x
)

Parameters

a  Single
A scalar.
x  FloatSparseVector
A sparse vector.

Return Value

FloatSparseVector
A sparse vector containing the product.
Remarks
u[i] = v[i] * s
See Also