[sage-devel] Physical DVD available

2008-04-04 Thread Robert Bradshaw

I updated the DVD on the lulu web store to 2.11. See http:// 
www.lulu.com/content/2309406 . Perhaps a link should be put somewhere  
on the main site (e.g. the downloads page?).

- Robert


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Experimental Gröbner Bases over Rin gs via Singular CVS

2008-04-04 Thread Oliver Wienand (TU Kaiserslautern, Singular Team)

  * Get the okay from Oliver Wienand the main author of the code. I think
 Oliver is reading this list.

You have my okay and please ask if anything is unclear. At the moment
I can only guarantee for the assumed correctness of the polynomial
arithmetic, Gröbner basis and reduction (reduce, interred) over Z, Z/
m, Z/p^n. Other kernel commands may or may not work and may or may not
give meaningful answers.

But specially the arithmetic may have a few caveats, as I only really
tested the operations for Gröbner basis. But having it in SAGE would
help me a lot to better test the code.

I also implemented a normal form algorithm for polynomial with respect
to the ideal of polynomial defining a constant zero functions (without
needing its Gröbner bases). The theory is mainly from Singmaster. And
further an algorithm which explicitly constructs the bases without
Buchberger or similar. I am not sure if this is of interest.

... Oliver
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: your opinions about 0.digits()

2008-04-04 Thread vgermrk

I wrote a patch, which fixes the issue (#2232) and adds a padto-
parameter (as suggested).

Feel free to review :-)
http://trac.sagemath.org/sage_trac/ticket/2232

-vgermrk-
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Should Sage have been mentioned here?

2008-04-04 Thread David Joyner

Yes, this was discussed in sage-delev already and added to
http://wiki.sagemath.org/SAGE_in_the_News
http://groups.google.com/group/sage-devel/browse_thread/thread/c954feab66c82d40/430215969bdf7556?lnk=gstq=sage+in+the+news#430215969bdf7556
(Or search Sage in the news? March 15.)

On Fri, Apr 4, 2008 at 8:49 AM, kcrisman [EMAIL PROTECTED] wrote:

  http://www.sciencedaily.com/releases/2008/03/080313124415.htm

  Just curious - sounds similar to the E8, and since William and massive
  computer time are both mentioned, sounds like a likely spot for
  publicity, though Sage is not specifically mentioned.
  


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Ginv 1.2. SPKG

2008-04-04 Thread Martin Albrecht

Hi there,

I made an SPKG for Ginv. 

  http://wwwb.math.rwth-aachen.de/Janet/ginv.html

Ginv is a small C++/Python package for computing involutive bases for 
polynomial and differential systems. Or in the words of the website:

 ginv implements the involutive basis algorithm by V. P. Gerdt and Y. A. 
 Blinkov in C++. For a list of the main features, please see below.  

 Moreover, the implemented computational methods are made accessible by ginv
 to a higher level programming language as a Python module.  

 ginv is designed so as to be able to deal with polynomial systems, systems
 of differential equations, and finite difference schemes in the future.  
 
 Some features of ginv (see Publications for more information): 
 * Janet division and Janet-like division

 * implementation of several selection strategies for the involutive basis 
 algorithm 

 * 4 involutive criteria to avoid unnecessary reductions during involutive
 basis computations 

 * Monomial orderings supported by ginv:
 degree reverse lexicographical, pure lexicographical, block orderings; their
 extensions to term over position and position over term orderings in the
 case of modules  
 
 * Coefficient domains supported by ginv:
 rational numbers, integers, finite fields, algebraic extensions of the 
 previous fields, transcendental extensions of the previous fields 

Note that this includes some rings (e.g. ZZ)!
 
 implementations of gcd algorithms for multivariate polynomials following W.
 S. Brown and R. Zippel 

I couldn't figure out yet how to call it. Anyone?

---

I haven't played with it much yet but I was quite pleasantly surprised to come 
across it, since I thought I'd seen them all (systems for computing Gröbner 
bases). Does anyone on this list know this package?

--

To play with it, get the SPKG from:

   http://sage.math.washington.edu/home/malb/ginv-1.2-20080404.spkg
   
