math_module Module

General math routines


Uses

  • module~~math_module~~UsesGraph module~math_module math_module module~kind_module kind_module module~math_module->module~kind_module module~numbers_module numbers_module module~math_module->module~numbers_module iso_fortran_env iso_fortran_env module~kind_module->iso_fortran_env module~numbers_module->module~kind_module

Used by

  • module~~math_module~~UsedByGraph module~math_module math_module module~fortran_astrodynamics_toolkit fortran_astrodynamics_toolkit module~fortran_astrodynamics_toolkit->module~math_module module~orbital_mechanics_module orbital_mechanics_module module~fortran_astrodynamics_toolkit->module~orbital_mechanics_module module~orbital_mechanics_module->module~math_module proc~compute_libration_points crtbp_module::compute_libration_points proc~compute_libration_points->module~math_module proc~compute_libration_points_v2 crtbp_module::compute_libration_points_v2 proc~compute_libration_points_v2->module~math_module proc~halo_to_rv_diffcorr halo_orbit_module::halo_to_rv_diffcorr proc~halo_to_rv_diffcorr->module~math_module proc~rk_test_variable_step rk_module_variable_step::rk_test_variable_step proc~rk_test_variable_step->module~orbital_mechanics_module

Functions

public pure elemental function magnitude(a, mina) result(m)

Returns a positive number the same magnitude as the input, with only one significant digit.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: a
real(kind=wp), intent(in), optional :: mina

Return Value real(kind=wp)

public pure elemental function wrap_angle(a) result(r)

Wrap an angle (in rad) from -pi to pi.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: a

Return Value real(kind=wp)

public pure elemental function cube_root(x) result(y)

Author
Jacob Williams

Cube root of a number (real solution only).

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: x

Return Value real(kind=wp)