[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
call
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:
<http://savannah.gnu.org/bugs/?53220>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/