octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: David Bateman
Subject: A good OOP class to use for example in the manual?
Date: Sun, 28 Sep 2008 23:09:20 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080725)

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                                address@hidden
35 rue Gambetta                              +33 1 46 04 02 18 (Home)
92100 Boulogne-Billancourt FRANCE            +33 6 72 01 06 33 (Mob)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]