LinearAlgebraOperationsExtensions.OneNorm<T>(ILinearAlgebraOperations<T>, Int32, ReadOnlySpanSlice<T>) Method

Takes the sum of the absolute values.

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 9.0.0
C#
public static T OneNorm<T>(
	this ILinearAlgebraOperations<T> operations,
	int n,
	ReadOnlySpanSlice<T> x
)

Parameters

operations  ILinearAlgebraOperations<T>
 
n  Int32
 
x  ReadOnlySpanSlice<T>
 

Type Parameters

T

Return Value

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILinearAlgebraOperations<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

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