Click or drag to resize

FloatSparseVectorMultiply(FloatSparseVector, Single) 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(
	FloatSparseVector x,
	float a
)

Parameters

x  FloatSparseVector
A sparse vector.
a  Single
A scalar.

Return Value

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