Ask Your Question

Robert Samal's profile - activity

2012-10-04 12:55:11 +0200 commented answer How to represent the answer of linear programming in Rational mode

According to http://www.sagemath.org/doc/reference/sage/libs/ppl.html (to which the above link points), PPL computes in QQ.

2012-05-10 08:29:48 +0200 commented answer Resuming a running process in Sage

Strange -- in notebook I also get "No object vertex_coloring" (is this a bug?). It works well in the command-line interface to sage though. Also one can look directly at the file, which is (as vertex_coloring? or vertex_coloring?? on command-line tells you) at local/lib/python2.6/site-packages/sage/graphs/graph_coloring.py under your sage installation.

2012-05-10 08:16:21 +0200 commented answer check if the result is a real number

It is not so easy: arccos(2) in RR is evaluated as true, while arccos(2).n() is NaN. The best we found with my student is a.n() != NaN and a.n().is_real() -- is this too complicated? See also http://bit.ly/LndAoI

2012-03-22 16:46:00 +0200 received badge  Supporter (source)