SparseVectorDoAdd(Complex32, VectorComplex32) Method |
Adds a scalar to each element of the vector and stores the result in the result vector.
Warning, the new 'sparse vector' with a non-zero scalar added to it will be a 100% filled
sparse vector and very inefficient. Would be better to work with a dense vector instead.
Namespace: Altaxo.Calc.LinearAlgebra.Complex32Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax protected override void DoAdd(
Complex32 scalar,
Vector<Complex32> result
)
Parameters
- scalar Complex32
-
The scalar to add.
- result VectorComplex32
-
The vector to store the result of the addition.
See Also