Which method does the mfun-function ellipticK use?

I'm wondering which method the ellipticK-function for the calculation of a complete elliptic integral of the first kind.
Thank's a lot for your help!

 Risposta accettata

Very often the documentation for the function will mention the algorithm, but in this case it doesn't seem to. You could try
>> edit ellipticK
and see if there are references in the header of the function. (I don't have that Toolbox, so I can't check.)

1 Commento

thanks a lot for the fast answer :)
somehow I can't access the function directly, as it is part of the mfun list. But I've just read in the help-tool, that ellipticK uses ellipke, which itseld uses the Arithmetic–geometric mean-method.... So, I think, that's the answer...

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by