From octave-maintainers-request at bevo dot che dot wisc dot edu Sun Nov 16 09:48:41 2003 Subject: Re: Documentation for dynamically loadable types? From: "John W. Eaton" To: pkienzle at users dot sourceforge dot net Cc: N Smethurst , octave-maintainers mailing list Date: Sun, 16 Nov 2003 09:48:39 -0600 On 16-Nov-2003, pkienzle at users dot sourceforge dot net wrote: | As for help defining new types, the octave examples directory | includes an example of defining a new integer and octave-forge | includes definitions for five new types. The simplist is a | triangular matrix type defined in extra/linear-algebra/ov-re-tri.h. | The others are in main/comm, main/symbolic, main/sparse, | and main/miscellaneous/dispatch.cc. Plus you can see how | types are defined in the octave code, which you will need to | understand structure dereferencing anyway. Un?fortunately, with the recent changes to support N-d array types in Octave, the octave_value internals have changed significantly. I probably broke some of the things in octave-forge, but should have some time to help to put them back together this coming week. jwe