Dear all,
As I'm sure most people here know, polynomials in Sage are kind of
immutable - they are meant to be immutable and (most) methods are
allowed to assume this to improve their performance, but sometimes
there an interface is (see _unsafe_mutate) to modify a polynomial
nonetheless.
I've rec
I just tried it and the standard library functions also use that
"optimization".
In [1]: from copy import copy
In [2]: l="slkl"
In [3]: copy(l) is l
Out[3]: True
Cheers,
Michael
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an emai
Hej Niles,
I wonder why in your example you do the quadratic twist thing. In this
case E is equal to it's quadratic twist. (at least without the patch).
sage: E = EllipticCurve('53a1')
sage: Et, D = E.minimal_quadratic_twist()
sage: E
Elliptic Curve defined by y^2 + x*y + y = x^3 - x^2 over Ratio
On 2 Aug, 09:57, Michael Brickenstein wrote:
> I just tried it and the standard library functions also use that
> "optimization".
>
> In [1]: from copy import copy
>
> In [2]: l="slkl"
>
> In [3]: copy(l) is l
> Out[3]: True
>
> Cheers,
> Michael
Perhaps my knowledge of Python isn't strong enough
That's a very hard question.
I found
http://groups.google.com/group/sage-devel/browse_thread/thread/7499c3e834bd675b/5b2f8d39f4137684?lnk=gst&q=_unsafe_mutate+power+series#5b2f8d39f4137684
for more background.
Cheers,
Michael
Am 02.08.2010 um 11:08 schrieb Sebastian Pancratz:
> On 2 Aug, 09:5
str is very much immutable.
So you can't even set some custom attribute.
For that you have to sublass. Look what happens, when you subclass str
and get some mutable class
this way:
In [10]: class A(str):
:pass
In [11]: a=A()
In [13]: copy(a) is a
Out[13]: False
while copy is the i
Trac ticket 8361 (http://trac.sagemath.org/sage_trac/ticket/8361) implements
an iterator for vectors over integers. I dislike this extension for several
reasons:
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+uns
Argh, my mail client just tricked me. Anyway:
The main reason is that I see no mathematical obvious way of iterating
through all vectors of the integers. The (arbitrarily) decided way in
the patch seems usable in only very few cases (and it does not even
contain vectors with any negative elements)
Hi Johan:
Maybe your email got cut off somehow?
I'm not sure what you were going to say, but sometimes you can
also make comments on the ticket itself. If you don't have a trac
account, please see http://trac.sagemath.org/sage_trac/prefs/account
A guide to the trac system is here:
http://www.sage
Now my compilation of the patched Sage finished, and it seems that the
patch doesn't even work anymore. SearchTree doesn't have a
breadth_first_search_iterator; maybe that class has changed while the
patch has been waiting for review?
On Aug 2, 12:09 pm, "Johan S. R. Nielsen"
wrote:
> Argh, my ma
Hi David
Thanks. I thought I would start a discussion here, though, because it
seems like a general issue whether or not to add iterators on such
structures.
Cheers,
Johan
On Aug 2, 12:15 pm, David Joyner wrote:
> Hi Johan:
>
> Maybe your email got cut off somehow?
>
> I'm not sure what you were
Hello Maarten,
Thanks for your reply; I'm afraid my ignorance of elliptic curves is
broader than you expect :)
On Aug 2, 5:03 am, koffie wrote:
> Hej Niles,
>
> I wonder why in your example you do the quadratic twist thing. In this
> case E is equal to it's quadratic twist. (at least without the
Good. Looks like you are on trac after all. Can you please add your
initials and real name to
the list at the bottom of the main trac page http://trac.sagemath.org/sage_trac?
The ticket is by nborie (= Nicolas Borie, Université Paris Sud XI,
Orsay) who I think works
with N Thiery in the combinator
Hi Dave,
On Mon, 2 Aug 2010 04:49:22 +0100
David Kirkby wrote:
> Looking at that list of doctest failures on Cygwin, there's a high
> correlation between those packages which are presenting problems on
> Cygwin, and those where the Sun Studio compiler will refuse to compile
> the code on Solaris
On 08/ 2/10 11:28 AM, Burcin Erocal wrote:
Hi Dave,
On Mon, 2 Aug 2010 04:49:22 +0100
David Kirkby wrote:
Looking at that list of doctest failures on Cygwin, there's a high
correlation between those packages which are presenting problems on
Cygwin, and those where the Sun Studio compiler will
Hi Niles and Koffie!
On 2 Aug., 12:26, Niles wrote:
> ...
> (Also, I have checked the example given in the docstring for elliptic
> curve 14a, and the power series patch does not affect this answer. In
> fact the patch passes all tests from 'make ptestlong' except for the
> one mentioned in this
Running sage's python on a python file gives ImportError:
sage subshell$ sage -python lp.py
Traceback (most recent call last):
File "lp.py", line 3, in
from cvxopt import matrix
File "/home/dima/sage/sage-4.5.1/local/lib/python2.6/site-packages/
cvxopt/__init__.py", line 30, in
impor
On 2 Aug., 13:48, Dima Pasechnik wrote:
> Any ideas where to look?
>
Can you look up what LD_LIBRARY_PATH says inside the sage shell (sage -
sh) and when running -python lp.py ?
import os; os.environ['LD_LIBRARY_PATH']
Maybe that's different.
H
--
To post to this group, send an email to sage
Hello,
I put a message on the trac 8361...
I still work on the SearchForest feature (and rebase it because it no
longer worked with 4.5.2). But it is definitely right that an iterator
of IntergerVectors doesn't deserve to use the SearchForest engine
(SearchForest is only adapted for poor tree-lik
*sigh*
And I bludgeon the solution out the very next night.
Here is how I got the optional package automap to install into a
binary sage R.
Go into the sage directory and edit the following files:
local/bin/R and local/lib/R/bin/R
and change all the hard-set user variables "/scratch/" to the t
On 2 Aug, 10:39, Michael Brickenstein wrote:
> str is very much immutable.
> So you can't even set some custom attribute.
> For that you have to sublass. Look what happens, when you subclass str
> and get some mutable class
> this way:
>
> In [10]: class A(str):
> : pass
>
> In [11]: a
I just found that linking in addition against libgcc_s.so cures the
problem.
This is suspiciously similar to (presumably) freebsd-specific lapack
trouble discussed in
http://wiki.sagemath.org/freebsd/sage-4.5
So this seems to be a proof that this is rather gcc-4.5-related,
rather than FreedBSD-spe
On 08/ 2/10 12:48 PM, Dima Pasechnik wrote:
Running sage's python on a python file gives ImportError:
sage subshell$ sage -python lp.py
Traceback (most recent call last):
File "lp.py", line 3, in
from cvxopt import matrix
File "/home/dima/sage/sage-4.5.1/local/lib/python2.6/site-packa
As part of my newly begun Ph.D studies, I am planning to extend Sage's
functionality in error correcting codes. I have already had some
conversations with David Joyner about this, and we agreed that before
any major work should be undertaken, a general framework of the
classes and functionality sho
Dave,
I don't have gcc-4.5.1 installed anywhere, not yet at least.
You can try this yourself ( first without the 1-line change below,
then with:
install the cvxopt-1.1.2.spkg from the link I posted on #6456,
run spkg-check, first without the 1-line change below, then with)
diff -r 117baef5ef34 pat
Hi,
I'd like to add an experimental package, but I can't find the
procedure to do it anywhere. Do I have to open a Trac ticket? Or just
post a message here with a link to the .spkg? Is a description of the
package needed?
Thanks in advance!
Uri
--
To post to this group, send an email to sage-dev
Hi Rob,
well, I am familiar with cloning of my own sage installs.
I just thought that cloning a system-wide (or another user's)
sage install should work, too :-)
Dima
On Aug 2, 1:11 am, Rob Beezer wrote:
> Hi Dima,
>
> I don't have any experience with making a clones from/within a system-
> wide
On Mon, Aug 02, 2010 at 07:05:50AM -0700, Dima Pasechnik wrote:
> Hi Rob,
> well, I am familiar with cloning of my own sage installs.
> I just thought that cloning a system-wide (or another user's)
> sage install should work, too :-)
"sage -clone" doesn't clone a sage install. It only clones the s
I agree. I started developing for Sage last week and used the clone
function twice before moving on to queues. Queues are not difficult to
understand and the bookkeeping is rather minimal, so I think that the
Developer's guide could skip clone completely.
As an aside, how sophisticated are the var
Dear Joal,
Was this a downloaded binary? The variable '/scratch/...' seems to
indicate this is the case. This is usually not a problem on a 'home-
built' one - I've installed lots of R packages using
sage: r.install_packages()
I'm opening a Trac ticket for this, but unfortunately don't know
en
I disagree. For people who are not used to developing at all, cloning
is a vital tool - just like hg_sage and the like.
That doesn't mean that cloning should build the documentation
automatically! I think there are even some tickets open to NOT build
doc with an arbitrary build/clone.
Doctestin
On 08/ 2/10 02:58 PM, Uri wrote:
Hi,
I'd like to add an experimental package, but I can't find the
procedure to do it anywhere. Do I have to open a Trac ticket? Or just
post a message here with a link to the .spkg? Is a description of the
package needed?
Thanks in advance!
Uri
I would persona
On Mon, Aug 2, 2010 at 9:58 AM, Uri wrote:
> Hi,
> I'd like to add an experimental package, but I can't find the
> procedure to do it anywhere.
Some info is here:
http://www.sagemath.org/doc/developer/disseminating_code.html
> Do I have to open a Trac ticket?
Yes please.
> Or just post a mess
On 08/ 1/10 04:07 PM, Dima Pasechnik wrote:
I have written to FSF. So far, only an automated reply, giving the
case number:
"Your request has
been assigned an ID of [gnu.org #599076]."
We'll see...
Best,
Dima
Personally I feel whatever may be the legality of the word "should" in this
license,
On 08/ 2/10 03:43 PM, Dr. David Kirkby wrote:
I don't think opening a trac ticket will do any harm. Just make it clear
it's experimental.
I should add to that, it would be good if the difference between experimental
and optional could be clarified. The implication from reading the web pages i
Johan,
I certainly do not qualify as a Sage veteran, but I have done some
work on the engineering side of coding theory (LDPC codes).
Your framework sounds good to me. In fact, it's somewhat similar to
what I have done. In my case, a particular code is relatively
uninteresting, so I have been u
Dave,
It looks more like a linker bug/feature --- the same behaviour on
skynet's eno (Linux), but
no errors on skynet's mark (Solaris, which I believe uses Sun's
linker).
Dima
On Aug 2, 3:08 pm, "Dr. David Kirkby" wrote:
> On 08/ 2/10 12:48 PM, Dima Pasechnik wrote:
> > Running sage's python o
On Mon, Aug 02, 2010 at 08:33:49AM -0700, Dima Pasechnik wrote:
> Dave,
>
> It looks more like a linker bug/feature --- the same behaviour on
> skynet's eno (Linux), but
> no errors on skynet's mark (Solaris, which I believe uses Sun's
> linker).
Is it a fresh build or an upgrade of sage?
-Wille
On Mon, Aug 2, 2010 at 7:58 AM, Dr. David Kirkby
wrote:
> On 08/ 2/10 03:43 PM, Dr. David Kirkby wrote:
>
>> I don't think opening a trac ticket will do any harm. Just make it clear
>> it's experimental.
>
> I should add to that, it would be good if the difference between
> experimental and option
a fresh build on taurus.
On mark and eno I used builds by John Palmieri, so I don't know about
them.
Dima
On Aug 2, 5:57 pm, Willem Jan Palenstijn wrote:
> On Mon, Aug 02, 2010 at 08:33:49AM -0700, Dima Pasechnik wrote:
> > Dave,
>
> > It looks more like a linker bug/feature --- the same behavi
On Sun, Aug 1, 2010 at 5:40 PM, koffie wrote:
> Hej All,
>
> I started developing for sage not so long ago and I wonder if there
> are some good coding practices / conventions for dealing with global
> functions and attributes which have the same name and also do the same
> thing. An example of su
On 08/ 2/10 02:58 PM, Dima Pasechnik wrote:
Dave,
I don't have gcc-4.5.1 installed anywhere, not yet at least.
You can try this yourself ( first without the 1-line change below,
then with:
install the cvxopt-1.1.2.spkg from the link I posted on #6456,
run spkg-check, first without the 1-line chan
I am currently building the atlas spkg with (appropriately adjusted)
patch on
#9600, so that libgcc_s is linked in, and see if it fixes the trouble.
Actually, it looks like a blocker for the release...
Dima
On Aug 2, 6:02 pm, Dima Pasechnik wrote:
> a fresh build on taurus.
> On mark and eno I
SageDevs,
In the interest of "gotchas", please consider the following:
The built-in str, and the module string are different, though both
return type str according to type().
Example:
d...@dv9000-laptop:~$ python2.6
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "he
On Jun 15, 1:14 pm, "Justin C. Walker" wrote:
> On Jun 15, 2010, at 09:50 ,kcrismanwrote:
>
> > I haven't posted about this before, but on my OSX 10.6 MacBook Pro, I
> > have consistently gotten this error when doing doctesting ofsage/
> > plot/
> > plot3d/base.pyx. Built from scratch, doesn't
I wasn't able to figure out how to make the appropriate change to
ATLAS spkg using that patch.
Perhaps someone more knowledgeable about ATLAS can have a go at it.
Dima
On Aug 2, 6:06 pm, Dima Pasechnik wrote:
> I am currently building the atlas spkg with (appropriately adjusted)
> patch on
> #96
On Aug 2, 9:02 am, Dima Pasechnik wrote:
> a fresh build on taurus.
> On mark and eno I used builds by John Palmieri, so I don't know about
> them.
>
> Dima
>
> On Aug 2, 5:57 pm, Willem Jan Palenstijn wrote:
>
>
>
> > On Mon, Aug 02, 2010 at 08:33:49AM -0700, Dima Pasechnik wrote:
> > > Dave,
>
On Aug 2, 9:00 am, William Stein wrote:
> On Mon, Aug 2, 2010 at 7:58 AM, Dr. David Kirkby
>
> wrote:
> > On 08/ 2/10 03:43 PM, Dr. David Kirkby wrote:
>
> >> I don't think opening a trac ticket will do any harm. Just make it clear
> >> it's experimental.
>
> > I should add to that, it would be g
On Aug 2, 9:34 am, kcrisman wrote:
> On Jun 15, 1:14 pm, "Justin C. Walker" wrote:
>
> > On Jun 15, 2010, at 09:50 ,kcrismanwrote:
>
> > > I haven't posted about this before, but on my OSX 10.6 MacBook Pro, I
> > > have consistently gotten this error when doing doctesting ofsage/
> > > plot/
>
> > Could you formulate some more precise descriptions of experimental and
> > optional, for discussion?
>
> I think that, among other things, optional packages should build on
> all "supported platforms" (whatever that means -- this phrase needs to
> be defined carefully somewhere: see #9487), wh
On Mon, Aug 2, 2010 at 10:52 AM, kcrisman wrote:
>
>> > Could you formulate some more precise descriptions of experimental and
>> > optional, for discussion?
>>
>> I think that, among other things, optional packages should build on
>> all "supported platforms" (whatever that means -- this phrase n
Great, this is exactly what I had figured was going on now. It is
very unfortunate that PIL does this. But at any rate I am making sure
these tickets have that thread referenced, which they currently
don't.
Also, what other effects will SAGE_BINARY_BUILD have on a source
build? After all, I'm n
On Aug 2, 11:01 am, kcrisman wrote:
> Great, this is exactly what I had figured was going on now. It is
> very unfortunate that PIL does this. But at any rate I am making sure
> these tickets have that thread referenced, which they currently
> don't.
>
> Also, what other effects will SAGE_BINA
Caveat: Hopefully my chaining of operators there didn't mislead, that
was unintended. I think most of what I said still holds, if not all.
-Don
On Aug 2, 9:14 am, mda_ wrote:
> SageDevs,
>
> In the interest of "gotchas", please consider the following:
>
> The built-in str, and the module string
On Aug 2, 2:05 pm, John H Palmieri wrote:
> On Aug 2, 11:01 am, kcrisman wrote:
>
> > Great, this is exactly what I had figured was going on now. It is
> > very unfortunate that PIL does this. But at any rate I am making sure
> > these tickets have that thread referenced, which they currently
On Aug 2, 1:54 pm, William Stein wrote:
> On Mon, Aug 2, 2010 at 10:52 AM, kcrisman wrote:
>
> >> > Could you formulate some more precise descriptions of experimental and
> >> > optional, for discussion?
>
> >> I think that, among other things, optional packages should build on
> >> all "suppor
On Aug 2, 2:17 pm, kcrisman wrote:
> On Aug 2, 1:54 pm, William Stein wrote:
>
>
>
>
>
> > On Mon, Aug 2, 2010 at 10:52 AM, kcrisman wrote:
>
> > >> > Could you formulate some more precise descriptions of experimental and
> > >> > optional, for discussion?
>
> > >> I think that, among other th
Hi,
SAGE_BINARY_BUILD was introduced as a compromise when it was decided
that libjpeg and libtiff were to be introduced first as optional
packages, since PIL is a standard package. Without SAGE_BINARY_BUILD
set, binary distributions have PIL link with libjpeg and libtiff as
shared libraries, which
On Aug 2, 4:58 pm, "Dr. David Kirkby" wrote:
> .. if the difference between experimental
> and optional could be clarified.
Personally. if I could define it, I would use these definitions:
1. standard: that's well tested, included in each distribution,
essential, and the responsibility of the Sa
On 2010-Aug-02 05:41:22 -0700, Dima Pasechnik wrote:
>I just found that linking in addition against libgcc_s.so cures the
>problem.
>This is suspiciously similar to (presumably) freebsd-specific lapack
>trouble discussed in
>http://wiki.sagemath.org/freebsd/sage-4.5
And trac #9600 (as has been di
On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik wrote:
>install the cvxopt-1.1.2.spkg from the link I posted on #6456,
>run spkg-check, first without the 1-line change below, then with)
>
>diff -r 117baef5ef34 patches/setup.py
>--- a/patches/setup.py Sun Aug 01 11:48:42 2010 -0700
>+++ b/patches/se
On Tue, Aug 03, 2010 at 05:23:17AM +1000, Peter Jeremy wrote:
> On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik wrote:
> >install the cvxopt-1.1.2.spkg from the link I posted on #6456,
> >run spkg-check, first without the 1-line change below, then with)
> >
> >diff -r 117baef5ef34 patches/setup.py
>
Another Caveat: str doesn't implement .__copy__ or .__deepcopy__ so
I'm being sillybut the main point being "is" is object comparison
not equality. Ok, email on exponential backoff!! ;-)
On Aug 2, 11:06 am, mda_ wrote:
> Caveat: Hopefully my chaining of operators there didn't mislead, that
>
On Aug 2, 9:23 pm, Peter Jeremy wrote:
> On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik wrote:
>
> >install the cvxopt-1.1.2.spkg from the link I posted on #6456,
> >run spkg-check, first without the 1-line change below, then with)
>
> >diff -r 117baef5ef34 patches/setup.py
> >--- a/patches/setu
my taurus build of sage 4.5.1 has liblapack.so just fine...
On Aug 2, 10:11 pm, Willem Jan Palenstijn wrote:
> On Tue, Aug 03, 2010 at 05:23:17AM +1000, Peter Jeremy wrote:
> > On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik wrote:
> > >install the cvxopt-1.1.2.spkg from the link I posted on #6456
On Aug 2, 1:11 pm, Willem Jan Palenstijn wrote:
> On Tue, Aug 03, 2010 at 05:23:17AM +1000, Peter Jeremy wrote:
> > On 2010-Aug-02 06:58:10 -0700, Dima Pasechnik wrote:
> > >install the cvxopt-1.1.2.spkg from the link I posted on #6456,
> > >run spkg-check, first without the 1-line change below,
I'm studying engineering, and I'm used to some programs such as
Matlab, Maple, etc. When I knew about SAGE I found it very powerful,
simple and well structured, but I quickly found out that it wouldn't
be very useful in engineering, which is more oriented to numerical
analysis and simple math opera
On Mon, Aug 02, 2010 at 01:28:36PM -0700, Dima Pasechnik wrote:
> my taurus build of sage 4.5.1 has liblapack.so just fine...
Ah, now I notice it's generated by atlas. (Sorry, I stupidly missed that rather
obvious bit of #9600). Atlas seems to use ld directly to link liblapack.a into
liblapack.so
On Mon, Aug 2, 2010 at 1:38 PM, cousteau wrote:
> I'm studying engineering, and I'm used to some programs such as
> Matlab, Maple, etc. When I knew about SAGE I found it very powerful,
> simple and well structured, but I quickly found out that it wouldn't
> be very useful in engineering, which is
*groan* I did the equivalent of:
a = "blah de BLAH"
b = "%s" % a
a is b => False
a == b => True
It makes a deepcopy or a double reference for all I know. Even two
equal immutable strings fail the "is" test, so I stand by my statement
that "is" is bad form unless you are working with an object t
On 08/ 2/10 09:47 PM, William Stein wrote:
On Mon, Aug 2, 2010 at 1:38 PM, cousteau wrote:
I'm studying engineering, and I'm used to some programs such as
Matlab, Maple, etc. When I knew about SAGE I found it very powerful,
simple and well structured, but I quickly found out that it wouldn't
be
> str is very much immutable.
> So you can't even set some custom attribute.
I found a way to cheat. =)
Python 2.6 has backported the Python 3000 bytearray() method, which is
basically just a mutable str. No import statement needed.
http://www.python.org/dev/peps/pep-3112/
So you can copy yo
When I build ATLAS on my OpenSolaris box with SAGE64=yes, it takes about 5
minutes to build as a 64-bit library. I can live with that.
Building ATLAS as a 32-bit binary (i.e. SAGE64 is not set), on the same
hardware, seems to be taking forever. ATLAS has been building an hour, and its
still no
On Mon, Aug 02, 2010 at 08:43:53PM +, Willem Jan Palenstijn wrote:
> On Mon, Aug 02, 2010 at 01:28:36PM -0700, Dima Pasechnik wrote:
> > my taurus build of sage 4.5.1 has liblapack.so just fine...
>
> Ah, now I notice it's generated by atlas. (Sorry, I stupidly missed that
> rather
> obvious
I'd like to jump in, since I often struggles with those issues. I
still suggest to estimate the engineering audience in this list to
coordinate a little and maybe just start with a little wiki to
cooperate.
>From my little experience, I can tell you that SAGE is a wonderful
investment for its inter
Sorry, I mistyped the last part, which I replicate here.
I would add to this list a different notebook interface, something
like a single file editor, plus an online console... something like
Matlab's IDE :) I'm actually investigating how difficult it would be
using codemirror plugin (already in S
On 08/02/2010 03:33 PM, John H Palmieri wrote:
>> I'm trying to reproduce this, but on skynet's taurus I don't even get a
>> liblapack.so, but only liblapack.a. (The build isn't done yet, but the lapack
>> package is done.)
>>
>> Am I missing something? I checked, but none of my recent sage builds
>> sage: matrix(2, [1,2, 3,4])
>> [1 2]
>> [3 4]
>>
>> I don't like your suggestion to introduce something that isn't valid
>> Python to enter matrices.
>
> Could you please clarify the policy to introduce unacceptable Python
> syntax in the preparser?
There is no policy. My personal policy is t
On Mon, Aug 2, 2010 at 2:58 PM, Dr. David Kirkby
wrote:
> When I build ATLAS on my OpenSolaris box with SAGE64=yes, it takes about 5
> minutes to build as a 64-bit library. I can live with that.
>
> Building ATLAS as a 32-bit binary (i.e. SAGE64 is not set), on the same
> hardware, seems to be tak
1. ENGINEERING MODE
Ok, I didn't think about the problems that using real numbers where
indexes are required would cause. Doesn't look easy to workaround, so
better forget about this one.
2. UNITS
Good to know that Sage already supports units, when were they
implemented? Apparently not in 4.1.2 at
On Wed, Jul 28, 2010 at 11:38 PM, Sergey Bochkanov
wrote:
>> My suggestion would be to support Sage vectors and matrices over
>> GF(2), RDF, and CDF (machine floats and complex numbers), as well as
>> numpy arrays and matrices of appropriate types.
>
> +1
>
> My proposal is to make
> * boolean vec
On Aug 2, 7:59 pm, cousteau wrote:
> 1. ENGINEERING MODE
> Ok, I didn't think about the problems that using real numbers where
> indexes are required would cause. Doesn't look easy to workaround, so
> better forget about this one.
>
I also encourage the appending of a . syntax. But we've defin
On Mon, Aug 2, 2010 at 4:59 PM, cousteau wrote:
> 1. ENGINEERING MODE
> Ok, I didn't think about the problems that using real numbers where
> indexes are required would cause. Doesn't look easy to workaround, so
> better forget about this one.
>
> 2. UNITS
> Good to know that Sage already supports
On Mon, Aug 2, 2010 at 6:40 PM, kcrisman wrote:
> Finally, having multiple interfaces to Sage would be a great thing!
> The notebook is great for many educational and research purposes, the
> command line for others, and why not one for engineering/programming?
> Are there any IDE candidates which
I wrote the following zumkeller number verification function today, if
anyone's interested. I verified its correctness for the first 10,000
terms (from the OEIS site) in the domain: 1 < n < 43465. Computation
for that range took 1 hour, 26 minutes, 5.17 seconds =) Is it fast or
slow?
def is_zk(
On Wed, Jul 28, 2010 at 11:38 PM, Sergey Bochkanov
wrote:
> My proposal is to make
> * boolean vector/matrix = GF(2), RDF (non-zero = True)
> * integer vector/matrix = RDF
> * real = RDF
> * complex = CDF
I've attached a patch to make alglib allow input in the following formats:
* boolean vector/
On Mon, 02 Aug 2010 at 07:12PM -0700, mda_ wrote:
> I wrote the following zumkeller number verification function today, if
> anyone's interested. I verified its correctness for the first 10,000
> terms (from the OEIS site) in the domain: 1 < n < 43465. Computation
> for that range took 1 hour, 26
> Calling sigma() involves a call to factor(), so you are basically
> factoring your input *twice* every time (I think; someone should correct
> me if I'm wrong) -- bad idea! I would move the "d
> = divisors(a)" to the top, and then do
>
> sa = sum(d)
You're right, I made that same optimizatio
Also I forgot to parallelize it. It currently only runs on one core.
I have two on this laptop. =)
--
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
On 8/2/10 6:40 PM, kcrisman wrote:
On Aug 2, 7:59 pm, cousteau wrote:
3. BODE DIAGRAMS
Well, ok, maybe when I tried to plot a bode diagram I didn't research
much on the graphics array point, but there's still missing a way to
make the X axis have a logarithmic scale (without replacing x wit
On 8/2/10 4:59 PM, cousteau wrote:
3. BODE DIAGRAMS
Well, ok, maybe when I tried to plot a bode diagram I didn't research
much on the graphics array point, but there's still missing a way to
graphics array doesn't line up the scales with each other (if that's
needed). However, that is very e
#1396 is marked as fixed, but the release manager has backed it out as it caused
problems. Dan wrote:
"We don't have an "unmerged in:" field, but this patch is getting "unmerged" in
4.5.2.alpha1."
But given it was unmerged, should this not be be set to "needs work", rather
than fixed?
It's
I just built a clone in about a minute. On a fresh install of
4.5.2.rc0 created from source. Maybe with a binary install, the docs
need to be built on the first clone? Maybe a second clone would
happen without the documentation being built?
For the uninitiated or timid,
(a) making a clone
fol
93 matches
Mail list logo