FewSpecialFunctions.jl

Some special functions.

Overview

FewSpecialFunctions.jl provides implementations of a few special functions. So far this includes

  1. Clausen functions
  2. Debye functions
  3. Coulomb wave functions
  4. Struve functions
  5. Fresnel functions
  6. Hypergeometric functions
  7. Fermi-Dirac integrals

Future ideas

  • [] Inverse Fermi-Dirac integrals
  • [] Parabolic cylinder function

Installation

Get the latest stable release with Julia's package manager:

julia ] add FewSpecialFunctions

Quick example

Here is how to generate an Euler spiral using FewSpecialFunctions.jl.

using Plots, FewSpecialFunctions, LaTeXStrings

plot_font = "Computer Modern"
default(
    fontfamily=plot_font,
    linewidth=2.5,
    framestyle=:box,
    label=nothing,
    grid=true,
    palette=:tab10,
)

x = range(-25,25,5000)

plot(Fresnel_C_erf.(x),Fresnel_S_erf.(x))
xlabel!(L"C(x)")
ylabel!(L"S(x)")
title!("Euler Spiral")
plot(Fresnel_C_erf.(x),Fresnel_S_erf.(x))