On 2012-07-26 02:26, Daniel M. wrote:
Which binary did you download for this? Or did you compile sage-5.0.1
from source?
Well, i just go to *http://sagemath.c3sl.ufpr.br/linux/64bit/index.html*
and pick the newer ubuntu version (in this case, the 12.04 LTS)
that's why a just put the name of
I am trying to generate random numbers and am running into roundoff
problems:
RealDistribution('uniform', [1,1+1/10^16]).get_random_element()-1
This returns zero every time for me, something that is almost surely
wrong. I would expect a number chosen from the interval (0,1e-16).
How do I make
Dear Robin
Actually you are working with machine precision, i.e., eps(10^-16) in
double precison.
it means that 1+eps == 1 in double precision.
try
from mpmath import *
10^-16*mp.rand()
or, as you have coded
from mpmath import *
mp.dps = 30
(mpf(1.0)+10^-16*mp.rand())-mpf(1.0)
On Thu, Jul 26,
I do not know much of anything about sage. But I was using desolve on
http://www.sagenb.org to compare an answer,
and I am confused on the type-setting of of constant of integration in
solution of an ode.
Googled around but nothing specific I could find.
When I ask sage to solve an ode using
After coming across the following Interact within an Interact example (
http://interact.sagemath.org/node/15) created by Ira Hanson, I wanted to
know whether it is technically possible to create an interact within an
interact for my code below.
My vision is to create an interact within an
On 7/26/12 3:45 AM, Aled Crow wrote:
After coming across the following Interact within an Interact example
(http://interact.sagemath.org/node/15) created byIra Hanson, I wanted to
know whether it is technically possible to create an interact within an
interact for my code below.
Yes, though
On 2012-07-26 11:40, robin hankin wrote:
How do I make sage do what I want?
Well, what do you want?
--
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 this group
Hi,
On Thu, Jul 26, 2012 at 7:40 PM, robin hankin hankin.ro...@gmail.com wrote:
I am trying to generate random numbers and am running into roundoff
problems:
RealDistribution('uniform', [1,1+1/10^16]).get_random_element()-1
This returns zero every time for me, something that is almost
On Thursday, 26 July 2012 14:21:29 UTC+8, kfiz wrote:
Ok, thanks guys. I switched methods and installed with the mac osx
binaries.
seems that I have serious issues updating my current gcc compiler.
guess I'll just have to wait until apple updates xcode.
this is strange. I think many
and so on. Note that if you try to use RR (which is the same as
RealField(53)) you run into the same precision/roundoff problem as you
had before. Hence the need to increase the working precision.
Also note that R.random_element() can only do uniform distribution, so
if you were
On Thursday, July 26, 2012 6:37:56 AM UTC-4, Nasser M. Abbasi wrote:
I do not know much of anything about sage. But I was using desolve on
http://www.sagenb.org to compare an answer,
Tata! You clearly know *something* about it, or you wouldn't have done as
well as you have finding stuff
Sometimes a workaround is possible:
sage: x = var('x')
sage: y = function('y', x)
sage: C = var('C')
sage: f = desolve(diff(y,x) + y, y, ics=[0,C]); f
C*e^(-x)
sage: c = var('c')
sage: f = desolve(diff(y,x) +c*y, y,ivar=x, ics=[0,C]); f
C*e^(-c*x)
On Thursday, July 26, 2012 12:37:56 PM UTC+2,
Hi everybody. When I use the aleph.sagemath.org server, the response is not
pretty printed. Is there special setting to get the pretty print ?
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
I'm using sage 4.6.1 (release data 2011-01-11) on Linux.
When I tried to divide a vector of ~1 elements by a scalar, it ran out
of system memory and crashed.
code:
n = 1
v = vector([0]*n) # ok so far
v2 = v/1 # kaboom
I repeated this process for increasing values of n
I also use Xcode 3.2.6 (freshly installed) , but building always crashed
when gcc 4.6.3 was going to be installed on my machine.
I figured that I could install the gcc package manually, downloaded it and
ran the installation...with the same result.
really don't know what the problem is...
Am
After some digging -- and a fortuitous control-C at the right moment
-- it looks like it's trying to construct the basis for the ambient
free module. This will be a list of 10^4 vectors, each 10^4 elements
long, so it's not surprising it takes a lot of memory.. adding a print
statement in the
Compile sage from source in mi netbook would take soo many time. the last
time i did it took about 6 hours, but unpacking a precomplied binary... its
a matter of some minutes.
El jueves, 26 de julio de 2012 00:25:47 UTC-5, Dima Pasechnik escribió:
On Thursday, 26 July 2012 08:35:03 UTC+8,
Well, The binary that worked on both my netbook and desktop is the one
that has the name *
sage-5.0.1-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux.tar.gz*. It's all
the information i have about it. i downloaded the package may be two weeks
ago.
I just download it, untar at, say /home/sagemath,
Does this help?
sage: R = RealField(100)
sage: R.random_element(1, 1+1/10^16)
1.745276341034
sage: R.random_element(1, 1+1/10^16)
1.899962307929
and so on. Note that if you try to use RR (which is the same as
RealField(53)) you run into the same
I had a sage server running on an imac running os 10.6.
I stopped the server and tried to get it running again, and
now I'm having problems.
1. I tried logging in on the imac as a user, then starting sage.
I got the message appended below in the terminal window that pops up.
When I tried the
On 7/26/12 10:42 AM, eliade wrote:
Hi everybody. When I use the aleph.sagemath.org server, the response is not
pretty printed. Is there special setting to get the pretty print ?
Can you give an example of what you mean?
Thanks,
Jason
--
To post to this group, send email to
On Friday, 27 July 2012 05:20:52 UTC+8, Daniel M. wrote:
Compile sage from source in mi netbook would take soo many time. the last
time i did it took about 6 hours, but unpacking a precomplied binary... its
a matter of some minutes.
well, leave it overnight...
If you have a dual-core
IMHO, Sage does not use apache at all. It runs its own webserver, on port
8000.
On Friday, 27 July 2012 07:08:25 UTC+8, Mike OS wrote:
I had a sage server running on an imac running os 10.6.
I stopped the server and tried to get it running again, and
now I'm having problems.
1. I tried
On Friday, 27 July 2012 03:56:27 UTC+8, kfiz wrote:
I also use Xcode 3.2.6 (freshly installed) , but building always crashed
when gcc 4.6.3 was going to be installed on my machine.
I figured that I could install the gcc package manually, downloaded it
and ran the installation...with the
24 matches
Mail list logo