LinearAlgebraOperations.OneNorm<T> Method

Returns the sum of the absolute values of the elements of a vector.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static T OneNorm<T>(
	int n,
	ArraySlice<T> x
)

Parameters

n  Int32
The number of elements in the vector x.
x  ArraySlice<T>
A reference to a one-dimensional array containing the elements of the vector x.

Type Parameters

T

Return Value

T

See Also