VectorMathAddScaled(IReadOnlyListDouble, IReadOnlyListDouble, Double, IVectorDouble) 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<double> a,
IReadOnlyList<double> b,
double scaleb,
IVector<double> c
)
Parameters
- a IReadOnlyListDouble
- First summand.
- b IReadOnlyListDouble
- Second summand.
- scaleb Double
- Scale factor for vector b.
- c IVectorDouble
- The resulting vector calculated as a + b * scaleb.
See Also