LinearAlgebraOperations<T>.TwoNorm Method

Definition

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

Overload List

TwoNorm(Int32, ArraySlice<T>)

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

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, ArraySlice<T>)

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

C#
public abstract T TwoNorm(
	int n,
	ArraySlice<T> x
)

Parameters

n  Int32
 
x  ArraySlice<T>
 

Return Value

T

Implements

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

Remarks

Further Details:

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

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

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

Date: November 2011

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

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

C#
public abstract T TwoNorm(
	int n,
	ArraySlice<Complex<T>> x
)

Parameters

n  Int32
 
x  ArraySlice<Complex<T>>
 

Return Value

T

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