[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Function as argument of a function.
From: |
Fredrik Bulow |
Subject: |
Function as argument of a function. |
Date: |
Wed, 13 Oct 2004 05:23:03 -0500 |
Hi all!
Is there any way to send a function as an argument to another function?
I want to do something looking like this:
function minima = find_min(f)
where f is not a matrix, but a function. Calls of this function could
look like:
find_min(sin)
find_min(my_function) etc...
/Fredrik
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Function as argument of a function.,
Fredrik Bulow <=