Evaluates the product of a scalar and a vector.
Namespace: Extreme.Mathematics.Generic.LinearAlgebra.ProvidersAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
void Scal(
int n,
T alpha,
T[] x,
int xOffset,
int incx
)
Sub Scal (
n As Integer,
alpha As T,
x As T(),
xOffset As Integer,
incx As Integer
)
void Scal(
int n,
T alpha,
array<T>^ x,
int xOffset,
int incx
)
abstract Scal :
n : int *
alpha : 'T *
x : 'T[] *
xOffset : int *
incx : int -> unit
Parameters
- n
- Type: SystemInt32
The number of elements in the vector
x. - alpha
- Type: T
The scalar value used to multiply
the elements of x. - x
- Type: T
A reference to a one-dimensional array
containing the elements of the vector x.
The elements of x are overwritten with
the result. - xOffset
- Type: SystemInt32
Offset into x. - incx
- Type: SystemInt32
The increment for the array x.
Numerical Libraries
Supported in: 5.x, 4.x
Reference