Linear Algebra Operations.Multiply In Place Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Multiply | Evaluates the product of a scalar and a vector. |
Multiply | Scales a vector by a constant. |
MultiplyInPlace<T>(Int32, T, ArraySlice<T>)
Evaluates the product of a scalar and a vector.
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.
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