ILinearAlgebraOperations<T>.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.2
C#
void MultiplyInPlace(
	int n,
	T alpha,
	Span<T> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
alpha  T
The scalar value used to multiply the elements of x.
x  Span<T>
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.

See Also