[sage-support] Re: Contour plots of data points...

2012-04-13 Thread Jason Grout
On 4/13/12 5:45 AM, Tobias Weich wrote: Another possibility which I use is to add the ContourPlot Object by hand in a Graphics object: sage: from sage.plot.contour_plot import ContourPlot sage: C = ContourPlot(data,(0,9),(0,9),options={'fill':True, 'contours':30, 'legend_label':None}) sage:

[sage-support] Re: Contour plots of data points...

2012-04-13 Thread Jason Grout
On 4/13/12 5:45 AM, Tobias Weich wrote: However it has been quite dissatisfactory for me that the first example in the documentation was in principle what I was looking for but nowhere was written how to use it (make it visible) and in all the following examples where only ContourPlots of

[sage-support] Solving a set of quadratic inequalities (continuous)

2012-04-13 Thread Nathann Cohen
Hello everybody !!! I would like to solve a set of equations with a very easy shape. My equations are defined on variables p1_x, p1_y, p2_x, p2_y, ..., and I would like to obtain values for them satisfying constraints like : |p1 - p2| 1, i.e. (p1_x - p2_x)^2 + (p1_y - p2_y)^2 1 or something

Re: [sage-support] Solving a set of quadratic inequalities (continuous)

2012-04-13 Thread Nathann Cohen
Couldn't you use SCIP for this? O probably !! I will take a look at its documentation :-) Nathann -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit

[sage-support] Re: rank of elliptic curve

2012-04-13 Thread William Stein
2012/4/13 雷德利 dl...@xidian.edu.cn: Professor William A. Stein:    Several years ago,I find a online software named elliptic curves calculator on your homepage which can output the rank,generators of an elliptic curve.Today,I can not find it.I want to know some information of specific

[sage-support] trouble with M.hessenberg_form()

2012-04-13 Thread Ben Goodrich
Hi, I am confused by the output of the hessenberg_form() method applied to a symmetric matrix. In sage 4.8, the result is neither symmetric nor tridiagonal. For example, I unsuccessfully tried to replicate an example from http://eigen.tuxfamily.org/dox/classEigen_1_1Tridiagonalization.html

Re: [sage-support] Importing Cython .so module

2012-04-13 Thread Emil
If no-one can answer this question, does anyone have an idea of another forum where people may know the answer? Thanks!  -Emil -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more

Re: [sage-support] Importing Cython .so module

2012-04-13 Thread Robert Bradshaw
On Sat, Apr 7, 2012 at 4:06 AM, Emil emi...@gmail.com wrote: On 7 April 2012 01:14, Maarten Derickx m.derickx.stud...@gmail.com wrote: Does executing: import foo give what you want or is your problem different? import foo doesn't do much, as foo/__init__.py is empty. I have adopted the

Re: [sage-support] Random Polynomials with restricted coefficients and homogeneous.

2012-04-13 Thread Robert Bradshaw
Doing sage: ZZ.random_element? tells you that ZZ takes x and y arguments for min/max. Polynomial rings' random_element pass extra keywords down to the basrings, so one can do sage: P.random_element(degree=10, terms=10, x=-9, y=9) -9*x^8*y^2 + x^8 + x^7*y + 8*x^6*y^2 - 7*x^2*y^6 -