[sage-support] Possible Sqrt Simplification Bug

2014-10-29 Thread Zak V
Hello, I believe I found a bug in how radicals are simplified. The general idea is that sqrt(x^2)=abs(x), but sage simplifies sqrt(x^2) to x instead, even if x is negative. I've included a simple example below. sage: x = var('x') sage: assume(x0) sage: expr = sqrt(x^2) sage:

[sage-support] Passing graphics objects

2014-03-24 Thread steven . v . wilkinson
I want to create a plot by traversing a tree where some leaves of the data structure add line segments. I am trying to pass one graphics object to a function that adds a line segment to the graphics object. I assumed the graphics object is passed by reference so that changes inside the function

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-11-01 Thread V
, October 31, 2012 8:49:03 PM UTC+1, Dima Pasechnik wrote: On 2012-10-31, V vesselin@gmail.com javascript: wrote: --=_Part_281_17041689.1351705746629 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry, I was not able to attach the full

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-11-01 Thread V
mpc ii libmpc-dev 0.8.2-1+b1 multiple precision complex floating-point library development package ii libmpc2 0.8.2-1+b1 multiple precision complex floating-point library Any ideas? Thanks! V

[sage-support] AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-10-31 Thread V
: 'Sage Version 4.8, Release Date: 2012-01-20' on a 64-bit machine running Debian GNU/Linux. Thanks for your help! Regards, V. -- You received this message because you are subscribed to the Google Groups sage-support group. To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-10-31 Thread V
and including the relevant part of the log file /tmp/sage-5.3/spkg/logs/gcc-4.6.3.log ... Please find attached the log file. FYI, I am using Debian GNU/Linux running on a 64-bit machine. Thanks for your help! V. On Wednesday, October 31, 2012 6:14:37 PM UTC+1, John H Palmieri wrote

[sage-support] Re: AttributeError: 'sage.rings.polynomial.pbori.BooleanPolynomial' object has no attribute 'lc'

2012-10-31 Thread V
Sorry, I was not able to attach the full log file gcc-4.6.3.log. Please find below the most relevant parts of it. ... checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... yes configure: updating cache

[sage-support] Re: substitution problem

2009-03-31 Thread V
On Mar 30, 6:07 pm, Jason Grout jason-s...@creativetrax.com wrote: V wrote: Hi, I'm fairly new to sage with some background in maxima. My workbook is shared at http://www.sagenb.org/home/pub/410/ the last three lines show the error I get. Basically, I derive an equilibrium

[sage-support] Re: substitution problem

2009-03-31 Thread V
This is exactly what I wanted. Thanks for your help! :) I'll look up the maxima manuals to see if I can force it to think harder. Thanks anyway! Have a nice day! V On Mar 31, 3:35 pm, Jason Grout jason-s...@creativetrax.com wrote: V wrote: On Mar 30, 6:07 pm, Jason Grout jason-s

[sage-support] substitution problem

2009-03-30 Thread V
induction), but maxima fails (line -2) with simplifying after the substitution is made, even though the substitution is successful (line -3). I expect to receive the line in the last paragraph as defined by D1p. Is this a bug or did I made a mistake? Thanks for your help! V