LinearAlgebraOperations.TwoNorm Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

TwoNorm<T>(Int32, ArraySlice<T>) Returns the square root of sum of the squares of the elements of a vector.
TwoNorm<T>(Int32, ArraySlice<Complex<T>>) Returns the square root of sum of the squares of the elements of a vector.

TwoNorm<T>(Int32, ArraySlice<T>)

Returns the square root of sum of the squares of the elements of a vector.
C#
public static T TwoNorm<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

TwoNorm<T>(Int32, ArraySlice<Complex<T>>)

Returns the square root of sum of the squares of the elements of a vector.
C#
public static T TwoNorm<T>(
	int n,
	ArraySlice<Complex<T>> x
)

Parameters

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

Type Parameters

T

Return Value

T

See Also