and some very simple interface from:

   http://sage.math.washington.edu/home/malb/basis_via_ginv.py

The manual is at:

  http://invo.jinr.ru/ginv/users_guide_en/index.html

Cheers,
Martin
-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Should Sage have been mentioned here?

2008-04-04 Thread kcrisman

Sorry - that was during our spring break and I must have missed it.
Anyway, nice to see it getting play on the MAA website as well, where
I saw it first.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: proposal for interactive data input functionality in notebook

2008-04-04 Thread William Stein

On Fri, Apr 4, 2008 at 4:43 AM, Jurgis Pralgauskis
[EMAIL PROTECTED] wrote:

  Hello,

  the idea was inspired by @interact
  but sometimes I'd need input box (or text area)  not only for one
  block, but for the rest of worksheet
  the idea came when experimenting wiht matrixes (as their input is not
  comfortable):
   - textarea, where I can enter rows separated with spaces would be superb
   - there could be a rows x cols  table with input boxes (with indexes)
  inside each cell

  input stuff would be convenient for first time users to experiment
  lets say, if  they could choose the function (or data file) from a listbox
  and then see the steps (blocks) of analysis (and can experiment with
  some blocks if they want)

  if input is combined with auto recalculate (and optionally can hide
  intermediate blocks, just show the (last) output),
  then converting existing worksheet to interact functionality would be a 
 breeze

  input could also do some parsing and validation.
  I guess input definition blocks should be autonomous (not mixed with
  other code), so that it would be clear at what code position we
  already have the values

  probably the syntax could be just the same as in @interact
  just at least add new inputtype for textarea

  well, I can use usual (python) blocks to input data -- that seems not
  a big problem (but this is inconvenient (especially in matrix case))
  I also know 
 http://sagemath.blogspot.com/2008/02/mathematics-research-education-and-sage.html

  is there some sage-edu wishlist on http://sagetrac.org/sage_trac or 
 somewhere?

I think interact is just as useful in research as in education.  So
far I've used it
several times in research; and, several times in education.   It's
great for both.

The functionality you request above with textareas is something I definitely
anticipated somebody else adding after the first version of interact. Good!
The same with the spreadsheet-style input for matrices, which I would
really like to see.  Does anybody know of any good examples of javascript
that inputs a spreadsheet or matrix of values?!


  and for the sake of interest:
   what (modules) should be considered to hack to implement input 
 functionality

To implement both functions you describe above you would probably only
have to edit the file

SAGE_ROOT/devel/sage/sage/server/notebook/interact.py

This definitely won't be trivial, but fortunately that file has lots of
documentation. You could probably get away with just modifying
the input_box and InputBox classes to have an extra options that
allows for a given number of rows and columns.  Also, you might
need some clever javascript or a submit button or something,
to know when to submit the multiline input textarea.

For the spreadsheet, it would depend if it uses much javascript
or not.  If it does, do something like the slider (and Slider) classes.
If not, it will be more like InputBox.

Happy coding!


  Best Regards

  ps.: by the way -- one more idea could be also implemented with
  interact (as wims is based on pari, as I know)
  http://wims.unice.fr/wims/wims.cgi?module=tool%2Fanalysis%2Ffunction.en

  --
  Jurgis Pralgauskis
  omni: 8-616 77613; teledema: 8-657 65656;
  jabber: [EMAIL PROTECTED]; skype: dz0rdzas;
  Don't worry, be happy and make things better ;)

  




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Ginv 1.2. SPKG

2008-04-04 Thread Michael Brickenstein

I haven't used it yet, but it has an excellent reputation.
In particular it is said to be able to compete with Magma over the
rationals.
Michael

