function result = jacobi_cnk ( x, k )

%*****************************************************************************80
%
%% jacobi_cnk(): Jacobi's elliptic function cn(x,k).
%
%  Discussion:
%
%    jacobi_cnk(X,K) is the Jacobi's function CN of the elements of X and
%    modulus K. X and K must all be real and the same size or any of them
%    can be scalar.
%
%  Modified:
%
%    19 November 2020
%
  if nargin < 2
    error('Not enough input arguments.');
  end

  result = ufun2 ( @jcn, x, k );

  return   
end

