octave-maintainers
[Top][All Lists]
Advanced

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

Re: Help with [] for defined types


From: David Bateman
Subject: Re: Help with [] for defined types
Date: Mon, 5 Jul 2004 11:15:55 +0200
User-agent: Mutt/1.4.1i

Unfortunately you need more than that.... At the moment "[]" is
hard-coded in pt-mat.cc in tree_matrix::rvalue. John talked about
doing something about this. See the threads.

http://www.octave.org/octave-lists/archive/help-octave.2003/msg02027.html
http://www.octave.org/mailing-lists/octave-maintainers/2004/243

Cheers
David

According to Andy Adler <address@hidden> (on 07/05/04):
> I'm trying to get s1=[s2,s3] to work for the sparse type.
> 
> Looking at the code in liboctave, it seems that you need
> to define a method:
> 
>    int octave_sparse::cat (const octave_sparse& ra_arg, int dim, int iidx,
>        int move);
> 
> I've tried defining this, but to no avail. Also, its not clear to me what
> the various parameters are, and what the method should return.
> 
> Would some kind person mind clarifying this for me?
> 
> Thanks
> 
> Andy
> 

-- 
David Bateman                                address@hidden
Motorola CRM                                 +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 1 69 35 77 01 (Fax) 
91193 Gif-Sur-Yvette FRANCE

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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