Returns the scalar-vector product of this vector with the specified scalar.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic SparseVector Scale(
double alpha
)
Parameters
- alpha
- Type: SystemDouble
the scalar
Return Value
Type:
SparseVectorthe scalar-vector product of this vector with the specified scalar
See Also