yes thanks...that did it!
cs
On Nov 19, 8:58 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 1:48 PM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > I have Apache proxying a publically accessible URL to Sage's localhost:
> > 8000.
>
> > I get html text rather tha
On Oct 14, 6:47 am, "William Stein" <[EMAIL PROTECTED]> wrote:
> This could be greatly sped up by changing
> maxima.assume('...')
> to
> maxima.eval("assume(..)")
> in the calculus code...
>
> sage: timeit("maxima.eval('assume(x>0)')")
> 5 loops, best of 3: 53.2 ms per loop
> sage: timeit("
On Wed, Nov 19, 2008 at 1:48 PM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> I have Apache proxying a publically accessible URL to Sage's localhost:
> 8000.
>
> I get html text rather than the Sage notebook. See here...
>
> http://seberino.org/calculus/sage
>
> Am I doing something wrong? I
On Wed, Nov 19, 2008 at 12:42 PM, gerhard <[EMAIL PROTECTED]> wrote:
>
> I tried to start up a track server from sage and got
> the error message
>TracError: Unsupported version control system "svn"
> On further inspection, I finally noted the Warning:
>"You should install the SVN bindings
On Nov 19, 2008, at 2:23 PM, Alex Raichev wrote:
>
> Hi all:
>
> I want to check if an expression A is a complex number? I tried the
> obvious
>
> sage: if A in CC:
> print "Yep."
>
> but that doesn't work.
This should work for everything *except* symbolic objects. sqrt(2) is
sy
Jason Grout wrote:
>
> I think the bug is in fast_float:
>
> from sage.ext.fast_eval import fast_float
> g=fast_float(2*cos)
> g(0)
>
> gives 0.0 (but should give 2.0).
We've fixed the bug. See http://trac.sagemath.org/sage_trac/ticket/4557
The fix should be out in the next version of Sage
Hi all:
I want to check if an expression A is a complex number? I tried the
obvious
sage: if A in CC:
print "Yep."
but that doesn't work. For instance,
sage: sqrt(2) in CC:
False
One method that does work is
sage: try:
CC(A)
except:
print
Jason Grout wrote:
> Scott Walck wrote:
>> The sage command
>>
>> plot(2*cos)
>>
>> produces a plot of 2*sin(x). This seems like a bug. This occurs in
>> sage 3.1.4 and on the web version.
>>
>> Note that
>>
>> plot(2*cos(x))
>>
>> works properly. Also,
>>
>> plot(2*sin)
>>
>> appears to give t
Scott Walck wrote:
> The sage command
>
> plot(2*cos)
>
> produces a plot of 2*sin(x). This seems like a bug. This occurs in
> sage 3.1.4 and on the web version.
>
> Note that
>
> plot(2*cos(x))
>
> works properly. Also,
>
> plot(2*sin)
>
> appears to give the correct plot.
(Cross-posti
The sage command
plot(2*cos)
produces a plot of 2*sin(x). This seems like a bug. This occurs in
sage 3.1.4 and on the web version.
Note that
plot(2*cos(x))
works properly. Also,
plot(2*sin)
appears to give the correct plot.
I would appreciate any insights people have on this.
Thanks,
On Nov 19, 1:48 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
Hi,
> I have Apache proxying a publically accessible URL to Sage's localhost:
> 8000.
>
> I get html text rather than the Sage notebook. See here...
>
> http://seberino.org/calculus/sage
>
> Am I doing something wrong? Is th
I have Apache proxying a publically accessible URL to Sage's localhost:
8000.
I get html text rather than the Sage notebook. See here...
http://seberino.org/calculus/sage
Am I doing something wrong? Is this the way to make a Sage notebook
publically available?
chris
--~--~-~--~~-
On Nov 19, 11:37 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> David Joyner wrote:
> > On Wed, Nov 19, 2008 at 1:17 PM, Timothy Clemans
> > <[EMAIL PROTECTED]> wrote:
> >> Are they using Internet Explorer? I don't have any of my Windows
> >> computers near by, so I can't test this myself until th
David Joyner wrote:
> On Wed, Nov 19, 2008 at 1:17 PM, Timothy Clemans
> <[EMAIL PROTECTED]> wrote:
>> Are they using Internet Explorer? I don't have any of my Windows
>> computers near by, so I can't test this myself until the middle of the
>> night.
>
>
> This happens for both IE and firefox (
I tried to start up a track server from sage and got
the error message
TracError: Unsupported version control system "svn"
On further inspection, I finally noted the Warning:
"You should install the SVN bindings"
when the project was created and initialized.
Browsing the web returned a gr
William Stein wrote:
> On Fri, Nov 14, 2008 at 3:19 PM, Jason Grout
> <[EMAIL PROTECTED]> wrote:
>> I just received this in an email from Wolfram:
>>
>> Dear Mathematica User,
>>
>> Soon we will release Mathematica 7! As a Premier Service
>
It's out now:
http://www.wolfram.com/products/mathema
On Nov 19, 12:02 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> I think bz2 is the smaller than tar.gz in general.
> You might try doing a few examples to see how they
> compare in the type of data you are compressing,
> to see if it makes a difference. I think decompressing tar.gz files
> migh
I think bz2 is the smaller than tar.gz in general.
You might try doing a few examples to see how they
compare in the type of data you are compressing,
to see if it makes a difference. I think decompressing tar.gz files
might be slightly faster in some examples than tar.bz2 files,
so it also depend
I have no problems downloading from sagenb.org on windows, using
firefox 2. There must be some extra security turned on - ? I am
using windows XP.
-Marshall
On Nov 19, 12:49 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 19, 2008 at 1:17 PM, Timothy Clemans
>
> <[EMAIL PROTECTED]>
Hello again...
On Nov 19, 6:18 pm, "David Joyner" <[EMAIL PROTECTED]> wrote:
> Is this platform
> independent??http://www.python.org/doc/2.5.2/lib/module-tarfile.html
> and/orhttp://mail.python.org/pipermail/python-list/2001-December/118010.html
> might help.
I see that there is not only tarfil
Dear Marshall, dear David,
these hints are very helpful. Thank you very much!
With 'subprocess', I succeeded to implement what I originally planned.
But the 'tarfile' module might provide a more robust and platform
independent solution. So, I'll probably change my code again.
Yours,
Simon
On Wed, Nov 19, 2008 at 1:17 PM, Timothy Clemans
<[EMAIL PROTECTED]> wrote:
>
> Are they using Internet Explorer? I don't have any of my Windows
> computers near by, so I can't test this myself until the middle of the
> night.
This happens for both IE and firefox (in woindows).
>
> On Wed, Nov
Are they using Internet Explorer? I don't have any of my Windows
computers near by, so I can't test this myself until the middle of the
night.
On Wed, Nov 19, 2008 at 12:40 PM, David Joyner <[EMAIL PROTECTED]> wrote:
>
> Hi:
>
> Perhaps this is known but I didn't find this in a quick search.
> I
On Nov 18, 2008, at 11:18 PM, Stan Schymanski wrote:
> Hi Robert,
>
> Will the fix of the interaction with Maxima allow conservation of
> precision of arguments passed through Maxima? This would satisfy my
> needs.
Actually, the "fix" is avoiding Maxima for everything symbolic.
> Depending on h
Hi:
Perhaps this is known but I didn't find this in a quick search.
I don't use windows or the notebook but my students do
and they cannot use the download sws feature at
sagenb.org. I think windows makes them allow javascript
windows, or something like that, and when you select
file->download fr
Thanks for reporting this. I emailed the maxima users list.
On Wed, Nov 19, 2008 at 11:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> Maybe someone has reported this already... but looks like there is a
> bug in integral
>
> sage: integral(x*abs(9-x^2), x, -6, 0)
> 162
>
> The integrand is negative
On Wed, Nov 19, 2008 at 8:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> Maybe someone has reported this already... but looks like there is a
> bug in integral
>
> sage: integral(x*abs(9-x^2), x, -6, 0)
> 162
>
> The integrand is negative on (-6,0)
Yep, these are coming from Maxima:
(%i11) integrate
On Wed, Nov 19, 2008 at 12:19 PM, Jason Grout
<[EMAIL PROTECTED]> wrote:
>
> Stan Schymanski wrote:
>> Hi Mike and Jason,
>>
>> Thanks a lot for the quick response. My problem becomes a bit more
>> obvious if I have a function of several variables. Then the map
>> function becomes somehow impracti
As far as I can tell, this is a bug in maxima. Hopefully someone who
knows maxima better than I do can confirm that.
sage: maxima('integrate(x*abs(x^2-9),x,-6,0)')
162
-M.Hampton
On Nov 19, 11:19 am, Marshall Hampton <[EMAIL PROTECTED]> wrote:
> That looks like a bug. I will check if it is in
And a (not very robust) version which works with keyword arguments too:
def threaded(f):
from functools import wraps
def wrapper(*args, **kwds):
n = max(map(len, args) + map(len, kwds.values()) + [0])
if n == 0:
return []
new_args = zip(*args) if len(ar
Stan Schymanski wrote:
> Hi Mike and Jason,
>
> Thanks a lot for the quick response. My problem becomes a bit more
> obvious if I have a function of several variables. Then the map
> function becomes somehow impractical because I can't define which list
> is used for which variable. List comprehe
That looks like a bug. I will check if it is in trac already. Its
interesting that
integral(x*abs(9-x^2), x, -3, 0) + integral(x*abs(9-x^2), x, -6, -3)
returns the correct answer.
-M.Hampton
On Nov 19, 10:50 am, pong <[EMAIL PROTECTED]> wrote:
> Maybe someone has reported this already... but l
On Wed, Nov 19, 2008 at 12:02 PM, Simon King
<[EMAIL PROTECTED]> wrote:
>
> Sorry for replying to myself, but I also have a follow-up question.
>
> On Nov 19, 1:40 pm, Simon King <[EMAIL PROTECTED]> wrote:
>> How can I do the same thing when I am in Sage, using the following
>> variables?
>
> Mean
For heavier-duty process manipulation the best solution is the
subprocess module, which replaces a series of former solutions like
os.popen2. There are many examples in the sage libraries of the use
of those, or you can look at:
http://www.python.org/doc/2.5.2/lib/ipc.html
I think what you are
Its not completely clear to me which arguments you want substituted
for, but assuming you would like the v-values to be x, w-values for a,
and z-values for b, you could do:
sage: var('a b c')
sage: f = a*x^2+b
sage: v = [1,2,3]
sage: w = [4,5,6]
sage: z = [7,8,9]
sage: [f.subs({x:v1,a:v2,b:v3}) f
Sorry for replying to myself, but I also have a follow-up question.
On Nov 19, 1:40 pm, Simon King <[EMAIL PROTECTED]> wrote:
> How can I do the same thing when I am in Sage, using the following
> variables?
Meanwhile I learned that os.system can do those things.
Next question: I also need to k
Hi Mike and Jason,
Thanks a lot for the quick response. My problem becomes a bit more
obvious if I have a function of several variables. Then the map
function becomes somehow impractical because I can't define which list
is used for which variable. List comprehensions also get a lot more
difficul
Maybe someone has reported this already... but looks like there is a
bug in integral
sage: integral(x*abs(9-x^2), x, -6, 0)
162
The integrand is negative on (-6,0)
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscr
Mike Hansen wrote:
> Hi Stan,
>
> You should use Python's list comprehensions to do that:
>
> sage: f = 2*x^3+1
> sage: v = [1,2,3]
> sage: [f(x=a) for a in v]
> [3, 17, 55]
>
> or you could do
>
> sage: map(f, v)
> [3, 17, 55]
The question was: Is there an easy way of
performing operations o
Hi Stan,
You should use Python's list comprehensions to do that:
sage: f = 2*x^3+1
sage: v = [1,2,3]
sage: [f(x=a) for a in v]
[3, 17, 55]
or you could do
sage: map(f, v)
[3, 17, 55]
--Mike
--~--~-~--~~~---~--~~
To post to this group, send email to sage-suppor
Dear all,
I am looking for a way to use lists or arrays of values in equations
in a similar way to Mathematica, Matlab or Fortran. A simple example
would be:
sage: f = 2*x^3+1
sage: v = [1,2,3]
sage: f(x=v)
Traceback (click to the left for traceback)
...
TypeError: cannot coerce type '' into a
S
Dear Sage team,
I want to do something that on the Linux command line can be done by
tar -czf file.tar.gz folder1/ folder2/
How can I do the same thing when I am in Sage, using the following
variables?
sage: f1 = 'folder1/'
sage: f2 = 'folder2/'
sage: target = 'file.tar.gz'
Moreover, it
Hi Robert,
Will the fix of the interaction with Maxima allow conservation of
precision of arguments passed through Maxima? This would satisfy my
needs. Depending on how long this is going to take, I would like Mike's
interim fix to be implemented. It doesn't make anything worse compared
with
Hi William,
Thanks for your help. The browser window that automatically opens is set
to the same address that I use to connect to the notebook from the
remote computer, so this seems to be OK.
I just noticed that I was logged in as admin on the local machine, while
I accessed the notebook as a
44 matches
Mail list logo