[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OO in octave.
From: |
Carnë Draug |
Subject: |
Re: OO in octave. |
Date: |
Thu, 31 Jan 2013 12:37:11 +0000 |
On 31 January 2013 12:26, <address@hidden> wrote:
> Date: Thu, 31 Jan 2013 00:09:17 +0100
> From: ernst <address@hidden>
> To: address@hidden
> Subject: OO in octave.
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi all,
> i know OO from java: x.function(a,....) means function(x,a,...)
> where the class of x determines the choice of the function.
>
> For octave i did not find an according statement in the docu.
> Does octave rely on the 1st argument only, as java does or does it look
> after all?
You can have both ways with Octave. Look at the inputParser class in
the general package for an example. Basically you'll need to play with
subsasgn and subsref.
Carnë
- Re: OO in octave.,
Carnë Draug <=