Math_ Derived Type

type, public :: Math_


Components

Type Visibility Attributes Name Initial
real(kind=real64), public :: PI = 3.14159265358979323846d0

For saving the computation time, this uses a fixed value for PI.

real(kind=real64), public :: E = 2.718281828459045d0

For saving the computation time, this uses a fixed value for e.

complex(kind=kind(0d0)), public :: i = (0.0d0, 1.0d0)
complex(kind=kind(0d0)), public :: j = (0.0d0, 1.0d0)

It is a unit imaginary value.