function ellk=ellkVec(k) % Computes polynomial approximation for the complete elliptic % integral of the first kind (Hasting's approximation): m1=1-k.*k; m1(m1