On 4 Apr., 16:16, Martin Albrecht [EMAIL PROTECTED]
wrote:
 Hi there,

 I made an SPKG for Ginv.

  http://wwwb.math.rwth-aachen.de/Janet/ginv.html

 Ginv is a small C++/Python package for computing involutive bases for
 polynomial and differential systems. Or in the words of the website:





  ginv implements the involutive basis algorithm by V. P. Gerdt and Y. A.
  Blinkov in C++. For a list of the main features, please see below.

  Moreover, the implemented computational methods are made accessible by ginv
  to a higher level programming language as a Python module.

  ginv is designed so as to be able to deal with polynomial systems, systems
  of differential equations, and finite difference schemes in the future.

  Some features of ginv (see Publications for more information):
  * Janet division and Janet-like division

  * implementation of several selection strategies for the involutive basis
  algorithm

  * 4 involutive criteria to avoid unnecessary reductions during involutive
  basis computations

  * Monomial orderings supported by ginv:
  degree reverse lexicographical, pure lexicographical, block orderings; their
  extensions to term over position and position over term orderings in the
  case of modules

  * Coefficient domains supported by ginv:
  rational numbers, integers, finite fields, algebraic extensions of the
  previous fields, transcendental extensions of the previous fields

 Note that this includes some rings (e.g. ZZ)!

  implementations of gcd algorithms for multivariate polynomials following W.
  S. Brown and R. Zippel

 I couldn't figure out yet how to call it. Anyone?

 ---

 I haven't played with it much yet but I was quite pleasantly surprised to come
 across it, since I thought I'd seen them all (systems for computing Gröbner
 bases). Does anyone on this list know this package?

 --

 To play with it, get the SPKG from:

http://sage.math.washington.edu/home/malb/ginv-1.2-20080404.spkg

 and some very simple interface from:

http://sage.math.washington.edu/home/malb/basis_via_ginv.py

 The manual is at:

  http://invo.jinr.ru/ginv/users_guide_en/index.html

 Cheers,
 Martin
 --
 name: Martin Albrecht
 _pgp:http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
 _www:http://www.informatik.uni-bremen.de/~malb
 _jab: [EMAIL PROTECTED]
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: tick marks

2008-04-04 Thread David Joyner

The procedure is (well, more-or-less) described on the pages
http://www.sagemath.org/doc/html/prog/node72.html
http://wiki.sagemath.org/TracGuidelines

My suggestion is to email sage-support and
 (a) report the problem (include OS, example, and sage version)
 (b) ask if it is recommended to create a trac ticket (it might be an
old, known bug)
 (c) explain you have a patch (a mercurial patch, created via the hg_sage.export
 command is preferred).

Thanks for helping with SAGE!

On Fri, Apr 4, 2008 at 11:43 AM, Gerhard Ertaler [EMAIL PROTECTED] wrote:

 Hello Prof. Joyner,

 what is the proper way to submit a minor patch to sage?

 specifically, I ran into some problems with the 2D _tasteful_ticks
 routine (tick marks for 2D axes). One such can be seen in the Polynomial
 evaluation
 notebook on the public sagemath server (by ge01705),
 together with a possible replacement for the routine in the More tasteful
 ticks?
 notebook.

 I do not wish to assert any copyrights or any attribution
 should this code get used, I'd just like not to have to patch
 my version of sage for a trivial problem.

 -gerhard
  
  Gesendet von Yahoo! Mail.
  Dem pfiffigeren Posteingang.

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Should Sage have been mentioned here?

2008-04-04 Thread William Stein

On Fri, Apr 4, 2008 at 5:49 AM, kcrisman [EMAIL PROTECTED] wrote:

  http://www.sciencedaily.com/releases/2008/03/080313124415.htm

  Just curious - sounds similar to the E8, and since William and massive
  computer time are both mentioned, sounds like a likely spot for
  publicity, though Sage is not specifically mentioned.

Sage would have been mentioned but unfortunately
I wasn't available when the reporter contacted me for an interview,
since it was during the part of Spring break when I was on
vacation.

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Bug Day 11

2008-04-04 Thread William Stein

