GenericLinearAlgebraOperations<T>.ApplyModifiedGivensRotation Method

Definition

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

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<T>, Int32, Span<T>, Int32, T[])

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

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

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

C#
public override void ApplyModifiedGivensRotation(
	int n,
	Span<T> dx,
	int incx,
	Span<T> dy,
	int incy,
	T[] dparam
)

Parameters

n  Int32
            number of elements in input vector(s)
            
dx  Span<T>
 
incx  Int32
            storage spacing between elements of DX
            
dy  Span<T>
 
incy  Int32
            storage spacing between elements of DY
            
dparam  T[]
            Dimension 5
            AM(1)=DFLAG
            RAM(2)=DH11
            ARAM(3)=DH21
            PARAM(4)=DH12
            DPARAM(5)=DH22
            

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