[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
class inheritance
From: |
David Bateman |
Subject: |
class inheritance |
Date: |
Sun, 12 Oct 2008 20:38:26 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.16 (X11/20080724) |
There is one final feature of the OOP classes that I see is missing in
Octave. That is class inheritance. For example
@uppertri/uppertri.m
might be a constructor for an upper matrix class and it should inherit
from the "double" class and so I'd expect the class to class in the
contructor to look like
a = class (a, "uppertri", b)
where b is of class "double" and contains the matrix. Should we
implement this? Frankly, I'm not sure of the complexity involved in such
an implementation.
D.
--
David Bateman address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
--
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- class inheritance,
David Bateman <=