[sage-devel] Re: weird difference in performance

2010-11-23 Thread Dan Christensen
John Cremona writes: > There is a lesson to be learned here, which is in fact very similar to > one which William explained very well recently: beware the Sage > preprocessor which converts every integer it sees to an Integer, which > can have serious performance consequences and is often not ne

[sage-devel] review #8965, on parallel decorator?

2010-06-09 Thread Dan Christensen
The patch here http://trac.sagemath.org/sage_trac/ticket/8965 only changes documentation, doctests, comments and whitespace, so it should be easy to review. I believe the file that is changed was written by William. Thanks, Dan -- To post to this group, send an email to sage-devel@googlegr

[sage-devel] Re: Fwd: [sage-combinat-devel] permutation group perspectives

2010-05-19 Thread Dan Christensen
Most of this discussion is about cases where sage thinks it is acting on a bigger set than the user wants it to. I'll just point out bug 8963 http://trac.sagemath.org/sage_trac/ticket/8963 where sage has the reverse problem: it thinks that the set that is being acted on is smaller. For exam

[sage-devel] Re: Wigner 3j, 6j, 9j, Clebsch-Gordan, Racah and Gaunt coefficients

2009-05-04 Thread Dan Christensen
Jens, I now see that you've written an article on this topic and tested exactly the case I've also tested: floating point 6j symbols in a compiled language. Since your conclusions are different from mine, I'm curious whether your storage system is faster or your 6j routine is slower. Is your co

[sage-devel] Re: Wigner 3j, 6j, 9j, Clebsch-Gordan, Racah and Gaunt coefficients

