A good OOP class to use for example in the manual?

David Bateman dbateman at dbateman.org
Sun Sep 28 16:09:20 CDT 2008


I still have a couple of issues with the OOP code in Octave, and am 
looking at

* Ability to load/save classes, including saveobj and loadobj methods
* get dbstop to work in class methods

but apart from that I'm pretty much ready put some words to paper (or 
rather bits to a file) for the OOP documentation for the 3.2 release. I 
wrote a fairly complete Galois field GF(2^M) class just to try and find 
out how all of this stuff was put together. However, this class seems a 
bit complex as the stuff about primitive polynomials of the field are 
added details that most users really don't need to know. Does anyone 
have an idea of a good example class that might be used that

1) Demonstrates all details of the OOP code
2) Is relatively simple
3) Has some basically useful function

Matlab used a polynomial class and an asset/stock hierarchical class in 
their documentation, but I'd rather not use something that is too 
similar to what they use to remove all risk of accusations of plagiarism.

D.


-- 
David Bateman                                dbateman at dbateman.org
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



More information about the Octave-maintainers mailing list