Yann on Tue, 05 Apr 2005 10:57:57 +0200


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

[bug report] Member functions


It seems that it is not possible to define member functions in the latest CVS build (2.2.10). This example worked fine with the 2.2.9 release, but now :

~ $ gp
Reading GPRC: /etc/gprc ...Done.

         GP/PARI CALCULATOR Version 2.2.10 (development CHANGES-1.1184)
           i686 running linux (ix86/GMP-4.1.4 kernel) 32-bit version
              compiled: Apr  5 2005, gcc-3.3.5 (Debian 1:3.3.5-8)
                (readline v5.0 enabled, extended help available)

                     Copyright (C) 2000-2005 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

parisize = 4000000, primelimit = 500000
? x.xi=x[2];
? a=[10,20,30];
? a.xi
  ***   unknown member function: a.xi
                                   ^--
?
Goodbye!
~ $

--
Yann Villessuzanne