[sage-support] Re: numerical approx of quadratic with Cython

2015-07-16 Thread slabbe
Running sage -cython quadratic_numerical_approx.pyx gives a better error message : $ sage -cython quadratic_numerical_approx.pyx Error compiling Cython file: ... include sage/libs/ntl/decl.pxi ^

[sage-support] Re: integrating a matrix

2015-07-16 Thread Dominique Laurain
+ 1 with fidelcc maybe I will add SR (Symbolic Ring) after matrix( reference for integrating : http://tutorial.math.lamar.edu/Classes/DE/LA_Matrix.aspx or you can try writing some tricky code, writing a symbolic matrix using linear decomposition like that : M = x^0 M0 + x^1 M1 +... and the

Re: [sage-support] Re: integrating a matrix

2015-07-16 Thread Nils Bruin
On Thursday, July 16, 2015 at 3:57:20 AM UTC+2, fidelbc wrote: Maybe you can try implementing something along these lines *def integrate_matrix(A):* *m = A.nrows()* *n = A.ncols()* *return matrix(m,n, [entry.integrate() for row in A for entry in row ])* If you want to have

[sage-support] Re: Conversion from HRepresentation to Vrepresentation

2015-07-16 Thread Nathann Cohen
Sorry for asking, but from your question I am note sure that you have noticed the Vrepresentation and Hrepresentation to be found in the Polyhedron class?..

[sage-support] Conversion from HRepresentation to Vrepresentation

2015-07-16 Thread Anamika
I am working NNC_Polyhedrons. It needs to be reprented by HRepresentations. But, for visualisation and some computation purposes, I need to get the VRepresentation from the Hrepresentation of an NNC_Polyhedron. Is there anything already implemented like that? -- You received this message

Re: [sage-support] Re: integrating a matrix

2015-07-16 Thread fidelbc
Thanks for the input Nils! On Thursday, July 16, 2015 at 4:04:01 AM UTC-4, Nils Bruin wrote: On Thursday, July 16, 2015 at 3:57:20 AM UTC+2, fidelbc wrote: Maybe you can try implementing something along these lines *def integrate_matrix(A):* *m = A.nrows()* *n = A.ncols()* *