help-octave
[Top][All Lists]
Advanced

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

Re: Help-octave Digest, Vol 17, Issue 34


From: Matthias Brennwald
Subject: Re: Help-octave Digest, Vol 17, Issue 34
Date: Sat, 18 Aug 2007 20:15:35 +0200


On 18.08.2007, at 19:04, address@hidden wrote:

I can say:

b.a=@(X)(disp(X-3))

if I then say

c = b
c.a(7)

I get 4 as expected.

This looks to me like 90% of object oriented programming is in octave.
Is there some way that I can get at the other elements of "b" and "c"
from the member "a".

Which 'other elements' of b and c do you mean? In your example above, I can see only one element (a) in b and c.

Matthias


-------
Matthias Brennwald
L├Ągernstrasse 6
CH 8037 Z├╝rich
+41 (0)44 364 17 03
address@hidden





reply via email to

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