[Top][All Lists]

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

Re: Inferring required class for output arguments

From: CdeMills
Subject: Re: Inferring required class for output arguments
Date: Thu, 12 Aug 2010 07:47:41 -0700 (PDT)

Jaroslav Hajek-2 wrote:
> Since you can overload subsref virtually arbitrarily, you can make it,
> say,
> x.dataframe(:, 2)
> an alternative is to overload
> x(:,2).dataframe
> but then be sure to overload indexed numel properly (yes and you must
> use Octave 3.3.51+).

I implemented both forms:
where output format may be 'dataframe', 'cell', or numeric types like
'double' to force a downclassing/upclassing in case of different columns
type. I pushed the modifications in svn on sourceforge.


View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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