On Thu, Aug 28, 2008 at 11:06 PM, Robert Dodier <[EMAIL PROTECTED]> wrote:
> On 8/28/08, William Stein <[EMAIL PROTECTED]> wrote:
>
>> Sage uses Maxima's solve command, and Maxima's solve
>> command is pretty wimpy, and we (Sage developers) intend
>> to write our own new solve command that can
On 8/28/08, William Stein <[EMAIL PROTECTED]> wrote:
> Sage uses Maxima's solve command, and Maxima's solve
> command is pretty wimpy, and we (Sage developers) intend
> to write our own new solve command that can deal with
> more general equations.
Go nuts, man. Hope you can write it in Pyth
On Thu, Aug 28, 2008 at 10:59 PM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
>
>
> On Aug 28, 10:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
>> On Thu, Aug 28, 2008 at 8:57 AM, Roger <[EMAIL PROTECTED]> wrote:
>>
>> > solve([x==0, 1-exp(y)==0],x,y)
>> > returns the empty set, although (0,0) is an
On Aug 28, 10:47 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 28, 2008 at 8:57 AM, Roger <[EMAIL PROTECTED]> wrote:
>
> > solve([x==0, 1-exp(y)==0],x,y)
> > returns the empty set, although (0,0) is an obvious solution. This
> > occurs also for other simple combinations involving
On Thu, Aug 28, 2008 at 8:57 AM, Roger <[EMAIL PROTECTED]> wrote:
>
> solve([x==0, 1-exp(y)==0],x,y)
> returns the empty set, although (0,0) is an obvious solution. This
> occurs also for other simple combinations involving exp, as well as
> for
> solve([y*sin(x)==0, cos(x)==0],x,y)
>
> What am I
On Thu, Aug 28, 2008 at 9:14 PM, Jason Grout
<[EMAIL PROTECTED]> wrote:
>
> MB wrote:
>> Using Robert's suggestion of repr() got me pretty close. The biggest
>> remaining issue is that Sage writes a^x whereas C needs pow(a,x). For
>> simple cases, I was able to fix this with regular expression
>
MB wrote:
> Using Robert's suggestion of repr() got me pretty close. The biggest
> remaining issue is that Sage writes a^x whereas C needs pow(a,x). For
> simple cases, I was able to fix this with regular expression
> substitution as follows:
>
> import re
> p = re.compile("([a-zA-Z0-9]+?)\\^([
The general asymptote issues referred to in this thread are now
http://trac.sagemath.org/sage_trac/ticket/3985 .
- kcrisman
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
Hello,
On Thu, Aug 28, 2008 at 6:47 AM, kcrisman <[EMAIL PROTECTED]> wrote:
>
> Speaking of asymptotes, any ideas on
> http://trac.sagemath.org/sage_trac/ticket/3907
> ? I would be glad to try it, but don't understand enough of how
> infinity and _tasteful_ticks work in Sage.
> ...
> Very good!
> There is a weird bug in Sage (or Python) where in some weird cases it
> blames sympy for every single thing that ever goes wrong.
> Go figure.
I noticed that too. It blames sympy.plotting, which has this:
try:
from ctypes import *
except:
raise ImportError("ctypes is re
On Thu, Aug 28, 2008 at 11:36 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>
> On Tue, Aug 5, 2008 at 6:27 AM, Alex Raichev <[EMAIL PROTECTED]> wrote:
>>
>> Hi all:
>>
>> I am having difficulty differentiating a formal symbolic function
>> multiplied by the symbolic constant 1 (see code below). I
Using Robert's suggestion of repr() got me pretty close. The biggest
remaining issue is that Sage writes a^x whereas C needs pow(a,x). For
simple cases, I was able to fix this with regular expression
substitution as follows:
import re
p = re.compile("([a-zA-Z0-9]+?)\\^([a-zA-Z0-9]+)")
o = open
The reciprocal of tangent is not a constant function, but Sage says
otherwise. This is now http://trac.sagemath.org/sage_trac/ticket/3980
.
(Incidentally, using z(x)=tan(x) also doesn't work, as it yields a
NotImplementedError (whose message could be better) for 1/z;
presumably the bug below wou
>
> >>> I don't know the best way to be "smart" about fixing this such as how
> >>> much of the asymptote to include, etc.
> >> Yeah, I was thinking about this, because what you would really want to
> >> do is have an algorithm which would automatically check if the 'bend'
> >> was too great compa
Weird, the text version of the notebook had code that was not
displayed at all (below id=25).
I deleted it from the text version, restarted the notebook, evaluated
all, it worked, I did this a couple of times and then again: boom. The
interesting thing is that if I repeated the last command manua
Robert,
Thanks! That helps.
--Michael
On Aug 28, 1:04 pm, Robert Bradshaw <[EMAIL PROTECTED]>
wrote:
> On Thu, 28 Aug 2008, MB wrote:
>
> > I'm converting over from mathematica to Sage. One thing I need to do
> > is write a large number of expressions to an ASCII file as C code, or
> > someth
Mike Hansen wrote:
> Hello,
>
> On Tue, Aug 26, 2008 at 8:47 PM, kcrisman <[EMAIL PROTECTED]> wrote:
>> There have been tons of great improvements to the plotting making
>> their way through trac lately. Do any of those changes for ranges
>> etc. deal with the very weird output one gets for e.g.
Robert Bradshaw wrote:
> On Aug 28, 2008, at 6:47 AM, kcrisman wrote:
>
>> Thanks for the replies (and the great work!). Some followup below:
>>
>>> Nope, none of these are fixed by the new changes. I tried Maple and
>>> it did the same thing -- I don't know what Mathematica does. You can
>>>
Well, the behaviour is erratic, indeed. Sometimes it works, sometimes
it does not. I deleted the %hide command and then it worked once or
twice, then it didn't any more etc. Could it have something to do with
other notebooks that I have open at the same time? It's a mystery and
obviously difficult
Hi,
Maple has a really useful feature of inert integrals
and derivatives. Basically, the integrals and derivatives
show up in the equations, but aren't evaluated until
a command to evaluate them is explicitly given. So,
you can delay the evaluation until after you've processed
the expression to t
Hi Stan,
Thanks for the step by step test. Unfortunately I wasn't able to
reproduce the bug. Your exact test is in my testing document.
On Thu, Aug 28, 2008 at 10:26 AM, Ryan <[EMAIL PROTECTED]> wrote:
>
> I have seen this as well, and almost all my worksheets use the %hide
> command within the
On Fri, Jun 27, 2008 at 3:06 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>
> I'm not sure if what you report is a bug in SAGE. SAGE calls Maxima. If Maxima
> refuses to integrate that integral (and I think it *should* but maybe
> the algebra
> is too complicated for it) then SAGE won't do it eithe
On Sat, Jul 26, 2008 at 3:58 AM, Jason Grout
<[EMAIL PROTECTED]> wrote:
>
> David Joyner wrote:
>> On Fri, Jul 25, 2008 at 8:06 PM, John H Palmieri <[EMAIL PROTECTED]> wrote:
>>> On Jul 25, 12:31 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
I'm not sure how you would enter a matrix that size
On Sat, Aug 23, 2008 at 7:21 PM, Timothy Clemans
<[EMAIL PROTECTED]> wrote:
> No, but you're welcome to implement it. Maybe implement it in SymPy
> which is written in pure Python and included in Sage.
>
> On Sat, Aug 23, 2008 at 1:01 PM, Brian <[EMAIL PROTECTED]> wrote:
>>
>> Just curious, is the
On Tue, Aug 5, 2008 at 6:27 AM, Alex Raichev <[EMAIL PROTECTED]> wrote:
>
> Hi all:
>
> I am having difficulty differentiating a formal symbolic function
> multiplied by the symbolic constant 1 (see code below). Is this a
> bug? How can i work around it?
>
> Alex
> ==
On Thu, 28 Aug 2008, MB wrote:
>
> I'm converting over from mathematica to Sage. One thing I need to do
> is write a large number of expressions to an ASCII file as C code, or
> something reasonably close. Mathematica has the CForm[] operator for
> this, which doesn't quite make C code but is p
I'm converting over from mathematica to Sage. One thing I need to do
is write a large number of expressions to an ASCII file as C code, or
something reasonably close. Mathematica has the CForm[] operator for
this, which doesn't quite make C code but is pretty close.
In Sage, I tried writing str
On Aug 28, 2008, at 6:47 AM, kcrisman wrote:
>
> Thanks for the replies (and the great work!). Some followup below:
>
>> Nope, none of these are fixed by the new changes. I tried Maple and
>> it did the same thing -- I don't know what Mathematica does. You can
>> do these as a workaround:
>>
>
How can I continue a line inside a < >?
I want to write something like "A. = ZZ[]" over two lines.
After typing "A.http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---
On Thu, Aug 28, 2008 at 9:47 AM, phil <[EMAIL PROTECTED]> wrote:
>
> How can I continue a line inside a < >?
> I want to write something like "A. = ZZ[]" over two lines.
> After typing "A. message.
Unfortunately I don't think you can do that. Sorry. You might want to
try using the inject_variab
it seems to have worked ! thanks !
On Aug 28, 4:03 pm, Pierre <[EMAIL PROTECTED]> wrote:
> ah, ok, m4 was just plain missing. I've installed it, the rest was
> there, let me try again !
>
> On Aug 28, 3:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > On Thu, Aug 28, 2008 at 6:27 AM, Pierr
solve([x==0, 1-exp(y)==0],x,y)
returns the empty set, although (0,0) is an obvious solution. This
occurs also for other simple combinations involving exp, as well as
for
solve([y*sin(x)==0, cos(x)==0],x,y)
What am I doing wrong? Thanks. (Sage 3.0.2 on Mac OSX)
--~--~-~--~~
Dan Drake wrote:
> On Wed, 27 Aug 2008 at 05:18PM -0700, Mike Hansen wrote:
>> Hi Dan,
>>
>> On Wed, Aug 27, 2008 at 5:13 PM, Dan Drake <[EMAIL PROTECTED]> wrote:
>>> The "Plotting functions with asymptotes" thread reminded me of something
>>> I've wondered for a while: is it possible to get acces
I have seen this as well, and almost all my worksheets use the %hide
command within the first few cells. I don't seem to have this
problem when I don't hide the first few cells.
I am only using Firefox 2.0.0.16 for Windows XP and Sage 3.1.1.
--~--~-~--~~~---~--~---
ah, ok, m4 was just plain missing. I've installed it, the rest was
there, let me try again !
On Aug 28, 3:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 28, 2008 at 6:27 AM, Pierre <[EMAIL PROTECTED]> wrote:
>
> > I'm on sage 3.0.2 on ubuntu, i've tried sage --upgrade and got thi
Thanks for the replies (and the great work!). Some followup below:
> Nope, none of these are fixed by the new changes. I tried Maple and
> it did the same thing -- I don't know what Mathematica does. You can
> do these as a workaround:
>
Interesting that Maple does it. Anyone know about Mma?
On Thu, Aug 28, 2008 at 6:27 AM, Pierre <[EMAIL PROTECTED]> wrote:
>
> I'm on sage 3.0.2 on ubuntu, i've tried sage --upgrade and got this:
>
> checking for suitable m4... configure: error: No usable m4 in $PATH
> or /usr/5bin (see config.log for reasons).
> Failed to configure.
>
> i can't find t
I'm on sage 3.0.2 on ubuntu, i've tried sage --upgrade and got this:
checking for suitable m4... configure: error: No usable m4 in $PATH
or /usr/5bin (see config.log for reasons).
Failed to configure.
i can't find the file config.log anyway.
help ?
--~--~-~--~~~---~-
Dear Martin,
On Aug 28, 12:44 pm, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
> I'd expect that too, however the purpose could be something completely
> different which could conflict with that behavior.
I played around a little bit, and in fact html(X) uses the method
X.__html__() if it exists.
> What does html() exactly do? According to the doc string, its argument
> must be a string.
> It seems to me that it just garnishes the string with ` color='black'>` and ``.
It seems that way, check sage.misc.html for implementation details.
> And this is surprising to me. My expectation was th
There are two separate things going on here.
I think this is a bug:
sage: vector(range(3))
TypeError: unable to find a common ring for all elements
since this does work:
sage: vector(srange(3))
(0, 1, 2)
The difference is that the elements of range(3) are python ints while
the elements of sran
Dear all,
I use pylab for plotting, which requires creating lists of x and y
values. Now, in order to manipulate the lists, I would like to perform
simple operations on them, like for example multiply by 2. However,
lists seem to behave very differently to vectors when performing
mathematical ope
On Aug 28, 10:45 am, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
> Then I don't know. I suppose it is NotImplementedError.
Ok.
What does html() exactly do? According to the doc string, its argument
must be a string.
It seems to me that it just garnishes the string with `` and ``.
And this is sur
On Aug 28, 3:20 am, Kwankyu <[EMAIL PROTECTED]> wrote:
> The "evaluate" button sitting just below ...somewhat irritates eyes.
Hi, i think i already told someone that this is a bad ui design. I
even don't understand why it is disappearing at all...
h
--~--~-~--~~~---~-
Hi,
The "evaluate" button sitting just below the active cell in a notebook
causes some irritation. It appears and disappears as a particular cell
becomes active and inactive, causing any output text below the cell to
move a bit up and down. This somewhat irritates eyes. I suggest to
leave a small
On Thursday 28 August 2008, Simon King wrote:
> On Aug 28, 10:37 am, Martin Albrecht <[EMAIL PROTECTED]>
>
> wrote:
> > Shouldn't view(p) do the job by typesetting it with jsMath?
>
> I don't want it to pop up -- i only need the string.
Then I don't know. I suppose it is NotImplementedError.
Mar
On Aug 28, 10:37 am, Martin Albrecht <[EMAIL PROTECTED]>
wrote:
> Shouldn't view(p) do the job by typesetting it with jsMath?
I don't want it to pop up -- i only need the string.
Cheers
Simon
--~--~-~--~~~---~--~~
To post to this group, send email to sage-su
On Thursday 28 August 2008, Simon King wrote:
> Dear all,
>
> sage: R.=GF(5)[]
> sage: p=R.random_element()
> sage: html(p)
> x^2 - 2*y*z + z^2 - 2*y
>
> Is there an easy way to have an output that will appear in the browser
> as a polynomial with proper exponents (such as x2 - ... +
> z2...) ?
S
Hi Timothy,
Thanks for following this up.
Your code works for me, too. However, if I create cells with:
%hide
%html
For testing purposes:
- Evaluate-
var('ab av jbiom lwat p rwat biom veloc mort epot esv etv esb etb wv wb
qbv qvb bv')
-Evaluate-
dwaterv = (av*p - esv - etv - qvb + qbv)
dwa
Dear all,
sage: R.=GF(5)[]
sage: p=R.random_element()
sage: html(p)
x^2 - 2*y*z + z^2 - 2*y
Is there an easy way to have an output that will appear in the browser
as a polynomial with proper exponents (such as x2 - ... +
z2...) ?
Cheers
Simon
--~--~-~--~~~---~
50 matches
Mail list logo