ManagedLinearAlgebraOperationsOfSingle.TwoNorm Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.dll) Version: 9.0.3

Overload List

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

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

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

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

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

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

TwoNorm(Int32, ReadOnlySpan<Single>, Int32)

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

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

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

C#
public override float TwoNorm(
	int n,
	ReadOnlySpan<Complex<float>> x,
	int incx
)

Parameters

n  Int32
 
x  ReadOnlySpan<Complex<Single>>
 
incx  Int32
 

Return Value

Single

Remarks

Further Details:

-- This version written on 25-October-1982.

            Modified on 14-October-1993 to inline the call to ZLASSQ.
            Sven Hammarling, Nag Ltd.
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

TwoNorm(Int32, ReadOnlySpan<Single>, Int32)

            Returns the euclidean norm of a vector via the function
            name, so that
               DZNRM2 := sqrt( x**H*x )
            

C#
public override float TwoNorm(
	int n,
	ReadOnlySpan<float> x,
	int incx
)

Parameters

n  Int32
The number of elements in the vector x.
x  ReadOnlySpan<Single>
A span containing the elements of the vector x.
incx  Int32
The distance between elements in x.

Return Value

Single

Implements

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

Remarks

Further Details:

-- This version written on 25-October-1982.

            Modified on 14-October-1993 to inline the call to ZLASSQ.
            Sven Hammarling, Nag Ltd.
            

Authors: Univ. of Tennessee, Univ. of California Berkeley, Univ. of Colorado Denver, NAG Ltd.

Date: November 2011

See Also