| Re: This procedure is resulting in errors... [message #71539] |
Mon, 28 June 2010 09:47 |
penteado
Messages: 866 Registered: February 2018
|
Senior Member Administrator |
|
|
On Jun 28, 1:31 pm, atmospheric physics <blmadha...@gmail.com> wrote:
> The following is the procedure for computation of legendre
> moments. I am trying to compile the examples indicated in the
> procedure, but they were showing that the arguments of LEGENDRE shall
> be equal to or greater than 0. Normally, the arguments will be between
> -1 and 1 in my case.
The arguments being passed to legendre() do not look like the function
intended to be called is IDL's legendre(), but some other with the
same name. This other function is not being found, so IDL is using its
own. IDL's legendre() takes as the first argument the coordinate where
the function is to be evaluated, and for second and third arguments,
the Legendre orders.
|
|
|
|