trig Module


SEC

Secant.



ASEC

Inverse secant.



CSC

Cosecant.



ACSC

Inverse cosecant.



COT

Cotangent.



ACOT

Inverse cotangent.



ACOT2

Inverse cotangent (two arguments).



EXSEC

Exsecant.



CEXSEC

Complex exsecant.



AEXSEC

Inverse exsecant.



CAEXSEC

Complex inverse exsecant.



VERS

Versine.



CVERS

Complex versine.



AVERS

Inverse versine.



CAVERS

Complex inverse versine.



COVERS

Coversine.



CCOVERS

Complex coversine.



ACOVERS

Inverse coversine.



CACOVERS

Complex inverse coversine.



HAV

Haversine.



AHAV

Inverse haversine.



CRD

Chord (of Ptolemy).



ACRD

Inverse chord (of Ptolemy).



CACRD

Complex inverse chord (of Ptolemy).



Uses

    • assert
  • module~~trig~~UsesGraph module~trig trig assert assert module~trig->assert

Used by

  • module~~trig~~UsedByGraph module~trig trig module~funcs funcs module~funcs->module~trig program~rpn RPN program~rpn->module~funcs module~stackops stackops program~rpn->module~stackops module~evals evals program~rpn->module~evals module~stackops->module~funcs module~evals->module~funcs module~evals->module~stackops

Contents


Interfaces

public interface csc

  • public elemental function CSC_r(X) result(csc)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X

    Return Value real(kind=wp)

  • public elemental function CSC_c(Z) result(csc)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface acsc

  • public elemental function ACSC_r(Y) result(acsc)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: Y

    Return Value real(kind=wp)

  • public elemental function ACSC_c(Z) result(acsc)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface sec

  • public elemental function SEC_r(X) result(sec)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X

    Return Value real(kind=wp)

  • public elemental function SEC_c(Z) result(sec)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface asec

  • public elemental function ASEC_r(Y) result(X)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: Y

    Return Value real(kind=wp)

  • public elemental function ASEC_c(Z) result(Y)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface cot

  • public elemental function COT_r(X) result(cot)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X

    Return Value real(kind=wp)

  • public elemental function COT_c(Z) result(cot)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface acot

  • public elemental function ACOT_r(Y) result(acot)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: Y

    Return Value real(kind=wp)

  • public elemental function ACOT_c(Y) result(Acot)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Y

    Return Value complex(kind=wp)

public interface hav

  • public elemental function HAV_r(X) result(Y)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X

    Return Value real(kind=wp)

  • public elemental function HAV_c(Z) result(Y)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)

public interface ahav

  • public elemental function AHAV_r(Y) result(X)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: Y

    Return Value real(kind=wp)

  • public elemental function AHAV_c(Y) result(X)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Y

    Return Value complex(kind=wp)

public interface crd

  • public elemental function CRD_r(X) result(crd)

    Arguments

    Type IntentOptional AttributesName
    real(kind=wp), intent(in) :: X

    Return Value real(kind=wp)

  • public elemental function CRD_c(Z) result(crd)

    Arguments

    Type IntentOptional AttributesName
    complex(kind=wp), intent(in) :: Z

    Return Value complex(kind=wp)


Functions

public elemental function SEC_r(X) result(sec)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function SEC_c(Z) result(sec)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function ASEC_r(Y) result(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function ASEC_c(Z) result(Y)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function CSC_r(X) result(csc)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function CSC_c(Z) result(csc)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function ACSC_r(Y) result(acsc)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function ACSC_c(Z) result(acsc)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function COT_r(X) result(cot)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function COT_c(Z) result(cot)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function ACOT_r(Y) result(acot)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function ACOT_c(Y) result(Acot)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)

public elemental function ACOT2(Y, Z)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y
real(kind=wp), intent(in) :: Z

Return Value real(kind=wp)

public elemental function EXSEC(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function CEXSEC(Z)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function AEXSEC(Y)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function CAEXSEC(Y) result(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)

public elemental function VERS(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function CVERS(Z)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function AVERS(Y)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function CAVERS(Y) result(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)

public elemental function COVERS(X) result(Y)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public function CCOVERS(Z) result(Y)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function ACOVERS(Y) result(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function CACOVERS(Y) result(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)

public elemental function HAV_r(X) result(Y)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function HAV_c(Z) result(Y)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function AHAV_r(Y) result(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function AHAV_c(Y) result(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)

public elemental function CRD_r(X) result(crd)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: X

Return Value real(kind=wp)

public elemental function CRD_c(Z) result(crd)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Z

Return Value complex(kind=wp)

public elemental function ACRD(Y) result(X)

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in) :: Y

Return Value real(kind=wp)

public elemental function CACRD(Y) result(X)

Arguments

Type IntentOptional AttributesName
complex(kind=wp), intent(in) :: Y

Return Value complex(kind=wp)