GenericLinearAlgebraOperations<T>.MultiplyInPlace Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3

Overload List

MultiplyInPlace(Int32, T, Span<T>, Int32)

Scales a vector by a constant.

C#
public override void MultiplyInPlace(
	int n,
	T da,
	Span<T> dx,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
da  T
 
dx  Span<T>
 
incx  Int32
The distance between elements in x.

Implements

ILinearAlgebraOperations<T>.MultiplyInPlace(Int32, T, Span<T>, Int32)

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 3/93 to return if incx .le. 0.
            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

MultiplyInPlace(Int32, T, Span<Complex<T>>, Int32)

Scales a vector by a constant.

C#
public override void MultiplyInPlace(
	int n,
	T da,
	Span<Complex<T>> zx,
	int incx
)

Parameters

n  Int32
 
da  T
 
zx  Span<Complex<T>>
 
incx  Int32
 

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 3/93 to return if incx .le. 0.
            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

MultiplyInPlace(Int32, Complex<T>, Span<Complex<T>>, Int32)

Scales a vector by a constant.

C#
public override void MultiplyInPlace(
	int n,
	Complex<T> za,
	Span<Complex<T>> zx,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
za  Complex<T>
 
zx  Span<Complex<T>>
 
incx  Int32
The distance between elements in x.

Implements

ILinearAlgebraOperations<T>.MultiplyInPlace(Int32, T, Span<T>, Int32)

Remarks

Further Details:

            jack dongarra, 3/11/78.
            modified 3/93 to return if incx .le. 0.
            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