ILinearAlgebraOperations<T, TVector, TMatrix>.MultiplyInPlace Method

Evaluates the product of a scalar and a vector.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
void MultiplyInPlace(
	int n,
	T alpha,
	TVector 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  TVector
A reference to a one-dimensional array containing the elements of the vector x. The elements of x are overwritten with the result.

See Also