All, I decided to try hg and I created a clone and added a ~/.hrgc to the /develope/sage directory with my infomation. However, the last patch put me into the hg_editor-DwDTEO.txt and says the following:
HG: Enter commit message. lines beginning with 'HG:' HG: -- HG: user : Michael Madison madison.mich...@gmail.com HG: brach 'default' HG: changed sage/finance/time_series.pyx HG: changed sage/matrix/change_ring.pyx HG: changed sage/modules/vector_double_dense.pyx What do I do to get out of the editor and continue? thanks Mike On Wed, Jul 22, 2009 at 11:27 AM, William Stein <wst...@gmail.com> wrote: > > On Wed, Jul 22, 2009 at 11:21 AM, Michael > Madison<madison.mich...@gmail.com> wrote: > > > > Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I > > will attempt to follow the Sage Days 16 "How to get started with > > developing Sage" to apply the patches. At first look this does not > > look straight forward. Mike > > Just do: > > sage: hg_sage.apply(' > http://trac.sagemath.org/sage_trac/attachment/ticket/6438/6438-cython.patch > ') > > sage: hg_sage.apply(' > http://trac.sagemath.org/sage_trac/attachment/ticket/4571/4571-numpy-pxd.patch > ') > > sage: hg_sage.apply(' > http://trac.sagemath.org/sage_trac/attachment/ticket/4571/4571-more-fixes.patch > ') > > sage: quit > > sage -br > > and it should work, I guess. > > William > > > > > > On Jul 22, 8:32 am, Robert Bradshaw <rober...@math.washington.edu> > > wrote: > >> After applying bothhttp://trac.sagemath.org/sage_trac/ticket/6438 > >> andhttp://trac.sagemath.org/sage_trac/ticket/4571, the notebook > >> seems to work just as well as the command line, or just raw Cython. > >> Hopefully this makes it into 4.1.1. > >> > >> As for complex types, there's still some issues of doing arithmetic > >> with numpy-defined types. You have to declare them natively > >> > >> %cython > >> > >> import numpy as np > >> cimport numpy as np > >> > >> def test_array(): > >> cdef np.ndarray[double complex, ndim=1] a = np.zeros(5, > >> dtype=np.complex128) > >> a[0] = 3+4j > >> a[1] = 1j > >> cdef double complex z = a[0] * a[1] > >> print z > >> > >> test_array() > >> (-4+3j) > >> > >> - Robert > >> > >> On Jul 22, 2009, at 5:46 AM, Michael Madison wrote: > >> > >> > >> > >> > >> > >> > Ethen, Sorry I have not tried. I wanted to speed up some molecular > >> > dynamics code I have been playing with that uses numpy and I actually > >> > only need the real types. Also, I have been just working with the > >> > notebooks. For VMWARE the graphics does not work outside of the > >> > notebook interface. Since the ctypedef assignments like "ctypedef > >> > numpy.float_t Dtype_t" does not currently work in sage with cython I > >> > was trying to pigy back off of your questions to see if I could get it > >> > to work before they fix the bug in Sage. I see a lot of potential for > >> > Sage for Physics and engineering applications if a few things get > >> > fixed. Mike > >> > >> > On Jul 21, 5:15 pm, Ethan Van Andel <evlu...@gmail.com> wrote: > >> >> I think it only works outside, when compiling extensions for sage. > >> >> However, I am also getting issues with complex types after the fix, > >> >> did you get them to compile regularly outside? > >> > >> >> Ethan- Hide quoted text - > >> > >> - Show quoted text - > > > > > > > > > -- > William Stein > Associate Professor of Mathematics > University of Washington > http://wstein.org > > > > -- Michael R. Madison, Ph.D. (530) 346-2032 --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---