[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using functions from octave_base_value on class defined in .m files
From: |
John W. Eaton |
Subject: |
Re: Using functions from octave_base_value on class defined in .m files ? |
Date: |
Tue, 23 Nov 2010 14:02:21 -0500 |
On 23-Nov-2010, CdeMills wrote:
| I implemented all those small mapping functions the way you explained. Now
| I'm blocked by expressions like [a b] or [a; b] : I overloaded horzcat and
| vertcat but it seems not effective : which function implements the []
| (catting) operator ?
In the current development sources, Octave looks for horzcat and
vertcat when processing the [ .. ] operator. I don't think this was
done until after 3.2 was released.
| For the other question: I have functions defined under @dataframe/ : there
| are class functions, and supposed to overload basic Octave functions. Now
| let say I want function my_func, implemented in my_func.m, to operate on
| dataframes: where should I put the function body such that is is found in
| the octave load path ?
You should be able to have multiple @dataframe directories in your
load path and Octave will find the methods in each.
jwe