stdlib_specialfunctions.f90 Source File


This file depends on

sourcefile~~stdlib_specialfunctions.f90~~EfferentGraph sourcefile~stdlib_specialfunctions.f90 stdlib_specialfunctions.f90 sourcefile~stdlib_kinds.fypp stdlib_kinds.fypp sourcefile~stdlib_specialfunctions.f90->sourcefile~stdlib_kinds.fypp

Files dependent on this one

sourcefile~~stdlib_specialfunctions.f90~~AfferentGraph sourcefile~stdlib_specialfunctions.f90 stdlib_specialfunctions.f90 sourcefile~stdlib_specialfunctions_legendre.f90 stdlib_specialfunctions_legendre.f90 sourcefile~stdlib_specialfunctions_legendre.f90->sourcefile~stdlib_specialfunctions.f90 sourcefile~stdlib_quadrature_gauss.f90 stdlib_quadrature_gauss.f90 sourcefile~stdlib_quadrature_gauss.f90->sourcefile~stdlib_specialfunctions.f90

Contents


Source Code

module stdlib_specialfunctions
    use stdlib_kinds, only: sp, dp, xdp, qp

    implicit none

    private

    public :: legendre 
    public :: dlegendre 


    interface legendre
        !! version: experimental
        !! 
        !! Legendre polynomial
        pure elemental module function legendre_fp64(n,x) result(leg)
            integer, intent(in) :: n
            real(dp), intent(in) :: x
            real(dp) :: leg
        end function
    end interface

    interface dlegendre
        !! version: experimental
        !! 
        !! First derivative Legendre polynomial
        pure elemental module function dlegendre_fp64(n,x) result(dleg)
            integer, intent(in) :: n
            real(dp), intent(in) :: x
            real(dp) :: dleg
        end function
    end interface

end module stdlib_specialfunctions