Linear Algebra Operations<T>.Apply Modified Givens Rotation Method
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Apply | THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE. |
Apply | THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE. |
ApplyModifiedGivensRotation(Int32, ArraySlice<T>, ArraySlice<T>, T[])
THE MODIFIED GIVENS TRANSFORMATION, H, TO THE 2 BY N MATRIX (DXT) , WHERE **T INDICATES TRANSPOSE.
public void ApplyModifiedGivensRotation(
int n,
ArraySlice<T> x,
ArraySlice<T> y,
T[] dparam
)
Parameters
- n Int32
number of elements in input vector(s)
- x ArraySlice<T>
Dimension N T precision vector with N elements
storage spacing between elements of DX
- y ArraySlice<T>
Dimension N T precision vector with N elements
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
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.
public abstract void ApplyModifiedGivensRotation(
int n,
Span<T> x,
int incx,
Span<T> y,
int incy,
T[] dparam
)
Parameters
- n Int32
number of elements in input vector(s)
- x Span<T>
Dimension N T precision vector with N elements
- incx Int32
storage spacing between elements of DX
- y Span<T>
Dimension N T precision vector with N elements
- 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