| FloatSparseVectorMultiply(Single, FloatSparseVector) Method |
Multiplies a sparse vector by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatSparseVector Multiply(
float a,
FloatSparseVector x
)
Public Shared Function Multiply (
a As Single,
x As FloatSparseVector
) As FloatSparseVector
public:
static FloatSparseVector^ Multiply(
float a,
FloatSparseVector^ x
)
static member Multiply :
a : float32 *
x : FloatSparseVector -> FloatSparseVector
Parameters
- a Single
- A scalar.
- x FloatSparseVector
- A sparse vector.
Return Value
FloatSparseVectorA sparse vector containing the product.
Remarks u[i] = v[i] * s
See Also