Description: Elliptic_Integrals::Elliptic(const double phi, const double k) computes elliptic integrals F(ϕ,k) and E(ϕ,k).
Usage:
std::vector<double> Elliptic_Integrals::Elliptic(const double phi, const double k)
Parameters:
Returns: A vector containing the values of F(ϕ,k) (at the first position) and E(ϕ,k) (at the second position).
Exceptions:
Special Cases:
Note: This implementation has a maximum iteration limit of 1000. Adjustments may be needed based on the desired precision and performance requirements.
**Related papers: ** Shanjie Zhang, Jian-Ming Jin, "Computation of Special Functions" Irene A. Stegun, Milton Abramowitz, "Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables"