[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing for function handles
From: |
John W. Eaton |
Subject: |
Re: Testing for function handles |
Date: |
Wed, 9 Nov 2011 16:58:37 -0500 |
On 9-Nov-2011, Juan Pablo Carbajal wrote:
| I could work on the implementation of a function to check for
| function_handle. I would do something like what is done for ischar,
| src/strfns.cc line 297. I have noticed that there is already a
| is_function_hanlde in octave_values, so it is just a matter of
| defining the function.
Yes, that's what I would do. The args(0).is_defined () part of that
function is probably not needed.
| Now, where is the place for such a function? and Would you call it
| is_function_handle or isfunhandle or something alike?
I think it should be called is_function_handle. The file
ov-fcn-handle.cc is probably a good place for it.
jwe
- Testing for function handles, Dr. Alexander Klein, 2011/11/09
- Re: Testing for function handles, Juan Pablo Carbajal, 2011/11/09
- Re: Testing for function handles, Richard, 2011/11/09
- Re: Testing for function handles, Juan Pablo Carbajal, 2011/11/09
- Re: Testing for function handles, Richard, 2011/11/09
- Re: Testing for function handles, Richard Crozier, 2011/11/09
- Re: Testing for function handles, John W. Eaton, 2011/11/09
- Re: Testing for function handles, Juan Pablo Carbajal, 2011/11/09
- Re: Testing for function handles,
John W. Eaton <=
- Re: Testing for function handles, Juan Pablo Carbajal, 2011/11/09
- Re: Testing for function handles, Dr. Alexander Klein, 2011/11/10
- Re: Testing for function handles, Dr. Alexander Klein, 2011/11/09
- Re: Testing for function handles, Juan Pablo Carbajal, 2011/11/09