Autoconf

Christian Bauer cbauer at student.physik.uni-mainz.de
Thu Nov 2 16:30:15 CET 2000


Hi!

On Sun, Oct 29, 2000 at 03:13:53PM +0100, Richard B. Kreckel wrote:
> This would still leave us with the question how to access expairseq::seq.coeff
> and expairseq::overall_coeff from outside.  Is the foo.op(foo.nops()-1)
> approach something one should live with or should we accept that others
> expect the representation as it is and add inspector methods?

IMHO, users of GiNaC should not reply on the internal representation of
algebraic objects (even that op(nops()-1) thing is suspicious to me), because
that representation has changed, and will change sometime in the future.
Extensions to GiNaC in the form of new classes, however, may benefit from
or even require access to the internal representation, in which case the
C++ "friend" mechanism can be used.

Bye,
Christian

-- 
  / Coding on PowerPC and proud of it
\/ http://www.uni-mainz.de/~bauec002/



More information about the GiNaC-devel mailing list