[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
33. Object Oriented Programming
Octave includes the capability to include user classes, including the features of operator and function overloading. Equally a user class can be used to encapsulate certain properties of the class so that they cannot be altered accidentally and can be set up to address the issue of class precedence in mixed class operations.
This chapter discussions the means of constructing a user class with the example of a polynomial class, how to query and set the properties of this class, together with the means to overload operators and functions.
33.1 Creating a Class | ||
33.2 Manipulating Classes | ||
33.3 Indexing Objects | ||
33.4 Overloading Objects | ||
33.5 Inheritance and Aggregation |