I'm doing numerical minimization on it right now and the only reason I
want/need it to be a sage function is so I can .subs() real values for
my parameters. To get around that, I'm just going to use global
variables for my parameters. It's kind of ugly, but it will work. It
would be nice
M.units() will give a set of units which are a Z-basis for the units
modulo roots of unity. There is no canonical basis, so there's no
reason why (even if the unit ranks are the same) you should get the
same generators.
For more functionality with units construct U=X.unit_group() and look
at
On Tuesday 21 July 2009, Marshall Hampton wrote:
I would recommend looking at how Mathematica handles this sort of
thing. One of the things I miss is its ability to selectively treat
different variables as either part of a coefficient ring or as
multivariate polynomials. For example:
On Jul 21, 6:01 pm, mac8090 bonzerpot...@hotmail.com wrote:
For a field extension over Q of 2 values, for example M=QQ(i, sqrt
(2)), it is possible to find an absolute field X by the following
L.b=NumberField(x^2-2)
R.t=L[]
M.c=L.extension(t^2+1)
(this gets M)
X.d=M.absolute_field()
I guess I was trying to say that it would be nice if that could be
done more easily, like if one could do
sage: var('x,y,z')
sage: fs = [x^2*y - y, sin(z)*x*y^2 - y*sin(z)]
sage: SR.groebner_basis(fs, [x,y])
-Marshall
On Jul 22, 3:47 am, Martin Albrecht m...@informatik.uni-bremen.de
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
When I try to log in to sagenb.org or a sage notebook on a personal
machine using the browser on my android phone, after entering username
and password I end up at an empty page whose title is Error | Sage
Notebook and whose URL is http://sagenb.org/login
I can view published worksheets without
After applying both http://trac.sagemath.org/sage_trac/ticket/6438
and http://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
Ok, I've absorbed all of that. This morning it occured to me that it
would be nice if one could define a class method called _html_. If
present, it would try to render an htmlized (is that a word?) version
of the class (just as __str__ renders a printable version or _latex_
renders a latex
Ok, I've absorbed all of that. This morning it occured to me that it
would be nice if one could define a class method called _html_. If
present, it would try to render an htmlized (is that a word?) version
of the class (just as __str__ renders a printable version or _latex_
renders a latex
Ok, I've absorbed all of that. This morning it occured to me that it
would be nice if one could define a class method called _html_. If
present, it would try to render an htmlized (is that a word?) version
of the class (just as __str__ renders a printable version or _latex_
renders a latex
Hi,
using sage 4.0.2 with the Windows notebook interface (via VM virtual
machine) I wonder that there in no possibility to show a R plot
directly in the notebook:
x - 1:10
plot(x)
Error in png() : X11 is not available
A 'capabilties()' call shows the reason:
jpeg pngtcltk X11
On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensenj...@uwo.ca wrote:
When I try to log in to sagenb.org or a sage notebook on a personal
machine using the browser on my android phone, after entering username
and password I end up at an empty page whose title is Error | Sage
Notebook and whose
Robert,
Should those double complex declarations give any speedup?
Are they declaring the numpy complex type or something else?
Slightly unrelated, how are self.something variables handled? It seems
like you can't cdef them, so are they then always going to be slow? If
you cdef a variable and
On Jul 22, 2009, at 10:55 AM, Ethan Van Andel wrote:
Robert,
Should those double complex declarations give any speedup?
Yes, lots (compared to using Python complex objects). The are complex
analogues of int, double, float, etc.
Are they declaring the numpy complex type or something else?
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
On Jul 22, 8:32 am, Robert Bradshaw rober...@math.washington.edu
On Wed, Jul 22, 2009 at 11:21 AM, Michael
Madisonmadison.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
On Thu, Jul 23, 2009 at 4:27 AM, William Steinwst...@gmail.com wrote:
On Wed, Jul 22, 2009 at 11:21 AM, Michael
Madisonmadison.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
On Jul 22, 2009, at 11:27 AM, William Stein wrote:
On Wed, Jul 22, 2009 at 11:21 AM, Michael
Madisonmadison.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
On Thu, Jul 23, 2009 at 4:36 AM, Robert
Bradshawrober...@math.washington.edu wrote:
On Jul 22, 2009, at 11:27 AM, William Stein wrote:
On Wed, Jul 22, 2009 at 11:21 AM, Michael
Madisonmadison.mich...@gmail.com wrote:
Robert, Thanks for the feedback. I don't want to wait for 4.1.1 so I
Robert,
Is there any prediction for when numpy complex types will work?
(outside of the notebook, when compiling via sage -b)
Thanks,
Ethan
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
Yet another question:
When I compile my class, I get something like this:
cdef class Riemann_Map:
cdef int N, B, ncorners
cdef f
cdef opp
cdef double complex a
cdef np.ndarray[float,ndim = 1] tester
^
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
William Stein wst...@gmail.com writes:
On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensenj...@uwo.ca wrote:
When I try to log in to sagenb.org or a sage notebook on a personal
machine using the browser on my android phone, after entering username
and password I end up at an empty page whose
On Wed, Jul 22, 2009 at 1:57 PM, Dan Christensenj...@uwo.ca wrote:
William Stein wst...@gmail.com writes:
On Wed, Jul 22, 2009 at 7:54 AM, Dan Christensenj...@uwo.ca wrote:
When I try to log in to sagenb.org or a sage notebook on a personal
machine using the browser on my android phone,
Hi Michael,
On Thu, Jul 23, 2009 at 6:55 AM, Michael
Madisonmadison.mich...@gmail.com wrote:
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
Oh, if anyone *has* had success, please report back, so we know if it's
something peculiar to my phone or my accounts. For the record, I have
an HTC Dream on the Rogers network running android 1.5 (cupcake).
My browser version is 1.2.0008.
Dan
A student of mine was running a connection to a Sage notebook server
on his Android phone last Friday. He showed me an interesting plot,
so I know it was working properly. I'll point him to this discussion
and see if I can get details.
Rob
Dan Christensen wrote:
Oh, if anyone *has* had
28 matches
Mail list logo