On Thu, Apr 3, 2008 at 7:06 AM, mabshoff
[EMAIL PROTECTED] wrote:

  Hello folks,

  it has been a while since Bug Day 10. We also had two Doc Days and two
  Sage Days since then, so that somewhat explains while there has been
  relatively activity in this direction. But before anybody can announce
  another Doc Day I would suggest doing Bug Day 11 on April 5th. The
  usual conditions apply, i.e. we start around 10am PST and all that fun
  stuff.

  But unlike other Bug Days I would like to put an emphasis on getting
  ticket with patches reviewed and hopefully merged and also old tickets
  that have nearly working patches fixed up for merging. We have quite a
  number of tickets in the tree that can suffer from bitrot.

Let's do it!!

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Experimental Gröbner Bases over Rin gs via Singular CVS

2008-04-04 Thread Martin Albrecht

Hello Oliver,

I get the following compilation error if I use the current CVS and add

#define HAVE_RING2TOM
#define HAVE_RINGMODN

to mod2.h.in in both the Singular and kernel subdirectories.

make[2]: Entering directory `/tmp/singular-3-0-4-2-20080404/src/kernel'
make[2]: *** No rule to make target `rintegers.cc', needed by `kversion.h'.  
Stop.

Any idea?

Cheers,
Martin

 


-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: proposal for interactive data input functionality in notebook

2008-04-04 Thread dean moore
On Fri, Apr 4, 2008 at 9:30 AM, William Stein [EMAIL PROTECTED] wrote:


 The functionality you request above with textareas is something I
 definitely
 anticipated somebody else adding after the first version of interact.
 Good!
 The same with the spreadsheet-style input for matrices, which I would
 really like to see.  Does anybody know of any good examples of javascript
 that inputs a spreadsheet or matrix of values?!


Aware that open-source software is all over the 'Net, I did a quick
searchhttp://www.google.com/search?hl=enq=javascript+spreadsheet+%22open+source%22btnG=Search
found an open-source (GNU GPLv2 License) spreadsheet, in
JavaScript, HTML, CSS  PHP, at this
linkhttp://ajax.phpmagazine.net/2006/11/simple_spreadsheet_open_source.html.
Played around with the
demo, entered a 2 x 2 system and did a few simple calculations.

It admits, not very user friendly as it's in very early stages -- though
in six languages is nice.

Doubtless there are gobs of others out there -- that was only a quick search
 I'm
not saying it's the be-all  end-all.

Dean

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] hyperlinks for Colloquy users

2008-04-04 Thread David Harvey

Hi all,

This message is for Sage developers who use the Colloquy IRC chat  
client.

I have patched Colloquy so that text like #1234 gets hyperlinked to  
the sage trac server.

Here is the patch file, which should get applied to the file Panels/ 
JVDirectChatPanel.m in the root of the colloquy tree (you can get the  
original source via svn from the main colloquy web site):

http://math.harvard.edu/~dmharvey/sage-colloquy.patch

Also I made a binary. I think I made it Universal. But really I have  
no idea what I'm doing, since I don't really know how to use XCode,  
but it seems to work for me (OSX 10.4.11, intel):

http://math.harvard.edu/~dmharvey/Colloquy.app.zip

david


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Do I need Expect to invoke Sage from a *python* script?

2008-04-04 Thread [EMAIL PROTECTED]



On Apr 3, 12:44 pm, Robert Bradshaw [EMAIL PROTECTED]
wrote:

 sage -python simply runs the version of Python that sage installed,
 which is the one that has all the Sage libraries imported into it.
 sage -python my_big_web_app.py should work fine.

OK so sage -python foo.py is like doing python ./foo.py.  That's
good.

1. How find say 4+5 from foo.py?   answer = sage(4+5) ???
I really don't need to import anything or do anything special?

2. Will it maintain state just as if I was sitting at a Sage console?

Chris

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Do I need Expect to invoke Sage from a *python* script?

2008-04-04 Thread Mike Hansen

Hi Chris,

From foo.py, you should import the Sage libraries with import
sage.all.  If you don't want to use the libraries directly, and want
a Sage process like you'd get if you were sitting down at the
command-line, you can use sage0.  For examples of how this is used,
start up sage and run sage0?  In your Python program, you'd use
something like s = Sage() and use the s object to interact with a
separate Sage process.

--Mike

