VectorMathAddScaled(IReadOnlyListSingle, IReadOnlyListSingle, Single, IVectorSingle) Method |
Adds (elementwise) two vectors a and (b scaled with scaleb) and stores the result in c, i.e. c = a + b * scaleb. All vectors must have the same length.
The vectors a or b may be identical (the same instance) as c.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void AddScaled(
IReadOnlyList<float> a,
IReadOnlyList<float> b,
float scaleb,
IVector<float> c
)
Parameters
- a IReadOnlyListSingle
- First summand.
- b IReadOnlyListSingle
- Second summand.
- scaleb Single
- Scale factor for vector b.
- c IVectorSingle
- The resulting vector calculated as a + b * scaleb.
See Also