ManagedLinearAlgebraOperationsOfSingle.MultiplyInPlace Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.0

Overload List

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

Scales a vector by a constant.

C#
public override void MultiplyInPlace(
	int n,
	Complex<float> a,
	Span<Complex<float>> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
a  Complex<Single>
 
x  Span<Complex<Single>>
A span containing the elements of the vector x. The elements of x are overwritten with the result.
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, Single, Span<Complex<Single>>, Int32)

Scales a vector by a constant.

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

Parameters

n  Int32
 
da  Single
 
x  Span<Complex<Single>>
 
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, Single, Span<Single>, Int32)

Scales a vector by a constant.

C#
public override void MultiplyInPlace(
	int n,
	float alpha,
	Span<float> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
alpha  Single
The scalar value used to multiply the elements of x.
x  Span<Single>
A span containing the elements of the vector x. The elements of x are overwritten with the result.
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