Hi Francois,
On Dec 21, 2:40 am, Francois Maltey wrote:
> Hi,
>
> I use Sage in emacs in the shell buffer named *Sage-main*, in Inferior
> Sage Mode.
I am the author and maintainer of sage-mode. I tried your examples on
my emacs installation and I get precisely the opposite behaviour: your
firs
> However, I'd like to be able to intelligently detect when Sage is running in
> the notebook vs. interactively on the console and only auto-create PNG files
> in notebook mode. Is there a standard technique for this?
I think the following works. Try:
sage: import sage.server.support
sage: sa
On Nov 11, 11:39 am, Eviatar wrote:
> Yes, but can you go directly from base 2 to base 4, for example? I
> guess this would work, ZZ(23,base=2).str(base=4), but it's not very
> convenient.
sage: ZZ([1, 2], base=3)
7
sage: ZZ([1, 2], base=3).digits(2)
[1, 1, 1]
My opinion is that this is short
On Nov 11, 10:13 am, Eviatar wrote:
> Thank you,
>
> I wasn't aware of that functionality. However, I think my function is
> more convenient since you can directly convert bases, instead of using
> base 10 as an intermediary step.
sage: ZZ(15).digits(2)
[1, 1, 1, 1]
sage: ZZ(15).digits(3)
[0, 2
> One could modify local/bin/sage-doctest to allow the option of changing each
> doctest by wrapping it in a "timeit()" call. This would then generate a
> timing datum for each doctest line.
I did this, a long long time ago. Not clear whether it was ever
merged. See:
http://trac.sagemath.org/s
> How about a function, somewhat like search_doc, search_def, and friends,
> that accepts an object and a string, and returns methods that match that
> string? Would you find that useful?
In my haste to plug sage-mode, I forgot this:
sage: X.*foo*?
...
all methods that match 'foo'.
Only in IPyth
> How about a function, somewhat like search_doc, search_def, and friends,
> that accepts an object and a string, and returns methods that match that
> string? Would you find that useful?
I think this is a good idea, but can't resist...
> Often, I find myself doing
>
> X.a (look through
* Whoever tried last (Nick?), can they summarize some of the issues
they encountered.
I sent this a few days ago but it got confused, so I'm sending it again:
The thing that I remember was that large pieces of the C-interface
have changed. Names changed, arguments changed, pieces removed.
matrix(r"""
1 0 0 0 1
0 1 0 0 1
0 0 1 0 1
0 0 0 1 1""")
python makes this not so hard:
matrix(2, 2, map(ZZ, r"""
1 0
0 1""".split()))
or
matrix(ZZ, 2, 2, r"""
1 0
0 1""".split())
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send
For his consistently conscientious commitment to Sage development,
Minh Nguyen is the recipient of the 2010 Spies Development Prize.
This award carries a prize of $500 from the Sage Foundation (thanks to
Jaap Spies).
Congratulations, Minh! This prize was earned, not won.
Nick
--
To post to th
On 20-Mar-10, at 8:50 AM, John Cremona wrote:
I would say that you should never test for primality unless
specifically required, e.g. if the user asks is_field() (after which
the category could be upgraded? I don't know if that is possible).
I would always use GF(p) rather than IntegerMod(p)
On 19-Mar-10, at 6:53 AM, Jason Grout wrote:
On 03/18/2010 10:05 PM, John H Palmieri wrote:
Sage uses non-standard command-line options (e.g., -notebook rather
than --notebook). I propose that we switch to standard ones. Here are
two reasons:
+1!
When this issue came up a year or two ago,
So sage built, but it may or may not work. And you're building it on
another machine, but it may or not build. What was the point of
this post?
Thanks for clarifying. So apparently you feel David should have
waited to post something (hopefully!) like: "Sage built on Solaris
SPARC and doct
On 17-Mar-10, at 10:41 PM, Dima Pasechnik wrote:
William,
While I think that posts here on a particular part of functionality
(e.g. Solaris port) *continuing to work after an
update* should not happen here, only posts on particular parts of
functionality *ceasing to work* should be welcome (D
On 17-Mar-10, at 10:21 PM, Jason Grout wrote:
On 03/17/2010 06:41 PM, Dr. David Kirkby wrote:
What do you consider a Solaris-only issue? When a problem occurs
with a
particular release only on Solaris? If that is not put on sage-devel,
you might as well say goodbye to keeping Sage building
On 17-Mar-10, at 10:12 PM, Jason Grout wrote:
On 03/17/2010 11:40 AM, Nick Alexander wrote:
On 17-Mar-10, at 10:18 AM, Mike Hansen wrote:
On Wed, Mar 17, 2010 at 5:21 AM, Pablo Angulo
wrote:
Sorry to come back to this (two weeks) old topic, but what do you
think
about raising an
On 17-Mar-10, at 4:27 PM, Dr. David Kirkby wrote:
Minh posted the subject "Sage 4.3.4.rc0 released" a perfectly
logical subject.
Loads of people have replied so the subject becomes "Re: Sage
4.3.4.rc0 released". They report success/failure on various systems.
So far there is only half a
On 17-Mar-10, at 10:18 AM, Mike Hansen wrote:
On Wed, Mar 17, 2010 at 5:21 AM, Pablo Angulo
wrote:
Sorry to come back to this (two weeks) old topic, but what do you
think
about raising an exception whenever a symbolic integral (or any
symbolic
computation) fails? Otherwise, is there a si
On 12-Mar-10, at 10:42 AM, Rob Beezer wrote:
Hi Dan,
The distinction is one group is a matrix group and the other is a
permutation group.
sage/groups/matrix_gps/matrix_group.py
sage/groups/perm_gps/permgroup.py
Presumably the method could be moved up the hierarchy a level. Can
you make a ti
On 12-Mar-10, at 6:14 AM, John Cremona wrote:
On 12 March 2010 14:01, David Kohel wrote:
Hi Nicolas,
The list sage-nt was set up to have a lower volume and lower noise
forum
for sage-devel issues with mathematical (number theoretic) interest.
I also don't track sage-combinat for similar rea
On 12-Mar-10, at 12:22 AM, Joal Heagney wrote:
Hi guys and gals,
Currently I'm attempting to fit the following data to the general
logistic model:
[(0,0),(1,0),(2,13),(3,28),(4,48),(5,89),(6,107),(7,168),(8,188),
(9,209)]
The form of the logistic curve I am using is:
K/(1 + a*exp(r * (t -
It may be the only way to get a semi-consistant result is to use the
Mathlink protocol, but that would require linking to a proprietry
library, so it could only be possible as an optional package, as
otherwise it would breach the GPL.
One way to get a consistent result is to do what I said earli
On 10-Mar-10, at 11:01 AM, Brian Granger wrote:
Hello all,
In the older Cython docs here:
http://modular.math.washington.edu/home/was/www/home/gfurnish/old/sage-3.0.6/doc/prog/node55.html
The _sig_on and _sig_off macros are mentioned. But, when I try
these in current Cython it fails. I f
In my personal opinion, a decent stabilisation release could be
achieved by everyone submitting just bug fixes.
Yep. The problem is that this involves telling everyone what to do.
Not really. You tell people what a release will consist of. It is to
them whether or not they want to submit bug
On 8-Mar-10, at 6:03 PM, Dr. David Kirkby wrote:
Minh Nguyen wrote:
Hi David,
On Tue, Mar 9, 2010 at 10:55 AM, Dr. David Kirkby
wrote:
sage -t -long --verbose "devel/sage/sage/interfaces/mathematica.py"
Can you also try this?
sage -t -long -optional --verbose "devel/sage/sage/interfaces/
Personally, I think there should not be an automatic changeover to
numerical methods.
+1. The convention in Sage is that "explicit is better than
implicit". If you want numerical results, you ask for numerical
results.
Nick
--
To post to this group, send an email to sage-devel@googlegr
On 5-Mar-10, at 6:27 PM, Dima Pasechnik wrote:
if it's PARI-dependent, it makes sense to upgrade PARI to the latest
version.
PARI used by Sage is almost 2-year old.
They rolled out two upgrades in the meantime.
Unfortunately, updating PARI in sage is phenomenally difficult. I
tried more th
David is trying to argue that the goals for Sage-5.0 should be
* Official Solaris 10 support (all tests pass)
TARGET DATE: Sometime in March?
*instead* of the following:
* 90% doctest coverage score (=write about 1500 doctests)
* Official Solaris 10 support (all tests pass)
* Official C
On 5-Mar-10, at 5:26 PM, Dr. David Kirkby wrote:
William Stein wrote:
Hi,
Goals for Sage-5.0:
* 90% doctest coverage score (=write about 1500 doctests)
Hopefully with some justification of why the expected result is what
it is. Not magic numbers - see
http://groups.google.co.uk/group/s
On 2-Mar-10, at 10:04 PM, David Kirkby wrote:
Has anyone ever considered randomised testing of Sage against
Mathematica?
Randomised? No. But I have tested my code for computing theta
functions against all of Mathematica, Maple, and Magma -- curiously,
the three rarely agreed.
Nick
-
On 26-Feb-10, at 12:59 PM, Florent Hivert wrote:
Hi there,
In order to sanitize the behavior of objects, parents and elements
in sage,
I'm about to add some tests to the framework. I think they are all
reasonable
but I may be asking to much.
I think your suggestions are reasonable
On 26-Feb-10, at 10:41 AM, David Kirkby wrote:
If one runs 'make test' it creates a file test.log in $HOME/.sage/tmp
If would be useful if that file had the date and time in its name, or
even the PID so one could test multiple versions of Sage on the same
machine at the same time.
+1. Could
As much as I can see why people do not like this, I can see a lot of
logic in William's approach.
To add to what David said, some of this is historical. The 100
packages sage builds now are unwieldy, but it was not always so.
Earlier distributions contained much less, and shipping them al
$ git grep Sage
I think that "git grep sage" (really, case insensitive) is probably
necessary too, since we have changed cases many times.
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@goo
I'm all for a special mode, but to do this by default would be
backwards incompatible and yet another incompatibility from Python.
I'm -1 for a special mode, but I am +1 for keeping the default to be
like Python. Out of curiosity, does anyone use the special mode that
transforms "a b" -> "
I don't think you can have automated conversion like C(a^2 + b^2)
since it
makes sense to define:
sage: C = CombinatorialFreeModule(QQ, [ a^2, b^2, a*b, a^2+b^2 ])
sage: 2*C.basis()[a^2] + C.basis()[b^2]
B[b^2] + 2*B[a^2]
sage: 2*C.basis()[a^2] + C.basis()[b^2 + a^2]
2*B[a^2] + B[a^2 + b^2]
The
On 17-Feb-10, at 10:03 AM, Nicolas M. Thiery wrote:
On Wed, Feb 17, 2010 at 08:53:23AM -0800, Nick Alexander wrote:
PS: FWIW, in this kind of problem having a nice
"VectorSpaceWithBasis"
so that I could define a vector space with basis given by the group
elements, would come re
PS: FWIW, in this kind of problem having a nice "VectorSpaceWithBasis"
so that I could define a vector space with basis given by the group
elements, would come really fancy.
I also want this! Various people in the combinat group suggested they
had it/were working on it, but I don't know the s
On 17-Feb-10, at 8:27 AM, Nicolas M. Thiery wrote:
On Wed, Feb 17, 2010 at 07:50:57AM -0800, javier wrote:
Apparently I was assuming too much. The result of the evaluation of
the character belongs to some cyclotomic field, so apparently the
problem is that there is not a coercion between cyclo
To have an idea of the usage I went trough the code:
- MatrixSpace.identity_matrix implement 1.
- MatrixSpace.zero_matrix implement 3.
Of course, my opinion is to make those three methods implements
2. :-)
+1 for doing option (2).
I very often want to start with the zero_matrix or the i
On 9-Feb-10, at 12:11 PM, Martin Albrecht wrote:
Try this:
sage: P. = QQ[]
sage: P.
Could you try P.*? If that fails, there might be trouble with
ipython.
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage
2) Display a notice on the browser window that the program is GPL,
say it has no warranty etc, then say "To see the full terms of the
license, type licence() at the Sage prompt"
Isn't this enough?
--
| Sage Version 4.1.1, Re
On 4-Feb-10, at 1:34 PM, Minh Nguyen wrote:
Hi David,
On Thu, Feb 4, 2010 at 8:10 PM, Dr. David Kirkby
wrote:
Comments ?
In the past [1] I expressed an interest in maintaining a "conservative
release". That was before I realized that release management is a
full-time job. Looking back,
sage: d = M.determinant()
sage: d.norm().abs() # take norm to get an integer
712483534798848
I thought of this as well, but it could be wrong since there might be
an element of the appropriate norm in the cyclotomic field that is
erroneously returned! I suggest QQ(d).abs() :)
Nick
On 31-Jan-10, at 11:35 PM, Peter Jeremy wrote:
On 2010-Jan-31 22:02:19 -0800, Nick Alexander
wrote:
Not at all. But take away mathematics, and we don't have a
*product*. Take away release management, fixing bugs, documentation,
or maintaining the web site and we have an inferior pr
By and large, we are a community of mathematicians. Correct me if
I'm wrong, but you are not contributing to the mathematical aspects
of Sage. Until that changes, your goals and my goals are only
occasionally aligned.
I hate to think that the only people that are valid contributors to
S
al aspects of
Sage. Until that changes, your goals and my goals are only
occasionally aligned.
Nick Alexander
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visi
Building Sage on HP-UX is just going to cause an immense amount of
grief for a whole load of Sage developers. Why force hundreds of
people to work to support a substandard compiler on a system no one is
ever going to use Sage on, just so you can catch a few hidden bugs,
when we have hundreds of re
It seems to me that the right way to deal with this is to extend the
capabilities of the testing scheme so that it is able to handle sets,
not only lists.
-1
The testing scheme (the doctests part at least) is text-based. What
about
sage: tested_function() # random order
set([1, 5, 7, -3, 2,
On 28-Jan-10, at 1:38 PM, xtian wrote:
On 28 Jan., 22:32, xtian wrote:
[...]
This leaves me with one last thing to do for now: giving up.
...which is not a big thing, I should add. No complaint or stuff
from my side. And thanks for all the fish. :-)
Yes, it seems that I've used enough ema
On 28-Jan-10, at 11:16 AM, xtian wrote:
Nick Alexander wrote:
[...]
Try custom-set-variable inferior-sage-prompt to the following string:
"\\(?:^\\(?:\\(?:(\\(?:[Pg]db)\\)\\|\\.\\.\\.\\(?:\\.\\.\\)?\\|>>>\\|
ipdb>\\|sage:\\) \\)+\\)"
I experimented with that a littl
On 28-Jan-10, at 6:51 AM, xtian wrote:
Using sage-mode 0.6 with emacs21, I'm getting the
following parse errors (produced with 'emacs --debug-init')
on startup, i.e. when SAGE_ROOT/data/emacs/sage.el
gets loaded:
---snip---
Debugger entered--Lisp error: (wrong-number-of-arguments #[(regexp)
On 23-Jan-10, at 10:30 PM, Oscar Lazo wrote:
SyntaxError: invalid syntax (plot3d.py, line 229)
You should look here. It occurs that IRC might be more useful than
this mailing list: irc.freenode.net #sage-devel.
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
IMHO, that is far too trivial. Most 14 year old school child will
know what that is.
You say that like it is a Bad Thing.
Personally, I think a text file in the source directory would be
best. It would mean someone has downloaded the source (do same for
binary). If they have never download
On 23-Jan-10, at 7:35 PM, Oscar Lazo wrote:
Ok, so i produced a patch called 13535.patch and tried to import it
using
sage -hg import /home/oscar/13535.patch
in my command prompt, and i got:
applying /home/oscar/13535.patch
patching file sage/plot/plot3d/all.py
Hunk #1 FAILED at 0
1 out of 1
sage: y = expand(K.det()); y
a*d*e*h - a*d*f*g - b*c*e*h + b*c*f*g
sage: simplify(y)
-a*d*f*g + a*d*h*e + b*c*f*g - b*c*h*e
To me, these look like the same expressions, just one has variables
sorted differently (h < e?) and different term orders. What is the
issue?
Nick
--
To post to thi
On 14-Jan-10, at 1:36 PM, Georg S. Weber wrote:
+1
+1! Such factorizations also have applications to congruences
concerning Bell and Uppuluri-Carpenter combinatorial numbers.
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send
On 11-Jan-10, at 10:44 AM, Robert Miller wrote:
Nathann Cohen wrote:
The thing is that we have at the moment something like 210 functions
in the Graph class. We can not really keep on adding the new ones
without caring about what it is becoming.
In response, Robert Bradshaw wrote:
Why is tha
That just leaves the question of inventing a new variable name given
any n names already defined...
I think the plan you suggested was reasonable. I suggest determining
if all names have a common prefix, then seeing if each suffix is an
integer. If yes, take the next largest integer suffix
I don't think it's a good idea to use the same variable names + one
other, since then the user is left with two different polynomial rings
in n and n+1 variables, with no inclusion map between them, but such
that the n variables of the first have the same names as the first n
variables of the seco
On 8-Jan-10, at 8:55 AM, javier wrote:
Hi all,
I have been working on this and after a while decided that my original
approach wasn't the most appropriate and started rewriting everything
for scratch.
After thinking about this problem making "conjugacy_class" a method
that returns a list (or
On 16-Dec-09, at 5:05 PM, William Stein wrote:
> On Wed, Dec 16, 2009 at 2:04 PM, Jaap Spies wrote:
>> Hasan Noori wrote:
>>> dear sage-devel,
>>> i'm a master student of mathematic in filed of Groebner basis
>>> i'm coding in maple,
>>> and have many algorithm implementation around Groe
> (In fact I'd wish for a convention that all matrix factorizations
> returned immutable matrices by default, since the factorizations are
> cached and one doesn't typically change them before using them.)
I think I wrote some (trivial!) Cholesky decomposition code, and not
making the factorizat
On 8-Dec-09, at 8:59 PM, Dan Drake wrote:
> On Tue, 08 Dec 2009 at 10:44PM -0300, Pablo De Napoli wrote:
>> I'm trying to do some computations with Bessel functions using Sage.
>> Unfortunately, they don't seem to behave like other functions. For
>> example:
>> to get the plot of the sine funct
> [ ] Yes!
+1
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
On 4-Dec-09, at 12:33 AM, Pierre wrote:
>> I know you have other things to do, but do you think you could
>> write a
>> quick-start guide to sage-mode?
Thanks for posting the basics, Pierre. Allow me to add a few
interesting snippets.
> ** open a .sage file in emacs, and go "ctrl-c ctrl-c"
>> Well, clearly you should be using emacs instead of vi :)
>
> Aah, the answer to all of life's problems! :)
I would say, clearly you should use sage-mode from within emacs. Why
not edit emacs buffers with all the tools that you would expect, plus
deep integration between your buffers and t
> In the Python environment, if someone detects an error in a Python
> function FF, then the function can be replaced in the run-time
> environment, e.g. at a command line by:
This is technically true but in practice not useful. Most Python code
is not a top-level function; it is a class member
> Nevertheless, the regular expression business isn't good either. I'll
> see what I can do -- recent sage-devel/sage-support threads indicated
> some improvements.
I'm certain you are aware, but there is an art to optimizing regular
expressions. It might be that a tuned regex is necessary, rat
On 26-Nov-09, at 12:23 PM, Florent Hivert wrote:
>>> On Thu, Nov 26, 2009 at 08:30:53AM -0800, YannLC wrote:
Just a toy implementation as a very thin layer over dict (at
least it
should be fast)
>>>
>>> That's precisely what CombinatorialFreeModule elements are :-)
>>>
>>> Furthe
On 26-Nov-09, at 10:18 AM, Nicolas M. Thiery wrote:
> On Thu, Nov 26, 2009 at 08:30:53AM -0800, YannLC wrote:
>> Just a toy implementation as a very thin layer over dict (at least it
>> should be fast)
>
> That's precisely what CombinatorialFreeModule elements are :-)
>
> Further optimizations to
It's time for this thread to move to sage-flame. Please no more
messages on sage-devel.
Nick
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at h
On 16-Nov-09, at 8:08 PM, Nick Alexander wrote:
>
>> This is because when you type "from scipy import integrate" you are
>> overwriting the integrate function. (There can only be one thing
>> named
>> integrate at a time in a given scope.)
>
> I agre
> This is because when you type "from scipy import integrate" you are
> overwriting the integrate function. (There can only be one thing named
> integrate at a time in a given scope.)
I agree that this is the cause, but it is still a bug. Why on earth
does the toplevel integrate function have
> There have been lots of times that I had to deal with the issue of the
> Graph edge (1,2) being the same as the edge (2,1); it's one of those
> thorns that keeps being a bit annoying, so I'm happy to have a small
> change that would take care of it. Maybe, to be consistent, Digraph
> edges shou
> The pictures are amazing , if sage could do this , it would look out
> of this
> world in any sage presentation.
I'm not usually interested in such renderings, but these images are
unbelievable. Well worth the click.
Nick
--~--~-~--~~~---~--~~
To post to t
> 4. I plan to implement a debugger like pdb in the notebook. Something
> very similar has already been done by the Pylons project, which should
> give an idea of how to do it for Sage.
This would be all kinds of awesome. If you are not familiar with the
Smalltalk debugger, may I suggest you
On 15-Nov-09, at 9:08 PM, James Youngquist wrote:
>
> Hello,
>
> I'm new at the whole python/sage thing. Is there a better way to
> debug
> pieces of code we're working on other than to insert print statements?
> Something where we can step through the code a line at a time or
> generate
>
> sage: G. = FreeGroup()
> sage: G
> Free Group on the Set {a, c, b}
> sage: b
> c
>
> This is probably due more to crappy programming on my part rather than
> the Set issue, but the latter did confuse me.
I think this is due to a poor definition: the decision was made that
variables are named
On 7-Nov-09, at 8:29 PM, Alex Ghitza wrote:
>
>
> This is a bit disconcerting:
>
> sage: Set(['a', 'b', 'c'])
> {'a', 'c', 'b'}
> sage: Set(['a', 'b', 'c', 'd'])
> {'a', 'c', 'b', 'd'}
> sage: Set(['a', 'b', 'c', 'd', 'e'])
> {'a', 'c', 'b', 'e', 'd'}
>
> Bug? It doesn't seem to happen with lis
On 30-Oct-09, at 3:09 AM, Minh Nguyen wrote:
>
> Hi folks,
>
> Just in case you're wondering why spam mails got through occasionally,
> here are some stories that present the moderator's side:
As a frequent denigrator of Google Groups, I read these, followed some
links, and found a potential
> Note that we already do that for things like parametric_plot,
> derivatives, etc.
And it's a continual pain in the ass. Telling the difference between
a list, tuple, sequence, iterator, vector, multiple arguments, etc...
in Python, it's just all so inconsistent. But it seems like the
fe
> Why do you think that f, which is a function from R^2->R^1, should not
> naturally be able to take inputs that live in R^2?
I don't. But that's not the way that Python works, and the existing
implementation tries to make f(x, y) look like a Python function of
two variables. I would be fin
On 27-Oct-09, at 3:17 PM, Jason Grout wrote:
>
> I was looking at how to make my calc 3 calculations easier to
> understand
> by calling a multivariable function with a vector input. I ended up
> with a coercion error. I'm not that familiar with how to work with
> the
> coercion system. W
On 26-Oct-09, at 11:22 AM, William Stein wrote:
>
> Hi,
>
> I wonder why everybody (*) making suggestions has never put together a
> single Sage release themselves, yet everybody who has done significant
> work putting together Sage releases, organizing the web page, mirror
> binaries, etc., has
On 20-Oct-09, at 9:59 AM, Robert Bradshaw wrote:
>
> On Oct 20, 2009, at 5:38 AM, Pablo Angulo wrote:
>
>> The new sage version 4.1.2 introduces a new file format that is
>> incompatible with the previous one. If I use "download fo a file",
>> that
>> file can't be opened with sage 4.1.1 (viceve
> Perhaps collapsible headings (so "TESTS" was automatically collapsed)
+1
Nick
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel-unsubscr...@googlegroups.com
For
> As far as it being *possible* to split up graph.py... It's a ten
> minute job, but nobody's done it. You could split it in three right
> away by having generic_graph.py, graph.py and digraph.py.
+1
Nick
--~--~-~--~~~---~--~~
To post to this group, send an email
>> I have no clue how to write what you are describing. Graph.neighbors
>> would be a subobject, does that mean an independent class ? Wouldn't
>> this slow down the whole Graph class, as these functions are among
>> the
>> most used ? Here I feel that I do not know Python enough to
>> help..
On 26-Sep-09, at 12:35 AM, Robert Bradshaw wrote:
>
> On Sep 25, 2009, at 8:31 PM, Kwankyu wrote:
>
>>> It is totally feasible. It hasn't happened only because nobody has
>>> done it. I think the only good reasonable longterm way to do this
>>> would be to modify the spkg-install for each and
> * More of a python import thing. In this scenario, each worksheet
> has
> an optional filename. If you use python to "import
> some_other_worksheet", the path is set up such that the normal python
> import mechanism works. This gives you all of the normal python
> namespace mechanisms. To
On 23-Sep-09, at 9:40 AM, William Stein wrote:
>
> On Wed, Sep 23, 2009 at 3:14 AM, Tim Dumol wrote:
>>
>> Are there any IRC logs up for #sage-devel? If there isn't, then
>> perhaps we can have a bot (http://www.eggheads.org/) do logging
>> automatically, and have them automatically posted onli
> This seems to give reasonable numbers for my iMac, an ubuntu box I
> sometimes use, and sage.math. Does it give bad numbers for your
> computer?
sage: import multiprocessing
sage: multiprocessing.cpu_count()
2
sage: !uname -a
Darwin pv139204.reshsg.uci.edu 9.7.0 Darwin Kernel Version 9.7.0: Tu
> Sorry if i am stating the obvious here, the reason is that i am trying
> to explain why i think it should be (either implicit or explicit)
> clear over which algebraic structure is computed.
Generally it is -- try parent(foo) or foo.parent() to see what
"algebraic structure" is in play.
sage
> I'll likely add to Trac a ticket about the need for a comparison
> method on sets later today when I get a chance.
Just for the record, "sorted sets" make very little sense. It is
important to be able to have a set containing anything that is
hashable (in the python sense) but not necessar
On 20-Sep-09, at 5:34 AM, William Stein wrote:
>
> Hi,
>
> If anybody is planning on working on the Sage notebook during the next
> week, please
> keep in close communication with me and or this list. I'm working on
> separating out the
> notebook out as a completely separate Python library.
I
On 20-Sep-09, at 10:43 PM, Craig Citro wrote:
>
>>> My preference would be that factor works for all integers. It's not
>>> like it's hard to factor 0 or anything. We just return the
>>> factorization object [(0,1)].
>>
>
> I'm pretty indifferent on this, though mildly against -- so -0, I
>
>> Well, I'm a little confused -- I thought that the whole point of
>> floor() and ceil() was to return Integers. Indeed:
In my opinion, this is a huge +1.
Nick
--~--~-~--~~~---~--~~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscri
On 17-Sep-09, at 3:16 PM, David Harvey wrote:
>
> I disagree with this change. One of the main purposes of interval
> arithmetic is to be able to take a function f(x) that operates on
> floats, and pass in intervals instead, to determine the possible range
> of outputs a given input interval cou
On 18-Sep-09, at 4:22 PM, Craig Citro wrote:
>
>> Example:
>>
>> sage: floor(log(RIF(8)) / log(RIF(2)))
>> 3.?
>>
>> Should this be 2? What if it returned an Integer if there was a
>> unique floor (ceiling, etc.) and raised an exception otherwise?
>>
>
> I'm +1 on x.floor()/x.ceil() returning an
1 - 100 of 568 matches
Mail list logo