ILinearAlgebraOperations<T, TVector, TMatrix>.OneNorm Method

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

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
T OneNorm(
	int n,
	TVector x
)

Parameters

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

Return Value

T

See Also