Here's a first attempt at imitating your first link:
{{{
var('x,y')
ngamma = n(euler_gamma)
def dirich(r):
return r*log(r)+(2*ngamma-1)*r
def lattice_pts(r):
tab = [[i,j] for i in range(1,ceil(r)) for j in range(1,ceil(r))]
tab2 = [q for q in tab if q[0]*q[1] <= r]
return tab2
@
Dear support,
I would like to (easily) plot an integer lattice and then be able to
highlight certain points on it for a class. Basically, I want to be
able to easily do (a static version of, not necessarily manipulate)
what the Mma Demonstration
http://demonstrations.wolfram.com/LatticePointsUn
Hi Michael:
I published an example at http://sagenb.org:8000/home/pub/156. Thanks.
Steve
On Wed, Jan 14, 2009 at 4:53 AM, mabshoff <
michael.absh...@mathematik.uni-dortmund.de> wrote:
>
>
>
> On Jan 11, 6:49 pm, "Steve Yarbro" wrote:
> > On Sun, Jan 11, 2009 at 4:13 PM, mabshoff <> wrote:
> >
On Jan 14, 2009, at 8:36 AM, William Stein wrote:
> On Wed, Jan 14, 2009 at 8:13 AM, ben wrote:
>>
>> Thanks everyone! I am unsure how to use Robert's API as I haven't
>> been
>> able to find any documentation, but that may be a better idea given
>> the security issue that Jason raised. Does a
I'm downloading the source for sage 3.2.3 right now, and will build
from source. I'll copy over the fftw lib's and includes as you
indicated previously before I start the build.
Thanks again for your help. I'll let you know how it goes.
Cheers,
Doug N
On Jan 14, 7:22 pm, mabshoff wrote:
>
>
>
> but you will need to adjust for whatever spkgs are shipped with the
> version of Sage you run. Note that you have to build numpy *before*
> scipy.
Forgot to add: You should be aware that forcing rebuild of numpy and
scipy will break your Sage install if something goes wrong. If you are
usin
On Jan 14, 6:08 pm, doug5y wrote:
> Well I've already got the fftw-devel package installed (for fedora ).
> But are you saying I actually need to build FFTW from source?
Not necessarily, but we don't pick up libraries from the system since
Sage is self contained and the system libraries are of
Well I've already got the fftw-devel package installed (for fedora ).
But are you saying I actually need to build FFTW from source?
And how/where is $SAGE_LOCAL set? I've quickly looked through the top
level makefile, the installation doc, the README and found nothing.
TIA for your help.
Doug N
On Jan 14, 5:28 pm, doug5y wrote:
> Hello,
Hi Doug,
> Please excuse this question if it's been asked before, I can't really
> find any reference to it.
>
> My question is for sage 3.2.1 on Fedora 7.
>
> I'm wondering if there's a way to have sage build with FFTW included?
>
> I checked the "i
Hello,
Please excuse this question if it's been asked before, I can't really
find any reference to it.
My question is for sage 3.2.1 on Fedora 7.
I'm wondering if there's a way to have sage build with FFTW included?
I checked the "install.log" file and found :
On Jan 14, 2009, at 12:04 PM, Crissy Ruffo wrote:
> I was looking into how SAGE handles arithmetic base(n). Best I can
> tell, I use the function Integer('string rep of number', base), but
> the answer returned is base(10), so I use the function .str(base) to
> convert it back to the desired ba
> Then nicely document your function and contribute it to sage.
>
> In short, "it's easy; implement it and send us a patch."
>
> William
Great, I wanted to be sure it doesn't exist before working on it.
Thank you for the answer.
Sébastien
--~--~-~--~~~---~--~~
To
On Jan 14, 12:04 pm, Crissy Ruffo wrote:
> I was looking into how SAGE handles arithmetic base(n). Best I can
> tell, I use the function Integer('string rep of number', base), but
> the answer returned is base(10), so I use the function .str(base) to
> convert it back to the desired base. (tha
I skimmed through it and it looks nice. How do I apply the patch? Should I
just substitute my plot.py with the new one?
Fabio
On Wed, Jan 14, 2009 at 7:04 PM, Wilfried_Huss
wrote:
>
> On 14 Jan., 14:04, "Fabio Tonti" wrote:
> > Hello everyone,
> >
> > I was wondering whether there is a way to f
I was looking into how SAGE handles arithmetic base(n). Best I can
tell, I use the function Integer('string rep of number', base), but
the answer returned is base(10), so I use the function .str(base) to
convert it back to the desired base. (thanks to the post by Ted
Kosan on converting Intege
On 14 Jan., 14:04, "Fabio Tonti" wrote:
> Hello everyone,
>
> I was wondering whether there is a way to fill the region between two plots
> using the sage "plot" command.
> I know how to do it in matplotlib and I'm appending a script which does
> exactly that with matplotlib 0.98.5.
There is a p
Hello group,
I have a few questions about combinatorics in sage.
Can one do the following in sage?
1) List of all possible labelings of the vertices or the edges of a
graph up to isomorphism? Is there a builtin for that kind of
enumeration?
2) Assume that I have a group acting on a set o
On Wed, Jan 14, 2009 at 8:03 AM, slabbe wrote:
>
> In pstricks, I can draw a line using the 'linearc' argument :
>
> \psline[linewidth=2pt,linearc=.25](4,2)(0,1)(2,0)
>
> where linearc is defined as follows (taken from pstricks user guide) :
>
> linearc=dim (Default: 0pt)
> The radius of arcs
On Wed, Jan 14, 2009 at 8:13 AM, ben wrote:
>
> Thanks everyone! I am unsure how to use Robert's API as I haven't been
> able to find any documentation, but that may be a better idea given
> the security issue that Jason raised. Does anyone know where I could
> find some examples of its usage?
S
On Wed, Jan 14, 2009 at 10:29 AM, Jason Grout
wrote:
>
> Fabio Tonti wrote:
>> Hello everyone,
>>
>> I was wondering whether there is a way to fill the region between two
>> plots using the sage "plot" command.
>> I know how to do it in matplotlib and I'm appending a script which does
>> exactly
Thanks everyone! I am unsure how to use Robert's API as I haven't been
able to find any documentation, but that may be a better idea given
the security issue that Jason raised. Does anyone know where I could
find some examples of its usage?
Thanks again,
Ben
On Jan 13, 4:55 pm, "William Stein"
In pstricks, I can draw a line using the 'linearc' argument :
\psline[linewidth=2pt,linearc=.25](4,2)(0,1)(2,0)
where linearc is defined as follows (taken from pstricks user guide) :
linearc=dim (Default: 0pt)
The radius of arcs drawn at the corners of lines by the \psline
and
\pspoly
Thank you for the reply!
On Jan 14, 2009, at 10:20 AM, mabshoff wrote:
>> 1. I had some confusion when I ran sage the first time, because it
>> complained about permissions for creating some files. So I ran it
>> with sudo in front, and it worked fine. Now thereafter, I can run it
>> without
Fabio Tonti wrote:
> Hello everyone,
>
> I was wondering whether there is a way to fill the region between two
> plots using the sage "plot" command.
> I know how to do it in matplotlib and I'm appending a script which does
> exactly that with matplotlib 0.98.5.
>
I am working on upgrading Sa
On Jan 14, 7:13 am, Nathan Carter wrote:
Hi Nathan,
>
> Got it! This makes sense now. And Jason convinced me to join this
> list. :)
Welcome to the list.
> > Do let me (or the sage-support list) know if there's any confusion about
> > that wiki page, or if you have suggestions to make i
> > > I'm not sure what these users are for, and he never says. Do you
> > understand this step? For your reference, the page is here:
>
> As Jason says, those are "slave" users that the notebook server process
> uses. Try this: start up the notebook using the server_pool options and
> nb1, nb
Hello everyone,
I was wondering whether there is a way to fill the region between two plots
using the sage "plot" command.
I know how to do it in matplotlib and I'm appending a script which does
exactly that with matplotlib 0.98.5.
Thanks in advance.
Fabio
--~--~-~--~~~-
On Jan 11, 6:49 pm, "Steve Yarbro" wrote:
> On Sun, Jan 11, 2009 at 4:13 PM, mabshoff <> wrote:
>
> > Hi Michael:
>
> Thanks for the help. The error is very likely my lack of skill with sage
> (an excellent piece of work BTW). I have put together an example as you
> suggested. The support fo
On Jan 14, 12:20 am, Vincent D <20100.delecr...@gmail.com> wrote:
> Hi,
Hi Vincent,
> I have a sage-server running but I want to try the new sage version
> (my old one is 3.1.4) with a lot of precious worksheets (...). Is
> there anything to do to ensure compatibility ?
Yes, we do run a huge
On Jan 14, 2009, at 12:20 AM, Vincent D wrote:
>
> Hi,
>
> I have a sage-server running but I want to try the new sage version
> (my old one is 3.1.4) with a lot of precious worksheets (...). Is
> there anything to do to ensure compatibility ?
>
> Thanks,
> Vincent
You can try uploading the work
Hi,
I have a sage-server running but I want to try the new sage version
(my old one is 3.1.4) with a lot of precious worksheets (...). Is
there anything to do to ensure compatibility ?
Thanks,
Vincent
--~--~-~--~~~---~--~~
To post to this group, send email to sag
31 matches
Mail list logo