Help - IDL Basic Question [message #93146] |
Mon, 02 May 2016 23:11  |
kubota
Messages: 5 Registered: May 2016
|
Junior Member |
|
|
As a beginner with IDL, I am trying to understand several lines contained in an IDL program relating to vectors.
The first line I don't understand is:
fc = call_function(fun,xc)
Here, xc is a vector.
Is fc a scalar or vector, being that xc is a vector?
If fc is a scalar, which element of xc is being used for the function calculation?
If fc is a vector, does that mean that the vector fc is filled with all the function evaluations of the x values in xc?
Thank you for assistance.
|
|
|
Re: Help - IDL Basic Question [message #93149 is a reply to message #93146] |
Tue, 03 May 2016 01:20  |
Markus Schmassmann
Messages: 129 Registered: April 2016
|
Senior Member |
|
|
type the following: help, fc
this tells you whether it's a vector or scalar
The answers to the other questions depend on what function your calling,
it's impossible for us here to answer without more information.
On 03.05.2016 at 08:11 wrote kubota:
> As a beginner with IDL, I am trying to understand several lines contained in an IDL program relating to vectors.
>
> The first line I don't understand is:
>
> fc = call_function(fun,xc)
>
> Here, xc is a vector.
> Is fc a scalar or vector, being that xc is a vector?
> If fc is a scalar, which element of xc is being used for the function calculation?
> If fc is a vector, does that mean that the vector fc is filled with all the function evaluations of the x values in xc?
|
|
|