2009-05-04 Thread Dan Christensen
jyr writes: > def test_calc_factlist(nn): > r""" > Function calculates a list of precomputed factorials in order to > massively accelerate consequetive calculations of the various Typo. And maybe say "future" instead of "consecutive"? >

[sage-devel] Re: Wigner 3j, 6j, 9j, Clebsch-Gordan, Racah and Gaunt coefficients

2009-05-04 Thread Dan Christensen
jyr writes: > The thought has occured to me that one could use the index functions > for the 3j, 6j, and Gaunt coefficients for a much simpler storage > scheme in python by using the index as a key for a dictionary of > stored symbols. I could then extend the above published routines with > an o

[sage-devel] Re: questions about AlgebraIdeal

2008-12-16 Thread Dan Christensen
John H Palmieri writes: > class AlgebraIdeal(object): > def __init__(self, A, gens = []): > if not isinstance(A, Algebra): raise TypeError, "Argument A > must be an algebra." > self.__algebra = A > self.__gens = gens [...] > sage: J = AlgebraIdeal(R, [y^2]) > > Then

[sage-devel] Re: another coercion question

2008-07-21 Thread Dan Christensen
John H Palmieri <[EMAIL PROTECTED]> writes: > I have several different vector space bases for an algebra A, and I > have implemented this by having a class MyAlgebra, instances of which > have an attribute _basis_name which is a string naming the basis. I > have __cmp__ defined so that the basis

[sage-devel] Re: weird documentation thing

2008-06-13 Thread Dan Christensen
John H Palmieri <[EMAIL PROTECTED]> writes: > What about tth? I've had pretty good luck with that, and when it > works, it produces better-looking math than latex2html. http://hutchinson.belmont.ma.us/tth/ tth has the advantage that it doesn't use images. I use tth to produce the web versio

[sage-devel] Re: [sage-support] Re: 3 == pi

2008-06-04 Thread Dan Christensen
"William Stein" <[EMAIL PROTECTED]> writes: > Sage Enhancement Proposal: Change comparisons that involve > elements of the symbolic ring to return True or False if both sides > of the symbolic comparison are constants and the comparison can > be definitely determined. I'm not sure what symbolic

[sage-devel] Re: octonion algebra

2008-02-16 Thread Dan Christensen
Eric Drechsel <[EMAIL PROTECTED]> writes: > We want to compute with octonions in Sage, and discussed at our > meeting last night possibly implementing such an algebra. > > As I understand it, multiplication of octonions can be implemented on > top of the quaternions in a simple way using the Cayl

[sage-devel] Re: numpy vs. in-place optimizations

2007-11-02 Thread Dan Christensen
Robert Bradshaw <[EMAIL PROTECTED]> writes: > This is due to the inplace operator stuff using refcounts to > determine if it's safe to mutate. The simple workaround is to not use > numpy arrays of SAGE objects. Another question is why would one do so > (i.e. what is lacking in the SAGE line

[sage-devel] Re: sage-2.8.4.1 -- minor bugfix release

2007-09-10 Thread Dan Christensen
"William Stein" <[EMAIL PROTECTED]> writes: > I've released sage-2.8.4.1, which is a very minor bugfix release: Builds fine on Mac OS X 10.4.10, Intel Core 2 Duo: real77m24.900s user48m46.842s sys 24m24.761s ... SAGE build/upgrade complete! All tests run by "make test" pass. But "

[sage-devel] Re: Quitting ignored worksheet vs. long computations

2007-08-21 Thread Dan Christensen
"William Stein" <[EMAIL PROTECTED]> writes: > On 8/21/07, Dan Christensen <[EMAIL PROTECTED]> wrote: > >> Hmm, a quick test using two tabs in one browser shows that even if >> I save changes in one tab, if I reload the page in the other tab >> the ch

[sage-devel] Re: sagelite

2007-08-21 Thread Dan Christensen
My opinion would be to factor out the notebook interface as a completely separate package that happens to be useful for sage, but is also useful for lots of other software. So instead of a lite version of sage, and a big version of sage which is a superset, the notebook would just be a package th

[sage-devel] Re: Quitting ignored worksheet vs. long computations

2007-08-21 Thread Dan Christensen
"William Stein" <[EMAIL PROTECTED]> writes: > On 8/20/07, Dan Christensen <[EMAIL PROTECTED]> wrote: > >> I'm also curious what happens if I leave a browser open to a worksheet >> in my office, and then open the worksheet again from home. Do they &

[sage-devel] Re: Quitting ignored worksheet vs. long computations

2007-08-20 Thread Dan Christensen
Nils Bruin <[EMAIL PROTECTED]> writes: > This makes me think that a checkbox "this worksheet is persistent" > might be better. This sounds good to me. I'm also curious what happens if I leave a browser open to a worksheet in my office, and then open the worksheet again from home. Do they someh

[sage-devel] Re: notebook worksheet snapshots

2007-08-02 Thread Dan Christensen
[EMAIL PROTECTED] writes: >>> Do old snapshots get deleted automatically? >> >> Not implemented yet, but definitely planned. Any suggestions for >> the default old-delete policy? > > Logarithmic-ish. Keep 1 a minute for 10 minutes, 1 every 10 minutes for 100 > minutes... Something like that s

[sage-devel] notebook worksheet snapshots

2007-08-01 Thread Dan Christensen
The notebook seems to save a snapshot of my worksheet every 3 minutes, even if I'm not using the worksheet. I often leave a few worksheets open for long periods of time, and these files build up and slow down my home directory synchronization. Could the notebook only save a snapshot when the pag

[sage-devel] Re: interaction between GAP and notebook

2007-07-27 Thread Dan Christensen
4) If I use GAP Print(...) commands in a short notebook entry, I see the output. But if the entry is longer, I don't see the output. I would add this to the trac ticket, but I don't think I have an account. Dan --~--~-~--~~~---~--~~ To post to this group, sen

[sage-devel] Re: accessing GAP's small groups database from the notebook

2007-07-26 Thread Dan Christensen
"William Stein" <[EMAIL PROTECTED]> writes: > Very interesting. When you install the gap database, SAGE runs > gap_reset_workspace() to update the cached workspace on the machine > on which the database is installed. Because a single home directory could > be used by multiple machines, there ar

[sage-devel] Re: accessing GAP's small groups database from the notebook

2007-07-26 Thread Dan Christensen
"David Joyner" <[EMAIL PROTECTED]> writes: > Could you please try gap_reset_workspace() and then restart SAGE > and see if the examples start? That fixed it! Thanks. Not sure what I did. The problem occurred on two different systems, which my home directory is mirrored between. If it happens

[sage-devel] interaction between GAP and notebook

2007-07-26 Thread Dan Christensen
Some other minor issues about using GAP within the notebook, under 2.7.1. I've put my entire worksheet in GAP mode using the menu at the top. The following things don't work correctly: 0) If I type something that gives an error in GAP, the error message is buried in a python exception/backtrace

[sage-devel] accessing GAP's small groups database from the notebook

2007-07-26 Thread Dan Christensen
I'm having trouble accessing GAP's small groups database from the notebook. I'm using the binary install of 2.7.1 on 32-bit Debian. I have installed database_gap-4.4.9 and gap_packages-4.4.9_2. If I do "sage -gap", then inside the gap process, I can do: gap> NumberSmallGroups(2^3); 5 But if I

[sage-devel] Re: GAP and rings?

2007-07-26 Thread Dan Christensen
"David Joyner" <[EMAIL PROTECTED]> writes: > You probably know this already but the 2003 survey > www.math.rwth-aachen.de/~Gerhard.Hiss/Preprints/AlgoRepTheo.pdf > discusses briefly what is/was out there. I don't think it mentions > recent packages such as laguna, crime, and hap, but I don't know

[sage-devel] Re: GAP and rings?

2007-07-25 Thread Dan Christensen
I don't know if this is related to what the original poster wants, but I've been wondering lately whether there is software for doing computations in modular representation theory (where the characteristic of the field divides the order of the group). For example, computations in the ring kG for

[sage-devel] Re: PEP 31XX: A Type Hierarchy for Numbers (and other algebraic entities)

2007-04-26 Thread Dan Christensen
[sage list added] "Travis E. Oliphant" <[EMAIL PROTECTED]> writes: > The SAGE people may be interested in this, but I doubt there will more > than a handful of users of these algebraic base classes. SAGE has quite a sophisticated type hierarchy, and a sophisticated set of coercion methods. Wh

[sage-devel] Re: sage-2.1.3

2007-02-17 Thread Dan Christensen
2.1.3 fixes the blas-related problems I had with 2.1.0.1. All tests pass. This is on a Debian P4 laptop, with atlas3-sse2 installed. Dan --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send

[sage-devel] Re: Graph theory libraries

2006-10-03 Thread Dan Christensen
"William" <[EMAIL PROTECTED]> writes: > Robert has been doing a little preliminary work about what is out > there, and putting it here: > > http://sage.math.washington.edu/home/rlmill/graph_software.html > > The idea of the above page is just to summarize what is currently > available. Could b