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