LinearAlgebraOperationsExtensions.MultiplyAndAddInPlace<T>(ILinearAlgebraOperations<T>, Int32, T, ReadOnlySpanSlice<T>, SpanSlice<T>) Method

Constant times a vector plus a vector.


Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 9.0.0
public static void MultiplyAndAddInPlace<T>(
	this ILinearAlgebraOperations<T> operations,
	int n,
	T a,
	ReadOnlySpanSlice<T> x,
	SpanSlice<T> y


operations  ILinearAlgebraOperations<T>
n  Int32
a  T
x  ReadOnlySpanSlice<T>
y  SpanSlice<T>

Type Parameters


Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).


            uses unrolled loops for increments equal to one.

Further Details:

            jack dongarra, linpack, 3/11/78.
            modified 12/3/93, array(1) declarations changed to array(*)

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also