LinearAlgebraOperations.MultiplyInPlace Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

MultiplyInPlace<T>(Int32, T, ArraySlice<T>) Evaluates the product of a scalar and a vector.
MultiplyInPlace<T>(Int32, T, ArraySlice<Complex<T>>)

Scales a vector by a constant.

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

Evaluates the product of a scalar and a vector.
C#
public static void MultiplyInPlace<T>(
	int n,
	T alpha,
	ArraySlice<T> x
)

Parameters

n  Int32
The number of elements in the vector x.
alpha  T
The scalar value used to multiply the elements of x.
x  ArraySlice<T>
A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.

Type Parameters

T

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

Scales a vector by a constant.

C#
public static void MultiplyInPlace<T>(
	int n,
	T da,
	ArraySlice<Complex<T>> zx
)

Parameters

n  Int32
 
da  T
 
zx  ArraySlice<Complex<T>>
 

Type Parameters

T

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