rotmg Interface

public interface rotmg

ROTMG Constructs the modified Givens transformation matrix which zeros the second component of the 2-vector With DPARAM(1)=DFLAG, has one of the following forms:
Locations 2-4 of DPARAM contain DH11, DH21, DH12 and DH22 respectively. (Values of 1.0, -1.0, or 0.0 implied by the value of DPARAM(1) are not stored in DPARAM.) The values of parameters GAMSQ and RGAMSQ may be inexact. This is OK as they are only used for testing the size of DD1 and DD2. All actual scaling of data is done using GAM.


Subroutines

public pure subroutine drotmg(dd1, dd2, dx1, dy1, dparam)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: dd1
real(kind=dp), intent(inout) :: dd2
real(kind=dp), intent(inout) :: dx1
real(kind=dp), intent(in) :: dy1
real(kind=dp), intent(out) :: dparam(5)

public pure subroutine srotmg(sd1, sd2, sx1, sy1, sparam)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(inout) :: sd1
real(kind=sp), intent(inout) :: sd2
real(kind=sp), intent(inout) :: sx1
real(kind=sp), intent(in) :: sy1
real(kind=sp), intent(out) :: sparam(5)

Module Procedures

public pure subroutine stdlib_drotmg(dd1, dd2, dx1, dy1, dparam)

DROTMG Constructs the modified Givens transformation matrix which zeros the second component of the 2-vector With DPARAM(1)=DFLAG, has one of the following forms:
Locations 2-4 of DPARAM contain DH11, DH21, DH12 and DH22 respectively. (Values of 1.0, -1.0, or 0.0 implied by the value of DPARAM(1) are not stored in DPARAM.) The values of parameters GAMSQ and RGAMSQ may be inexact. This is OK as they are only used for testing the size of DD1 and DD2. All actual scaling of data is done using GAM.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout) :: dd1
real(kind=dp), intent(inout) :: dd2
real(kind=dp), intent(inout) :: dx1
real(kind=dp), intent(in) :: dy1
real(kind=dp), intent(out) :: dparam(5)

public pure subroutine stdlib_srotmg(sd1, sd2, sx1, sy1, sparam)

SROTMG Constructs the modified Givens transformation matrix which zeros the second component of the 2-vector With SPARAM(1)=SFLAG, has one of the following forms:
Locations 2-4 of SPARAM contain SH11, SH21, SH12 and SH22 respectively. (Values of 1.0, -1.0, or 0.0 implied by the value of SPARAM(1) are not stored in SPARAM.) The values of parameters GAMSQ and RGAMSQ may be inexact. This is OK as they are only used for testing the size of DD1 and DD2. All actual scaling of data is done using GAM.

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(inout) :: sd1
real(kind=sp), intent(inout) :: sd2
real(kind=sp), intent(inout) :: sx1
real(kind=sp), intent(in) :: sy1
real(kind=sp), intent(out) :: sparam(5)