Hello,
I've recently been creating some diagrams of trees with sage and have
run into some difficulties getting the graphs to look decent. I have
frequently run into issues with labels of vertices overlapping. Is
there anyway to enforce a distance between vertices or otherwise
ensure that the labe
The best way is probably to use mpmath.mpmath_to_sage(). Just note
that you have to provide the desired precision as well as the number
to convert.
On Nov 26, 4:58 pm, Alex Ghitza wrote:
> (ccing sage-support in case someone else will have this question at
> some point)
>
> Dear Fredrik,
>
> It s
55 pm, David Joyner wrote:
> On Fri, Feb 20, 2009 at 4:53 PM, M. Yurko wrote:
>
> > Sorry, I forgot to post bits24_originial. Its a list of values which
> > were generated completely separately. It is [9, 155, 276, 391, 507,
> > 618, 729, 839, 948, 1052, 1161, 1269, 1376,
>
.")
> > sage: pylab.ylabel("iterations")
> >
> > sage: pylab.xlabel("x")
> >
> > sage: pylab.grid(b=True)
> > sage: pylab.savefig('/home/wdj/sagefiles/graph.svg',dpi=1000)
>
> > It saves a graph with labeled axes but no plo
xs was the list of x coordinates which I created with range
(1,1,100).
On Feb 19, 9:03 pm, William Stein wrote:
> On Thu, Feb 19, 2009 at 3:46 PM, M. Yurko wrote:
>
> > First off, I know that this is specificaly a SAGE issue, but I can't
> > find a matplotlib l
First off, I know that this is specificaly a SAGE issue, but I can't
find a matplotlib list, so I'm hoping that someone here can help. I
recieve an error when executing the following code in the notebook:
#Create the graph
import pylab
pylab.clf()
pylab.figure(1)
pylab.plot(xs, bits24_original, l
wrote:
> On Tue, Dec 30, 2008 at 1:32 PM, M. Yurko wrote:
>
> > I have recently been using save_session a bit, and I uncovered what I
> > believe is a bug. If the worksheet of the session that I'm trying to
> > save contains a cython function, then load_session chokes.
I have recently been using save_session a bit, and I uncovered what I
believe is a bug. If the worksheet of the session that I'm trying to
save contains a cython function, then load_session chokes. For
example:
var1 = 1
var2 = 2
var3 = srange(1,1)
var4 = range(1,3000)
var5 = 1234.123456
%cyt
Thanks, it works once I use your link.
On Dec 30, 10:59 am, mabshoff wrote:
> On Dec 30, 7:55 am, "M. Yurko" wrote:
>
> Hi,
>
> > I just tried to access the wiki, and it keeps giving me this message:
>
> > Warning:
> > You triggered the wiki's su
I just tried to access the wiki, and it keeps giving me this message:
Warning:
You triggered the wiki's surge protection by doing too many requests
in a short time.
Please make a short break reading the stuff you already got.
When you restart doing requests AFTER that, slow down or you might get
precision to the
requested, but overall, I didn't see a single major deviation
(although that obviously isn't concrete proof).
On Dec 22, 2:17 pm, Robert Bradshaw
wrote:
> On Dec 22, 2008, at 8:28 AM, M. Yurko wrote:
>
> > When I timed these functions over 1 through 700
ng. If
> > so, you can use Sage's function Ei() which calls scipy's
> > special.exp1().
>
> Watch out, since scipy is double precision only.
>
> Pari has a real-only exponential integral that is arbitrary precision though.
>
> -- William
>
>
>
>
>
he .c file that cython generated, it seems to be
doing a lot of conversions as simply initializing sum_current took
almost 20 long lines of code.
On Dec 22, 10:24 am, "Mike Hansen" wrote:
> Hello,
>
> On Mon, Dec 22, 2008 at 6:10 AM, M. Yurko wrote:
>
> > Thanks for
c 21, 2008 at 1:44 PM, M. Yurko wrote:
>
> > I have recently been experimenting with converting some simple python
> > functions that I have made into cython. I have been quite impressed by
> > how simple it is for the massive speed increases that I have seen.
> > Howeve
I have recently been experimenting with converting some simple python
functions that I have made into cython. I have been quite impressed by
how simple it is for the massive speed increases that I have seen.
However, one thing that is mildly annoying at times is the limitation
to double precision
ode in an email, so someone can fill out a trac
> report for the issue?
>
> On Mon, Dec 15, 2008 at 7:13 PM, M. Yurko wrote:
>
> > I have noticed recently that when evaluating the EI function at any
> > number over 20, it adds 2pi i, which shouldn't be there. After looki
I have noticed recently that when evaluating the EI function at any
number over 20, it adds 2pi i, which shouldn't be there. After looking
at the code it appears that it uses scipy, so the error is probably
there. However, when looking for alternatives, I found the
exponential_integral_1 from PARI
Thanks for your responses. The reason that I didn't install the extra
Tex fonts explicitly is because I thought that the jsmath-fonts
package contained them already, however, I'll try and explicitly
download them into that directory.
On Dec 1, 11:00 am, Jason Grout <[EMAIL PROTECTED]> wrote:
> St
I recently installed sage 3.2 (from binary) on an Ubuntu 8.10 server
and recently ran into an issue with JsMath. Whenever I try and typeset
anything it gives me an error "It looks like jsMath failed to set up
properly (error code -7). I will try to keep going, but it could get
ugly" and then prin
OK, I typed that line in and I got no output and no errors.
On Nov 8, 6:12 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 8, 2008 at 3:03 PM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > If its a problem with permissions, then how would I verify t
If its a problem with permissions, then how would I verify this and
fix it. I've only been using linux for about 8 months
On Nov 8, 5:48 pm, "Timothy Clemans" <[EMAIL PROTECTED]>
wrote:
> That sounds like a problem with permissions.
>
> On Sat, Nov 8, 2008 at 4:32
r filed a ticket), but that
> was about a year ago, and I have not had problems since.
>
> -M. Hampton
>
> On Nov 8, 10:06 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > On Fri, Nov 7, 2008 at 4:30 PM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
>
I recently upgraded to the new version (3.1.4), and I can't view any
of the worksheets that I create. When I open up the notebook, no
worksheets are present even after I created a new one. I checked the
sage_notebook folder, and the files are being created, but for some
reason they are not showing
)/2-
log(-log(z))
On Jun 11, 1:45 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 8:07 AM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > O.K. I defined li(x) as follows:
>
> > def li(z): #def log integral for real and complex variables
&
I made a few modifications so it now works everywhere but (0,1)
On Jun 11, 1:45 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 8:07 AM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > O.K. I defined li(x) as follows:
>
> > def li
. Please note that I have no background in complex analysis
and that my above statements about domain are only based upon
experimentation.
--
Mike
On Jun 11, 10:03 am, "M. Yurko" <[EMAIL PROTECTED]> wrote:
> Sure. My current code is a bit messy, so I'll clean it up and make an
. Please note that I have no background in complex analysis
and that my above statements about domain are only based upon
experimentation.
--
Mike
On Jun 11, 10:03 am, "M. Yurko" <[EMAIL PROTECTED]> wrote:
> Sure. My current code is a bit messy, so I'll clean it up and make an
un 10, 11:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> On Tue, Jun 10, 2008 at 7:50 PM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > Thanks again to everyone who tried to assist me. I was able to use the
> > incomplete gamma function already in sage to com
Thanks again to everyone who tried to assist me. I was able to use the
incomplete gamma function already in sage to compute Li(x) for complex
inputs. For the speed that I need this works fine. However, this
should be impetus for me to try and learn Cython.
On Jun 10, 8:04 pm, "William Stein" <[EM
After a little more searching, it appears that I should use a Pseudo
tty( right?). However, the programming guide gives no information on
how to actually do this. Any help would be greatly appreciated
(copying and pasting input and output is less than ideal).
On Jun 10, 10:15 am, "M.
Jun 7, 4:08 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
>
> > On Sat, Jun 7, 2008 at 12:54 PM, M. Yurko <[EMAIL PROTECTED]> wrote:
>
> > > Is there any way for SAGE to calculate Li(x) (logarithmic integral)
> > > for complex inputs?
>
> &g
Is there any way for SAGE to calculate Li(x) (logarithmic integral)
for complex inputs?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit
32 matches
Mail list logo