Scales each element in the sparse vector by the specified value.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public DoubleSparseVector Scale( double a ) |
| Visual Basic (Declaration) |
|---|
Public Function Scale ( _ a As Double _ ) As DoubleSparseVector |
| Visual C++ |
|---|
public: DoubleSparseVector^ Scale( double a ) |
Parameters
- a
- Type: System..::.Double
Scale.
Return Value
This sparse vector.
Remarks
Does not copy the data.