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