Returns the sum of the absolute values of
the elements of a vector.
Namespace: Extreme.Mathematics.LinearAlgebra.ProvidersAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
public override float Sasum(
int n,
float[] x,
int xOffset,
int incx
)
Public Overrides Function Sasum (
n As Integer,
x As Single(),
xOffset As Integer,
incx As Integer
) As Single
public:
virtual float Sasum(
int n,
array<float>^ x,
int xOffset,
int incx
) override
abstract Sasum :
n : int *
x : float32[] *
xOffset : int *
incx : int -> float32
override Sasum :
n : int *
x : float32[] *
xOffset : int *
incx : int -> float32
Parameters
- n
- Type: SystemInt32
The number of elements in the vector
x. - x
- Type: SystemSingle
A reference to a one-dimensional array
containing the elements of the vector x.
- xOffset
- Type: SystemInt32
Offset into x. - incx
- Type: SystemInt32
The increment for the array x.
Return Value
Type:
Single
Numerical Libraries
Supported in: 5.x, 4.x
Reference