On Oct 20, 12:57 am, Simon King [EMAIL PROTECTED] wrote:
Dear William,
On Oct 20, 5:47 am, William Stein [EMAIL PROTECTED] wrote:
Just do sage -upgrade again.
Should this work already? Wasn't there some posts on Sage devel that
for some reason upgrade to 3.1.3 or 3.1.4 was a problem?
I
On Oct 20, 7:50 am, William Stein [EMAIL PROTECTED] wrote:
Sorry, my answer above was from an airport via my iphone,
Now you're just showing off...
John
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe
The setup:
sage: var('x y')
sage: F = sin(x^2 + y^2) * cos(y) * exp(-0.5*(x^2+y^2))
sage: G=F.derivative(x,x); G
-3.00*x^2*e^(-(0.500*(y^2 +
x^2)))*cos(y)*sin(y^2 + x^2) -
1.00*e^(-(0.500*(y^2 + x^2)))*cos(y)*sin(y^2 +
x^2) -
On Oct 23, 8:05 am, William Stein [EMAIL PROTECTED] wrote:
On Thu, Oct 23, 2008 at 7:56 AM, John H Palmieri [EMAIL PROTECTED] wrote:
The setup:
sage: var('x y')
sage: F = sin(x^2 + y^2) * cos(y) * exp(-0.5*(x^2+y^2))
sage: G=F.derivative(x,x); G
-3.00*x^2*e
On Oct 23, 8:56 am, William Stein [EMAIL PROTECTED] wrote:
Here's me doing this in sage-3.2.alpha0. Note that not all the same
commands and conventions as with Sage's usual symbolic variables
are yet supported. However, the good thing is that the final substitution
takes 1.81 ms on
Okay, using what William said, I produced this an 'interact' example,
showing the linear and quadratic Taylor approximations to a certain
function in two variables. Right now it's using a combo of the old
and new symbolic stuff, because that seems to be the best way to get
things done...
var('x
On Oct 29, 8:44 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Dear sage users, I installed sage and texlive on my small virtual
server.
LaTeXing does not work:
%latex
Ahoj
This looks like an earlier message: see the 4th message in the thread
On Nov 6, 9:07 pm, Mike Hansen [EMAIL PROTECTED] wrote:
I'm not sure how to covert those sqrt expressions into what you want.
However, you can see that they are what you're expecting:
sage: A = matrix([[-1,-1+I],[1,0]])
sage: evs = A.eigenvalues(); evs
[(-sqrt(4*I - 3) - 1)/2, (sqrt(4*I -
On Nov 11, 9:01 pm, Robert Bradshaw [EMAIL PROTECTED]
wrote:
You can pass a radius or size parameter to the point command,
which will make them smaller or larger. Also, you can look at the
line3d command (pass it a list of points to get a curved line).
Also the parametric_plot3d command
Does Sage know how to compute pth roots in any finite field of
characteristic p? That is, if I have a prime number p, a finite field
F of characteristic p, and an element b of F, will
sage: b.nth_root(p)
always return a value, or will it sometimes return a ValueError? Does
it depend on the
Thanks for the answers. By the way:
Infinite fields of characteristic p aren't perfect,
Isn't the algebraic closure of F_p perfect? For fields of
characteristic p, perfect should mean that every element has a pth
root. (I agree that some infinite fields of characteristic p aren't
perfect,
Try this instead:
# just as you had before:
r=2*2*pi
Pole1=r*exp(I*2*pi/3)
Pole2=-r
Pole3=r*exp(-I*2*pi/3)
Ts=0.1
# one change here:
var('f')
z=exp(I*2*pi*Ts*f)
p=(2/Ts)*(z-1)/(z+1)
H = (p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3))
Then H (or show(H)) will print out a complicated expression in terms
On Dec 14, 11:16 pm, William Stein wst...@gmail.com wrote:
On Sun, Dec 14, 2008 at 10:53 PM, John H Palmieri
jhpalmier...@gmail.com wrote:
I have some code which generates a bunch of expressions of the form
Sum (n_i a_i) where each n_i is an integer and each a_i is an unknown
in a field
Is this a bug?
sage: Set([])
{}
sage: Set(Set([]))
{}
sage: Set([]) == Set(Set([]))
True
In general, are Sage Sets supposed to behave like mathematical sets?
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe
On Jan 9, 3:40 pm, William Stein wst...@gmail.com wrote:
On Fri, Jan 9, 2009 at 3:38 PM, Mike Hansen mhan...@gmail.com wrote:
On Fri, Jan 9, 2009 at 3:36 PM, John H Palmieri jhpalmier...@gmail.com
wrote:
Is this a bug?
sage: Set([])
{}
sage: Set(Set([]))
{}
sage: Set
On Jan 10, 7:25 am, Jason Grout jason-s...@creativetrax.com wrote:
John H Palmieri wrote:
Here's another question: what is the most efficient way of testing
whether one Set is a subset of another? I can do
S in list(T.subsets())
-- and it's a bit frustrating that I can't do S
1. How can I compute the cokernel of a matrix? For example:
sage: mat = matrix(ZZ, 2, 2, [[1, 0], [0, 2]])
sage: M = FreeModule(ZZ, rank=2)
Then I would like to use M / mat.image() or M / mat.column_module(),
but those give errors. (It works if M and mat are defined over QQ, and
perhaps over
On Jan 16, 9:42 pm, William Stein wst...@gmail.com wrote:
On Fri, Jan 16, 2009 at 9:22 PM, John H Palmieri jhpalmier...@gmail.com
wrote:
1. How can I compute the cokernel of a matrix? For example:
sage: mat = matrix(ZZ, 2, 2, [[1, 0], [0, 2]])
sage: M = FreeModule(ZZ, rank=2)
Then I
On Jan 19, 6:28 am, Pierre pierre.guil...@gmail.com wrote:
hi all
I've just realized that SAGE knows about the Steenrod algebra now.
Does it know about unstable modules, too ?
No, it doesn't, unfortunately. (Sage doesn't know about tensor
products, which has delayed me from implementing
With Safari on an Intel iMac, Sage 3.3.alpha1, in the notebook: the
delete and archive buttons don't seem to do anything. From the page
of deleted worksheets, the empty trash button doesn't seem to do
anything.
With Firefox on this computer, I can empty the trash, but I still
don't seem to be
On Jan 24, 11:17 pm, Mike Hansen mhan...@gmail.com wrote:
Hello all,
I fixed this problem and put a patch up
athttp://trac.sagemath.org/sage_trac/ticket/5095. The problem was that
the TinyMCE patch made all AJAX requests use jQuery, but the jQuery
code was not included on the worksheet
On Jan 25, 11:39 am, composer314 jeremy.saw...@gmail.com wrote:
I just downloaded and installed Sage yesterday. I am a brand new user
of this particular computer algebra system, though I have used
Mathematica in the past.
I was very pleased to see that Sage supports Latex, but I am confused
I'm having some issues with integer matrices. I have a matrix mat:
sage: mat
891 x 1559 sparse matrix over Integer Ring
sage: mat.rank() # this takes a long time
sage.bin(75404,0xa06be720) malloc: *** mmap(size=447524864) failed
(error code=12)
*** error: can't allocate region
*** set a
On Feb 5, 5:37 pm, kcrisman kcris...@gmail.com wrote:
[snip]
2. Open a TinyMCE cell. Try any math expression ending in b$ - for
instance, $ab$, a common one. Put some text afterwards, and format
it bold. E.g., I like the inequality $ab$ because it's easy and
then make 'because' bold.
On Feb 7, 5:37 am, ricardomayerb ricardomay...@gmail.com wrote:
Thank you, Adrian.
But I think I gave the full path when I used the command:
attach /media/disk/thesiswork/thesis2009/sage/src/sympy_files/
thesis_sympy_2009.py
Try quotes:
attach
On Feb 10, 11:58 am, green351 mmamashra...@gmail.com wrote:
On Feb 10, 10:45 am, John H Palmieri jhpalmier...@gmail.com wrote:
On Feb 10, 10:31 am, green351 mmamashra...@gmail.com wrote:
Hi. I have the following problem: consider the following list of
compositions and its cartesian
If I have a poset P, is there a simple way in Sage to get the set of
all maximal chains in P? I don't see anything terribly relevant in
posets.py. I can write some code to do it myself (I was thinking of
some sort of recursion), but if someone else has already done it or
has some good ideas, I
To follow up, I tried writing something myself and ran into problems:
see trac ticket #5283 (and also #5280, maybe). So any advice would be
appreciated.
On Feb 15, 7:06 pm, John H Palmieri jhpalmier...@gmail.com wrote:
If I have a poset P, is there a simple way in Sage to get the set of
all
On Mar 3, 11:36 am, kcrisman kcris...@gmail.com wrote:
Dear support:
On sagenb.org:
[snip]
But if I click Typeset:
{{{id=4|
A = Matrix([[1,2,3],[3,2,1],[1,1,1]])
A.eigenvectors_left();A.eigenspaces_left()
///
htmlspan class=math\begin{array}{l}[\left(5,
On Mar 3, 12:35 pm, kcrisman kcris...@gmail.com wrote:
A related issue is that presumably there are some other places where
the deprecated LaTeX two-letter commands should be replaced - does
anyone know of any off-hand, e.g. \tt or \bf?
See http://trac.sagemath.org/sage_trac/ticket/5433 for
On Mar 8, 5:14 am, compound eye compound...@gmail.com wrote:
hello
I expected the code below to plot a diagonal line from 0,0 to 2,2 then
a horizontal line from 2,2
but instead it plots a horizontal line starting at 0,2
x = var('x')
def splitTest(n):
if n 2:
return n
On Mar 9, 9:35 am, William Stein wst...@gmail.com wrote:
[snip]
That sounds likely. The somebody was probably me. I hope somebody
opens a track
ticket to deprecate, then remove (in some number of months) invert.
http://trac.sagemath.org/sage_trac/ticket/5460
John
On Mar 10, 1:00 pm, nsauer nsa...@math.ucalgary.ca wrote:
Thanks for your reply;
As I am completely new to sage I do not know how to
perform the indicated change. I looked at the file
sage/devel/sage/sage/matrix0.pyx
but could not figure out how and where to add
the function
On Mar 10, 12:34 pm, William Stein wst...@gmail.com wrote:
On Tue, Mar 10, 2009 at 11:57 AM, Jason Grout
[snip]
I agree that this should be an option. Also, the delimiters for vectors
should be an option.
+1.
How about adding a function to matrix0.pyx that sets a global variable
in
On Mar 12, 11:38 am, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
Never us cp to copy Sage unless you know what you are doing, but use
tar.
Hm. I've never had any problems using cp; in fact I routinely do it
before running 'sage -upgrade'. Does 'cp -pR' count as knowing what
On Mar 13, 7:29 am, Norbert Werner Sauer nsa...@math.ucalgary.ca
wrote:
Hi;
I changed the delimiters of matrices in the file:
By the way, in the latest version of Sage (3.4), you can use the
command
'sage.matrix.matrix0.set_matrix_latex_delimiters([, ])'
to change from parentheses to square
On Mar 16, 1:52 pm, epple dedaa...@gmail.com wrote:
When comparing finite sets, I receive unexpected results.
Version: 3.4 (Sage on the web)
Code:
sage: S=Set([1,2])
sage: T=Set([3])
sage: ST,ST,S==T
(True, False, False)
As far as I can tell, for Sets, == and != mean what they should,
On Mar 16, 2:26 pm, Robert Bradshaw rober...@math.washington.edu
wrote:
On Mar 16, 2009, at 2:25 PM, epple wrote:
Actually I am getting the same result for other permutations, like:
sage: h=PermutationGroupElement('(1,3,2)')
sage: k=PermutationGroupElement('(1,2,3),(4,5)')
sage:
On Mar 16, 2:40 pm, John H Palmieri jhpalmier...@gmail.com wrote:
On Mar 16, 2:26 pm, Robert Bradshaw rober...@math.washington.edu
wrote:
On Mar 16, 2009, at 2:25 PM, epple wrote:
Actually I am getting the same result for other permutations, like:
sage: h=PermutationGroupElement
On Mar 22, 5:59 pm, J Elaych microsc...@gmail.com wrote:
It takes quite a while to learn how to use the notebook just by
googling around (search google for 'sage %hide' for instance) so I
hope someone can point me in a better direction.
Have you tried clicking the Help link in the upper right
On Mar 23, 3:10 pm, Jose Guzman n...@neurohost.org wrote:
Dear Sage users and developers,
I am using Sage version 3.4 running on Linux/Debian. I am still not very
familiar with Sage though. I tried to plot the following equation:
sage: var('t'); # symbolic variable
sage: var('g'); #
On Mar 23, 3:31 pm, John H Palmieri jhpalmier...@gmail.com wrote:
On Mar 23, 3:10 pm, Jose Guzman n...@neurohost.org wrote:
Dear Sage users and developers,
I am using Sage version 3.4 running on Linux/Debian. I am still not very
familiar with Sage though. I tried to plot
On Mar 28, 7:22 pm, William Stein wst...@gmail.com wrote:
On Sat, Mar 28, 2009 at 6:55 PM, J Elaych microsc...@gmail.com wrote:
What happens if you type this at the command line:
sage: sage.misc.latex.Latex().eval('Try this: $$x^2=-1$$.',0,0,debug=True)
William
Awesome, thanks.
On Apr 2, 8:39 am, William Stein wst...@gmail.com wrote:
On Thu, Apr 2, 2009 at 7:37 AM, David Joyner wdjoy...@gmail.com wrote:
Hi:
The Sage tutorial on amazon is a bit out of date.
Amazon requires the online publisher createspace,
which uses an extremely finiky automated web-based
On Apr 2, 10:09 am, William Stein wst...@gmail.com wrote:
On Thu, Apr 2, 2009 at 9:45 AM, John H Palmieri jhpalmier...@gmail.com
wrote:
On Apr 2, 8:39 am, William Stein wst...@gmail.com wrote:
On Thu, Apr 2, 2009 at 7:37 AM, David Joyner wdjoy...@gmail.com wrote:
Hi
On Apr 5, 5:29 pm, David Joyner wdjoy...@gmail.com wrote:
box on page 59. One error message was that the interior pdf was
formatted for 8.5x11 and it must be 8x10. With the old latex file, I could
adjust the page margins using
\setlength{\paperwidth}{10in}
\setlength{\paperheight}{8in}
or
On Apr 7, 12:11 pm, David Joyner wdjoy...@gmail.com wrote:
On Mon, Apr 6, 2009 at 12:59 AM, John H Palmieri jhpalmier...@gmail.com
wrote:
This may be overkill, but the manual documentclass sets some options
and then passes everything else to report.cls. So you can make a copy
On Apr 7, 5:30 pm, David Joyner wdjoy...@gmail.com wrote:
[snip]
Okay, thanks. I just tried this and it didn't seem to work for me.
However, the length is now 104 instead of 96. The horizonal line
across the bottom above the page number seems to be the same distance
from the bottom edge of
On Apr 8, 12:56 pm, Justin C. Walker jus...@mac.com wrote:
On Apr 8, 2009, at 12:07 , gerhard wrote:
Print methods for matrices with subdivisions
let M be a matrix over QQ:
subdivisions are printed fine
over GF(2):
M.get_subdivisions() shows the subdivisions are defined,
On Apr 8, 1:03 pm, John H Palmieri jhpalmier...@gmail.com wrote:
On Apr 8, 12:56 pm, Justin C. Walker jus...@mac.com wrote:
On Apr 8, 2009, at 12:07 , gerhard wrote:
Print methods for matrices with subdivisions
let M be a matrix over QQ:
subdivisions are printed fine
over
On Apr 8, 1:10 pm, William Stein wst...@gmail.com wrote:
On Wed, Apr 8, 2009 at 1:06 PM, John H Palmieri jhpalmier...@gmail.com
wrote:
I'll mark mine as a duplicate. Go ahead with your patch.
Neither Justin nor I have a patch, and I don't think either of us are
working on one.
Justin
On Apr 8, 1:28 pm, gerhard ge01...@yahoo.de wrote:
Re show method:
M.subdivide(1,3);
print M.get_subdivisions()
show(M)
I get
([1], [3])
as for the show method output, no subdivisions.
latex(M) yields
\left(\begin{array}{rrr|r}
1 1 0 0 1 1 1 0 0
0 0 0 1
On Apr 24, 1:42 pm, Alasdair amc...@gmail.com wrote:
Is there a way of searching for functions which contain a particular
string in their names? Yesterday I was trying to find the extended
Euclidean algorithm (xgcd); my search would have been trivial if I
could have searched for all
On Apr 27, 12:34 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
On Apr 27, 12:31 pm, Justin C. Walker jus...@mac.com wrote:
On Apr 27, 2009, at 11:46 , rvaug...@gmail.com wrote:
I have successfully installed the latest sage on a Fedora Core 9
machine
(name of
On May 4, 1:07 pm, gtg yih0siang0l...@gmail.com wrote:
Hi I'm new to sage. Can you tell me how to construct finite fields
using quotient of poly ring? For instance suppose I want to construct
GF(5^2) using a GF(5) poly ring mod out by x^2 + x + 1 how do I do
that? I can construct the quotient
On May 13, 9:49 am, Brian Hawkins hawkins.br...@gmail.com wrote:
I did not know about the %latex command, thanks for the tip.
Looking at the symbol table, I found one that serves my particular
purpose well: \top. $M^\top$ renders as I'd like for a transpose and
avoids using an unsupported
On May 13, 4:57 pm, John H Palmieri jhpalmier...@gmail.com wrote:
On May 13, 9:49 am, Brian Hawkins hawkins.br...@gmail.com wrote:
I did not know about the %latex command, thanks for the tip.
Looking at the symbol table, I found one that serves my particular
purpose well: \top. $M
On Jul 2, 9:14 am, Mikie thephantom6...@hotmail.com wrote:
Is it possible to go have pretty print using
from sage.misc.latex import jsmath,??
In Sage's notebook, 'pretty_print' (which is what gets used when you
click on the Typeset checkbox) uses jsMath already.
I am looking at
On Jul 2, 6:57 pm, john_perry_usm john.pe...@usm.edu wrote:
Hi,
I'm trying to referee the spkg for bug 6362 here,
http://trac.sagemath.org/sage_trac/ticket/6362
I understand that I'm supposed to use hg to check for changes, but how
precisely to go about this?
regards
john perry
If
On Jul 3, 5:05 am, Mikie thephantom6...@hotmail.com wrote:
Yes, I am not using the notebook. I have created an API(server) using
a python script. It lets the user do interactive calculations from my
website. The output is in a textarea and not pretty print as the
notebook. I was wondering
On Jul 14, 1:52 pm, Carlos Córdoba ccordob...@gmail.com wrote:
Sorry for not answering before, I've being a bit busy. I'll try to give a
concrete example of what I'm trying to do so you can understand me better.
I have a list of real numbers, for example
[1,2,3]
Python list comprehensions
On Jul 14, 3:35 pm, William Stein wst...@gmail.com wrote:
2009/7/14 Carlos Córdoba ccordob...@gmail.com:
Thanks John, I'd seen Python comprehensions before, but since I was trying
to do all in a one-liner, I think I overlooked your elegant and simple
solution. One comprehension at a time
On Jul 16, 11:02 pm, linuxgus ka8...@amsat.org wrote:
Hi all,
If I DON'T use notebook and type a simple program like,
sage: t,s=var('t,s')
sage: show(laplace(exp(-3*t),t))
an evince window pops up with the error message
Unable to open document
File type TeX DVI document
On Jul 20, 3:30 pm, VictorMiller victorsmil...@gmail.com wrote:
I have a program which calculates a table of values, and I'd like to
display it nicely formatted. I've written a function to produce latex
for it (using tabular), but I can't figure out how to get SAGE to
display this in a
On Jul 21, 10:34 am, VictorMiller victorsmil...@gmail.com wrote:
William, Thanks. That works ok -- except, for example if I do
latex.eval('$N_0$',{})
I get what I expect plus a line with two single quotes before what I
wanted. This seems to happen with any latex string. Do you know
On Jul 23, 9:16 am, VictorMiller victorsmil...@gmail.com wrote:
I have a sage program in a file in one of my directories called
calc.sage. It uses a class that I wrote called Table, which I've put
in a file called Table.py in the same directory. In the sage notebook
I load calc.sage (by
On Jul 27, 8:53 am, William Stein wst...@gmail.com wrote:
On Mon, Jul 27, 2009 at 8:47 AM, Ethan Van Andelevlu...@gmail.com wrote:
I've been messing with my sage source. I've finally created the stuff
I want, but in the process have fiddled with other things. What's the
best way to
On Jul 29, 7:56 am, Daniel Bearup daniel.diff...@googlemail.com
wrote:
Apologies if this is the wrong place to ask this question.
Does SAGE incorporate support for differential algebra? That is can it
handle differential rings/ideals and does it have an implementation of
the
On Aug 3, 9:39 pm, Elizabeth Yip el...@comcast.net wrote:
Hello,
The line
jsmath(cos(2\phi)+latex(1/x))
in the sage-4.1 notebook produces different result from the sage-3.4
notebook. The result in sage-3.4 is what I want.
Okay, in the latest version, I see
cos(2\phi)\frac{1}{x}
I
I have a problem with Sage and maybe readline on an ubuntu box. If I
type
sage: squTAB
then it partially completes to
sage: squarefree_
Then it lists the options (squarefree_divisors squarefree_part) and
puts the cursor in the wrong place: the cursor ends up on the s in
squarefree_. If
On Aug 6, 11:40 am, John H Palmieri jhpalmier...@gmail.com wrote:
I have a problem with Sage and maybe readline on an ubuntu box. If I
type
sage: squTAB
then it partially completes to
sage: squarefree_
Then it lists the options (squarefree_divisors squarefree_part) and
puts
On Aug 6, 4:08 pm, Minh Nguyen nguyenmi...@gmail.com wrote:
Hi John,
On Fri, Aug 7, 2009 at 4:40 AM, John H Palmierijhpalmier...@gmail.com wrote:
I have a problem with Sage and maybe readline on an ubuntu box. If I
type
sage: squTAB
then it partially completes to
sage:
On Aug 24, 9:57 am, Rafael Villarroel rvf0...@gmail.com wrote:
Thanks for your answer!
I have added
def is_free_face (self,s):
A free face is one that is contained properly in exactly one
maximal face.
Removing a free face from a complex does not
On Aug 29, 8:51 am, Simon King simon.k...@nuigalway.ie wrote:
Note that expon uses Maxima, because you use the logarithm. So, I
reckon that your problem is related
withhttp://trac.sagemath.org/sage_trac/ticket/4731
andhttp://trac.sagemath.org/sage_trac/ticket/6818.
If not, you might try
On Sep 1, 5:19 pm, linuxgus ka8...@amsat.org wrote:
Hello all.
Here is a simple three-liner in notebook:
r=var('rho')
A=matrix(2,[sqrt(3), 1, -1, sqrt(3)])/2
R=matrix(2,[1,r,r,1])
show( simplify(expand(A*R*A.transpose())) )
It does the math correctly, but instead of displaying actual
On Apr 14, 9:02 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, Apr 9, 2008 at 1:21 PM, John Palmieri [EMAIL PROTECTED] wrote:
I'm trying to define a class based on Algebra, and I'm having
problems. I think the issue is that I don't understand how coercion
is supposed to work.
What are the optional packages? Right now if I type 'sage -optional',
I get a list like this:
NOT INSTALLED:
biopython-1.44
database_sloane_oeis-2005-12
(etc.)
It would be very helpful if I got something like this instead:
NOT INSTALLED:
biopython-1.44 Python
This is with Sage 3.0, Firefox 2.0.0.14, linux.
If I check the little Typeset box at the top of the notebook, save
and quit the notebook, then re-enter it, the box is still checked, but
my output is not typeset. If I uncheck it and then check it again, it
works.
Can anyone else reproduce this?
or after. Maybe
my computer was just acting up?)
On Thu, May 8, 2008 at 5:16 PM, William Stein [EMAIL PROTECTED] wrote:
On Thu, May 8, 2008 at 5:12 PM, William Stein [EMAIL PROTECTED] wrote:
On Wed, May 7, 2008 at 12:26 PM, John H Palmieri [EMAIL PROTECTED] wrote:
A problem: on my linux box
On May 13, 2:31 pm, tkeller [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to add some simple labels to plots, but axes_label appears
to not be working in sage-3.0.1. Ticket # 1508
(http://trac.sagemath.org/sage_trac/ticket/1508) reports this as
fixed, but typing the example given in the
:40 pm, John H Palmieri [EMAIL PROTECTED] wrote:
On May 13, 2:31 pm, tkeller [EMAIL PROTECTED] wrote:
Hi all,
I'm trying to add some simple labels to plots, but axes_label appears
to not be working in sage-3.0.1. Ticket # 1508
(http://trac.sagemath.org/sage_trac/ticket/1508) reports
Is this a bug?
sage: 3 == pi
3 == pi
sage: i == i
I == I
Shouldn't this return False and True, respectively? I know this
works:
sage: 3 == pi.n()
False
sage: 3 == RR(pi)
False
but I sort of expect pi to act like the number pi when used with
things like == or , without using the .n()
On May 15, 9:56 pm, William Stein [EMAIL PROTECTED] wrote:
On Thu, May 15, 2008 at 9:48 PM, John H Palmieri [EMAIL PROTECTED] wrote:
Is this a bug?
sage: 3 == pi
3 == pi
sage: i == i
I == I
Shouldn't this return False and True, respectively?
Those are symbolic equations
On May 28, 11:13 am, William Stein [EMAIL PROTECTED] wrote:
On Wed, May 28, 2008 at 10:59 AM, John H Palmieri
[EMAIL PROTECTED] wrote:
Here's the situation: in some sage code that I'm working on, I have a
variable, say 'output_format', which tells sage how to print certain
kinds
On May 28, 12:35 pm, Carl Witty [EMAIL PROTECTED] wrote:
On May 28, 11:48 am, John H Palmieri [EMAIL PROTECTED] wrote:
I currently have a function, set_output_format, so users can do this:
sage: set_output_format('old')
'old'
sage: x = (blah); x
(x printed in 'old' format)
I
On Jun 10, 7:12 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, May 28, 2008 at 2:03 PM, John H Palmieri [EMAIL PROTECTED] wrote:
In some code, I'd like to view or print an object depending on whether
in notebook mode with the typeset box checked or not. Is this a
good way to do
On Jun 10, 9:56 pm, William Stein [EMAIL PROTECTED] wrote:
On Tue, Jun 10, 2008 at 9:35 PM, John H Palmieri [EMAIL PROTECTED] wrote:
On Jun 10, 7:12 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, May 28, 2008 at 2:03 PM, John H Palmieri [EMAIL PROTECTED] wrote:
In some code
On Jun 30, 9:47 am, ibrahim [EMAIL PROTECTED] wrote:
Hello.
Trying to execute the exemple of page 33 : hello.spyx produces this
error :
Loading of file /Users/ims/.sage/hello.spy has type not implemented.
nb : page 33
hello.spyx contains
def hello(name):
Print hello with
Suppose I have a tuple x of distinct non-negative integers. Is there
a quick way to find the sign of this, as a permutation of Set(x)? (I
want to view x as the one-line permutation notation form, so (3,6,4)
will have sign -1, while (5,3,8,6) will have sign 1.)
The things I can find in
I'm running into a coercion problem. I'm trying to define a class
SteenrodAlgebra (based on the Algebra class); there should be one
Steenrod algebra for each prime number p, and it is an algebra over
GF(p). For example, you can do
sage: A5 = SteenrodAlgebra(5)
sage: A7 = SteenrodAlgebra(7)
I
On Jul 4, 10:25 am, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 4, 2008, at 7:12 AM, John H Palmieri wrote:
I'm running into a coercion problem. I'm trying to define a class
SteenrodAlgebra (based on the Algebra class); there should be one
Steenrod algebra for each prime number p
On Jul 4, 10:53 am, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 4, 2008, at 10:44 AM, John H Palmieri wrote:
So I'm very confused. Any ideas what I should look at to try to fix
this?
Yes, Sage caches some information so it doesn't have to do the logic
anew on each arithmetic
On Jul 5, 10:08 am, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 4, 2008, at 1:52 PM, John H Palmieri wrote:
On Jul 4, 10:53 am, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 4, 2008, at 10:44 AM, John H Palmieri wrote:
So I'm very confused. Any ideas what I should look
On Jul 5, 5:48 pm, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 5, 2008, at 12:42 PM, John H Palmieri wrote:
Ah, it looks like your __eq__ method is assuming that self and
other
are elements of the steenrod algebra. There are two solutions to
this:
1) Use __cmp__ which
On Jul 5, 8:39 pm, Robert Bradshaw [EMAIL PROTECTED]
wrote:
On Jul 5, 2008, at 7:16 PM, John H Palmieri wrote:
would be good enough? (That is, assuming I've defined a reasonable
__eq__ method for the parents, the SteenrodAlgebra class.)
Yes, though that will mean something like A5
On Aug 18, 7:54 pm, William Stein [EMAIL PROTECTED] wrote:
-- Forwarded message --
From: Arnim Littek [EMAIL PROTECTED]
Date: Tue, 19 Aug 2008 14:42:37 +1200
Subject: sage tutorial oops
To: [EMAIL PROTECTED]
I'm just starting with Sage, and I must say, it makes a good
sage: is_FractionField(FractionField(ZZ))
False
Oy. This seems to be intentional: there is a doctest very similar to
this. It doesn't seem right, though. How hard would it be to change?
Is it worth it?
Along the same lines, partial fraction decomposition should work for
rational numbers; this
On Sep 17, 9:09 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, Sep 17, 2008 at 8:59 PM, John H Palmieri [EMAIL PROTECTED] wrote:
sage: is_FractionField(FractionField(ZZ))
False
Oy. This seems to be intentional: there is a doctest very similar to
this. It doesn't seem right, though
On Sep 18, 5:31 am, Burcin Erocal [EMAIL PROTECTED] wrote:
On Wed, 17 Sep 2008 21:48:37 -0700 (PDT)
John H Palmieri [EMAIL PROTECTED] wrote:
On Sep 17, 9:09 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, Sep 17, 2008 at 8:59 PM, John H Palmieri
[EMAIL PROTECTED] wrote:
snip
On Sep 18, 1:01 am, John Cremona [EMAIL PROTECTED] wrote:
2008/9/18 John H Palmieri [EMAIL PROTECTED]:
On Sep 17, 9:09 pm, William Stein [EMAIL PROTECTED] wrote:
On Wed, Sep 17, 2008 at 8:59 PM, John H Palmieri [EMAIL PROTECTED] wrote:
Along the same lines, partial fraction
1 - 100 of 492 matches
Mail list logo