[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53220] Sending strings to quadl

From: Rik
Subject: [Octave-bug-tracker] [bug #53220] Sending strings to quadl
Date: Mon, 26 Feb 2018 12:52:49 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53220 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

You can use just

quadl ("sin", 0, pi)
ans =  2.0000

The string in question is the name of the function, rather than actual code. 
For example, if you had an m-file implementation named myfunc.m then you would

quadl ("myfunc", 0, pi)

You couldn't use

quadl (myfunc, 0, pi)

because that would mean that you wanted to call myfunc and use the return
value as the first argument to quadl.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]