[GiNaC-list] (no subject)

Vladimir V. Kisil kisilv at maths.leeds.ac.uk
Fri Nov 28 14:39:33 CET 2008


On Fri, Nov 28, 2008 at 9:37 AM, Westbury, Bruce
<Bruce.Westbury at warwick.ac.uk> wrote:
> looks like a matrix but for instance the line below with A(0,0) causes an
> error. If I change "ex A" to "matrix A" it also causes an error.

Leave "ex A" as the type definition but try ex_to<matrix>(A)(0,0) for
a correct conversion of types. You will get used to it after a while.

Best wishes,

More information about the GiNaC-list mailing list