MATLAB: Which method does the mfun-function ellipticK use

ellipticelliptic integralelliptickintegralmethod

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!

Best Answer

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.)