On Fri, Apr 4, 2008 at 1:43 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:



  On Apr 3, 12:44 pm, Robert Bradshaw [EMAIL PROTECTED]
  wrote:


   sage -python simply runs the version of Python that sage installed,
   which is the one that has all the Sage libraries imported into it.
   sage -python my_big_web_app.py should work fine.

  OK so sage -python foo.py is like doing python ./foo.py.  That's
  good.

  1. How find say 4+5 from foo.py?   answer = sage(4+5) ???
 I really don't need to import anything or do anything special?

  2. Will it maintain state just as if I was sitting at a Sage console?

  Chris



  


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] mercurial qrecord

2008-04-04 Thread Ondrej Certik

Hi,

Jason has pointed out the new qrecord command in Mercurial. It was
actually implemented by Kirill Smelkov, a SymPy developer (and a
former darcs user), here you can find
Kirill's tutorial:

http://docs.sympy.org/sympy-patches-tutorial.html

where he describes how he works with Mercurial and qrecord. Maybe it
will be useful to someone, at least I learned quite some new
techniques from it:).

BTW, Kirill has told me he is also planning to implement the qamend
(another thing from darcs) when he finds some free time.

Ondrej

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Sage Bug Day tomorrow!!!!

2008-04-04 Thread William Stein

Hi Everyone,

Sage Bug Day 11 will be tomorrow, starting at 10am.
We will be focused entirely on refereeing patches and getting them
into Sage-3.0.  Be there if you want to referee or have a patch
to referee or whatever.

  -- William

-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Sage 3.0.alpha1 released

2008-04-04 Thread mabshoff

Hello folks,

here is Sage 3.0.alpha1. The bad news upfront: The gcc 4.3
compiler support didn't make it since the updated Singular
SPKG is delayed due to some bugs. Martin Albrecht is working
on it, so hopefully it will be in alpha2. We merged a massive
number of tickets hours before alpha1 mostly thanks to Mike
Hansen who did review a whole bunch of tickets. Other
interesting bits:

 * the modabvar rewrite has been merged thanks to much work
   by William Stein, Craig Citro, Robert Bradshaw
 * much work for PolyBoRi, libSingular and Magma by Martin
   Albrecht
 * LinBox has been updated to the final 1.1.5 release thanks
   due to Clement Pernet
 * Many fixes and speedups to Elliptic curves, discrete log
   and various other bits by John Cremona
 * Carl Witty's new new randstate framework
 * A Tonelli-Shanks implementation by Steffan Reidt and
   Robert Bradshaw
 * Cython 0.9.6.13 has been merged thanks to Gary Furnish and
   Robert Bradshaw. This was a requirement to merge Gary's fast
   symbolics subsystem

Sorry for anybody I did forget. It has been a wild merge session
for the last twelve+ hours. What is most important:

Overall weighted coverage score:  50.0%
Total number of functions:  19290

w00t! Sources and binaries in the usual space. This build will
be the basis of Bug Day 11 tomorrow.

Sources:

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0/sage-3.0.alpha1.tar

Binary:

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0/sage-3.0.alpha1-sage.math-only-x86_64-Linux.tar.gz

What is up next?

 * gcc 4.3 support
 * More of OSX 10.5 64 bit support
 * merges, merges, merges

Cheers,

Michael

Merged in alpha1:

#210: John Cremona: discrete log and other generic functions
#778: John Cremona: Finite Field __call__ doesn't accept
  polynomials over F_p
#1138: Steffan Reidt, Robert Bradshaw: add implementation of
   Tonelli-Shanks to sage
#2232: Michael Kallweit: Bug in 'digits' function for Integers
#2525: Clement Pernet: update Linbox to 1.1.5 final upstream
   release
#2526: Michael Abshoff: switch charpoly mod p back to linbox as
   default
#2544: William Stein, Craig Citro, Robert Bradshaw: modabvar,
   i.e. rewrite of modular abelian varieties
#2654: Robert Bradshaw: Cyclotomic polynomials speed
#2655: Gary Furnish: Robert Bradshaw: Cython circular cdef
   imports, update to Cython 0.9.6.13.rc1
