ManagedLinearAlgebraOperationsOfSingle.TwoNorm Method

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics.SinglePrecision (in Extreme.Numerics.SinglePrecision.dll) Version: 8.1.4

Overload List

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

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

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

Parameters

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

Return Value

Single

TwoNorm(Int32, ArraySlice<Single>)

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

Parameters

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

Return Value

Single

Implements

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

See Also