Managed Linear Algebra Operations.Multiply In Place Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
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. |
Multiply | Evaluates the product of a scalar and a vector. |
MultiplyInPlace(Int32, Complex<Double>, ArraySlice<Complex<Double>>)
Evaluates the product of a scalar and a vector.
public override void MultiplyInPlace(
int n,
Complex<double> a,
ArraySlice<Complex<double>> x
)
Parameters
- n Int32
- The number of elements in the vector x.
- a Complex<Double>
- The scalar value used to multiply the elements of x.
- x ArraySlice<Complex<Double>>
- A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.
Implements
ILinearAlgebraOperations<T>.MultiplyInPlace(Int32, T, ArraySlice<T>)MultiplyInPlace(Int32, Double, ArraySlice<Complex<Double>>)
Scales a vector by a constant.
public override void MultiplyInPlace(
int n,
double da,
ArraySlice<Complex<double>> x
)
Parameters
- n Int32
- da Double
- x ArraySlice<Complex<Double>>
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, Double, ArraySlice<Double>)
Evaluates the product of a scalar and a vector.
public override void MultiplyInPlace(
int n,
double alpha,
ArraySlice<double> x
)
Parameters
- n Int32
- The number of elements in the vector x.
- alpha Double
- The scalar value used to multiply the elements of x.
- x ArraySlice<Double>
- A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.