#2659: John Cremona: Elliptic curve cardinality sometimes Rational
   with bad consequences for efficiency
#2670: Didier Deshommes: implement a matrix.find() command
#2713: Carl Witty: sage-doctest applies backslash handling to
   expected outputs
#2746: Tim Abbott, Michael Abshoff: Support for writing test
   related files in SAGE_TESTDIR
#2751: Martin Albrecht: multivariate polynomials is_homogeneous
#2753: Carl Witty: new randstate framework for a global Sage
   random number seed
#2764: Minh Nguyen, Mike Hansen: fix typos in documentation
#2765: Robert Miller: bug in graph_isom, Hoffman-Singleton
   constructor
#2766: Jason Grout, Michael Abshoff: graph adjacency matrix
   defaults to sparse
#2767: Carig Citro: error in elem.matrix(F) and elem.norm(F)
   for F == elem.parent() a number field
#2771: Martin Albrecht: PolyBoRi doctest coverage at 54%
#2774: Martin Albrecht: conversion from PolyBoRi to Singular
#2776: Martin Albrecht: simplify BooleanPolynomialRing
   constructor for enduser
#2784: Chris Swierczewski: Doctests for rings/complex_number.pyx
#2786: David Harvey: update zn_poly to 0.8
#2788: David Harvey: update hypellfrob to 2.1
#2790: Michael Abshoff: fix very annoying output of new parallel
   doctesting
#2791: Tim Abbott: Build symmetrica with -fPIC on Debian
#2792: Martin Albrecht: remove workaround for non-existing
   Cython bug
#2793: William Stein: Bug in the sage preparser! \Yes,\ he
   said.
#2794: Martin Albrecht: PolyBoRi to Magma conversion
#2795: Martin Albrecht: add QuotientRing - Magma conversion
#2797: David Harvey: fix memleaks in zn_poly
#2798: Gary Furnish: probably easy-to-fix ptest issue

Merged in alpha0:

#1452: Robert Miller: Guava - in gap-4.4.10, Leon's code is
   never compiled
#1863: Martin Albrecht: implement f.change_ring(R) for f a
   multivariate polynomial
#2060: Martin Albrecht, Burin Erocal: Update PolyBoRi interface
   and spkg to 0.3.1
#2200: Tim Abbott: copyright documentation for various spkgs
#2477: Robert Miller, Jason Grout: 3d plotting of graphs -- need
   to force aspect_ratio=[1,1,1] by default
#2620: Martin Albrecht: generator generator support for ideal
#2641: David Joyner: GAP: replace guava 3.1 by guava 3.3
#2651: Jason Grout, Ryan Hinton, Martin Albrecht: rewrite
   matrix() constructor
#2667: Ryan Hinton, Carl Witty, Mike Hansen, Robert Bradshaw:
   transform.pyx calls matrix() with an RDF vector inside
   of a list instead of a flat list.
#2698: John Cremona, Alex Ghitza: Small improvements to integer
  

[sage-devel] Re: Do I need Expect to invoke Sage from a *python* script?

2008-04-04 Thread [EMAIL PROTECTED]



On Apr 4, 2:01 pm, Mike Hansen [EMAIL PROTECTED] wrote:
  In your Python program, you'd use
 something like s = Sage() and use the s object to interact with a
 separate Sage process.

Mike, Thanks! I tried it and it worked!!!  ...

import sage.all
s = sage.all.Sage()
print s.factor(100)

What if I wanted to pass s (the Sage object) a string such as
diff(sin(x^2), x) ???

Chris
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Do I need Expect to invoke Sage from a *python* script?

2008-04-04 Thread Mike Hansen

Hello,

  import sage.all
  s = sage.all.Sage()
  print s.factor(100)

  What if I wanted to pass s (the Sage object) a string such as
  diff(sin(x^2), x) ???

If you don't mind working with with strings, then you can use s.eval
which takes in a string and returns a string as well.

sage: s.eval('diff(sin(x^2),x)')
'2*x*cos(x^2)'
sage: s.eval('a = 2')
''
sage: s.eval('a')
'2'

--Mike

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Hello

