ManagedLinearAlgebraOperations.ApplyModifiedGivensRotation Method

Definition

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

Overload List

ApplyModifiedGivensRotation(Int32, ArraySlice<T>, ArraySlice<T>, T[])

THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE.

ApplyModifiedGivensRotation(Int32, Span<Double>, Int32, Span<Double>, Int32, Double[])

THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE.

ApplyModifiedGivensRotation(Int32, Span<Double>, Int32, Span<Double>, Int32, Double[])

THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE.

C#
public override void ApplyModifiedGivensRotation(
	int n,
	Span<double> x,
	int incx,
	Span<double> y,
	int incy,
	double[] param
)

Parameters

n  Int32
            number of elements in input vector(s)
            
x  Span<Double>
            Dimension N
            T precision vector with N elements
            
incx  Int32
            storage spacing between elements of DX
            
y  Span<Double>
            Dimension N
            T precision vector with N elements
            
incy  Int32
            storage spacing between elements of DY
            
param  Double[]
 

Remarks

            THE ELEMENTS OF DX ARE IN
               (DYT)
               DX(LX+I*INCX), I = 0 TO N-1, WHERE LX = 1 IF INCX  >=  0, ELSE
               LX = (-INCX)*N, AND SIMILARLY FOR SY USING LY AND INCY.
               WITH DPARAM(1)=DFLAG, H HAS ONE OF THE FOLLOWING FORMS.
               DFLAG=-1.D0     DFLAG=0.D0        DFLAG=1.D0     DFLAG=-2.D0
                 (DH11  DH12)    (1.D0  DH12)    (DH11  1.D0)    (1.D0  0.D0)
               H=(          )    (          )    (          )    (          )
                 (DH21  DH22),   (DH21  1.D0),   (-1.D0 DH22),   (0.D0  1.D0).
               SEE DROTMG FOR A DESCRIPTION OF DATA STORAGE IN DPARAM.
            

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

Date: November 2011

See Also