ManagedLinearAlgebraOperationsOfSingle.ApplyModifiedGivensRotation Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.SinglePrecision (in Numerics.NET.SinglePrecision.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<Single>, Int32, Span<Single>, Int32, Single[])

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

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

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

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

Parameters

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

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