ManagedLinearAlgebraOperations.TwoNorm Method

Definition

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

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<Double>>, Int32)

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

TwoNorm(Int32, ReadOnlySpan<Double>, Int32)

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

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

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

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

Parameters

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

Return Value

Double

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<Double>, Int32)

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

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

Parameters

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

Return Value

Double

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