ManagedLinearAlgebraOperationsOfSingle.OneNorm Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.3

Overload List

OneNorm(Int32, ArraySlice<T>)

Takes the sum of the absolute values.

OneNorm(Int32, ReadOnlySpan<Single>, Int32)

Takes the sum of the absolute values.

OneNorm(Int32, ReadOnlySpan<Single>, Int32)

Takes the sum of the absolute values.

C#
public override float OneNorm(
	int n,
	ReadOnlySpan<float> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
x  ReadOnlySpan<Single>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.

Return Value

Single

Implements

ILinearAlgebraOperations<T>.OneNorm(Int32, ReadOnlySpan<T>, Int32)

Remarks

Further Details:

            jack dongarra, linpack, 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

See Also