28 Nov
2008
28 Nov
'08
2:39 p.m.
Hi, On Fri, Nov 28, 2008 at 9:37 AM, Westbury, Bruce <Bruce.Westbury@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, Vladimir