Jacobi’s am function
[sn]=amell(u,k)
:u real scalar or vector : :k scalar : :sn real scalar or vector :
Computes Jacobi’s elliptic function am(u,k) where k is the parameter and u is the argument. If u is a vector sn is the vector of the (element wise) computed values. Used in function %sn.