Click or drag to resize

VectorMathAddScaled(Single, Single, Single, Single) 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.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static void AddScaled(
	float[] a,
	float[] b,
	float scaleb,
	float[] c
)

Parameters

a  Single
First summand.
b  Single
Second summand.
scaleb  Single
Scale factor for vector b.
c  Single
The resulting vector calculated as a + b * scaleb.
See Also