octave-maintainers
[Top][All Lists]
Advanced

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

Help with [] for defined types


From: Andy Adler
Subject: Help with [] for defined types
Date: Mon, 5 Jul 2004 00:49:26 -0400 (EDT)

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




reply via email to

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