Evaluates a vector plus the product of a scalar and a vector
Namespace: Extreme.Mathematics.ImplementationAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public abstract void MultiplyAndAddInPlace(
int n,
TReal alpha,
ArraySlice<TReal> x,
ArraySlice<TReal> y
)
Public MustOverride Sub MultiplyAndAddInPlace (
n As Integer,
alpha As TReal,
x As ArraySlice(Of TReal),
y As ArraySlice(Of TReal)
)
public:
virtual void MultiplyAndAddInPlace(
int n,
TReal alpha,
ArraySlice<TReal> x,
ArraySlice<TReal> y
) abstract
abstract MultiplyAndAddInPlace :
n : int *
alpha : 'TReal *
x : ArraySlice<'TReal> *
y : ArraySlice<'TReal> -> unit
Parameters
- n
- Type: SystemInt32
The number of elements in the vectors
x and y. - alpha
- Type: TReal
The scalar value used to multiply
the elements of x. - x
- Type: Extreme.CollectionsArraySliceTReal
A reference to a one-dimensional array
containing the elements of the vector x.
- y
- Type: Extreme.CollectionsArraySliceTReal
A reference to a one-dimensional array
containing the elements of the vector y.
The elements of y are overwritten with
the result.
Numerical Libraries
Supported in: 5.x
Reference