2008-04-04 Thread William Stein

On Fri, Apr 4, 2008 at 7:08 PM, Kemeron Siemens [EMAIL PROTECTED] wrote:

  Hi I'm Kemeron I am a student and I'm doing and independent study
  project with William involving Sage.  The project involves adding
  support for other languages in Sage.  I am a double math and CS major
  and I'm graduating this year.  I know very little about Sage ( other
  then installing it on my system)  any advice would be much
  appreciated.


Just to clarify this, by adding support for other languages, Kemeron means
creating interfaces (or whatever) between Sage and languages such as Perl,
Ruby, Scheme, etc., that are similar to the Sage interfaces to Magma,
Mathematica,
etc.   In particular, this would make it so the notebook could be used with
languages such as Ruby, Scheme, etc., which might be relevant to education,
and would make it so rndom Ruby, Scheme, etc., code is usable in Sage
programs.

 -- William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Hello

2008-04-04 Thread Mike Hansen

Hi Kemeron,

The first place that you'll want to look is in sage/interfaces/ .
This is the directory where all of the interfaces are kept.  The file
template.py is a template to start with when writing new interfaces.
To get a rough working copy of a new interface, you pretty much just
need to specify the command used to start the program and fill in some
things like the prompt that Sage should look for, etc.

--Mike

On Fri, Apr 4, 2008 at 7:08 PM, Kemeron Siemens [EMAIL PROTECTED] wrote:

  Hi I'm Kemeron I am a student and I'm doing and independent study
  project with William involving Sage.  The project involves adding
  support for other languages in Sage.  I am a double math and CS major
  and I'm graduating this year.  I know very little about Sage ( other
  then installing it on my system)  any advice would be much
  appreciated.

  Thanks
  -Kemeron Siemens

  


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: Sage 3.0.alpha1 released

2008-04-04 Thread mabshoff



On Apr 5, 2:35 am, mabshoff [EMAIL PROTECTED]
dortmund.de wrote:
 Hello folks,

 here is Sage 3.0.alpha1. The bad news upfront: The gcc 4.3
 compiler support didn't make it since the updated Singular
 SPKG is delayed due to some bugs. Martin Albrecht is working
 on it, so hopefully it will be in alpha2. We merged a massive
 number of tickets hours before alpha1 mostly thanks to Mike
 Hansen who did review a whole bunch of tickets. Other
 interesting bits:

  * the modabvar rewrite has been merged thanks to much work
    by William Stein, Craig Citro, Robert Bradshaw
  * much work for PolyBoRi, libSingular and Magma by Martin
    Albrecht
  * LinBox has been updated to the final 1.1.5 release thanks
    due to Clement Pernet
  * Many fixes and speedups to Elliptic curves, discrete log
    and various other bits by John Cremona
  * Carl Witty's new new randstate framework
  * A Tonelli-Shanks implementation by Steffan Reidt and
    Robert Bradshaw
  * Cython 0.9.6.13 has been merged thanks to Gary Furnish and
    Robert Bradshaw. This was a requirement to merge Gary's fast
    symbolics subsystem

 Sorry for anybody I did forget. It has been a wild merge session
 for the last twelve+ hours. What is most important:

     Overall weighted coverage score:  50.0%
     Total number of functions:  19290

 w00t! Sources and binaries in the usual space. This build will
 be the basis of Bug Day 11 tomorrow.

 Sources:

 http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0/sage...

 Binary:

 http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0/sage...

 What is up next?

  * gcc 4.3 support
  * More of OSX 10.5 64 bit support
  * merges, merges, merges

 Cheers,

 Michael


Ok, there is trouble in paradise:

#2804: ssmod.py doctest failure - this is likely LinBox related. It
happens only on occasion and I didn *never* hit in on 20+ full doctest
runs on sage.math. Gary did hit it on his Dual QuadCore a couple
times.

#2802: inline_fortran.py doctest failure - we are unsure *what* caused
it. It did pop up at some point and I didn't pay attention until a day
later when I realized that it was reproducible. We suspect #2746 - any
ideas Tim?

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---