[GiNaC-list] Bug with evalm()?

Martin Sandve Alnæs martinal at simula.no
Mon Mar 26 10:04:33 CEST 2007


2007/3/26, Richard B. Kreckel <kreckel at ginac.de>:
> But back to the original topic: I do hope that the sum-of-matrices
> evaluation thingie is no reason for despair. Way back, that was a
> deliberte decision. But maybe it was a mistake to place matrices in the
> type hierarchy at all. Maybe they would be less confusing if they were
> not subtypes of basic, managed by ex, but classes standing apart from
> the rest of the hierarchy. That would duplicate some code, however. From
> past discussions, my impression is that this idea would have some
> followers on this list.

At the moment, I think my own alternative would be to write such a
matrix class myself. I might also handle general rank r tensors as
well if I do that.

-- 
---
Martin Sandve Alnæs
PhD student, Cardiac Computations
Simula Research Laboratory, Norway


More information about the GiNaC-list mailing list