I installed the Sage 4.3.1. binary in the Applications folder on my
MacBook Air. I am running Mac OSX 10.5.8. I have tired installing
both by dragging the image into the applications folder and also by
using the copy command explicitly. Double-clicking the Sage icon (as
instructed in the
Hello,
Is it possible to use the @interact with the following code-snippet? I
want experiment with distributions functions that Scipy have but not
in Sage.
Thanks
from scipy import stats
import numpy as np
import matplotlib.pyplot as plt
@interact
def plot_norm(loc=(0,(0,10)),
Do you know which exact binary you downloaded?
On Jan 23, 2010, at 2:02 PM, Mark Mueller wrote:
I installed the Sage 4.3.1. binary in the Applications folder on my
MacBook Air. I am running Mac OSX 10.5.8. I have tired installing
both by dragging the image into the applications folder and
Last line must be plt.savefig('plt.png') and not .show() because you
are on a website and saved files are shown. When I tried it first, it
didn't update the image because it was somehow locally cached. On
second try it worked ...
H
--
To post to this group, send email to
On Jan 24, 5:49 am, Harald Schilly harald.schi...@gmail.com wrote:
Last line must be plt.savefig('plt.png') and not .show() because you
are on a website and saved files are shown. When I tried it first, it
didn't update the image because it was somehow locally cached. On
second try it worked
| Sage Version 4.2.1, Release Date: 2009-11-14 |
Hi,
I was trying the code below and I was wondering how not to get an
ERROR.
~Alex
| Type notebook() for the GUI, and license() for information.|
--
Hi Alex,
On Mon, Jan 25, 2010 at 3:48 AM, Alex P alexvpetr...@gmail.com wrote:
| Sage Version 4.2.1, Release Date: 2009-11-14 |
Hi,
I was trying the code below and I was wondering how not to get an
ERROR.
~Alex
| Type notebook() for the GUI, and license() for
On Jan 24, 5:06 pm, gsever gokhanse...@gmail.com wrote:
Thanks this helped. Adding a plt.clf() clear the figure after each
plot update.
no problem, and i looked for a .reset or similar, thanks for the .clr
()!
Can you post this somewhere to the wiki.sagemath.org/interact/graphics
(or a better
It seems to me I saw information somewhere on how to get:
foo=function('foo',x,y)
latex(diff(foo,y))
To give the 'partial' notation rather than 'D' notation.
I hope that makes sense. The idea is that I'd like something on
the order of \frac{\partial}{\partial y} foo ...
Anyway, I can't
On Jan 24, 11:14 am, Harald Schilly harald.schi...@gmail.com wrote:
On Jan 24, 5:06 pm, gsever gokhanse...@gmail.com wrote:
Thanks this helped. Adding a plt.clf() clear the figure after each
plot update.
no problem, and i looked for a .reset or similar, thanks for the .clr
()!
Can you
On Jan 24, 6:50 pm, gsever gokhanse...@gmail.com wrote:
Added as first wiki entry :)
No problem, and i hope it's ok that i pushed you to do it ;)
http://twitter.com/sagemath/status/8158003421
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group,
Hi,
I'm working with fraction fields of multivariate polynomials ring with
coefficients in Q. My question is, how do I get cancellation between
numerator and denominator coefficients to work?
Example:
R.x,y=PolynomialRing(QQ, 2)
F=FractionField(R)
f=(x/2)/(y/2)
My question is, how do I get
Hello,
On Sun, Jan 24, 2010 at 12:02 PM, Stefan Boettner sboet...@tulane.edu wrote:
I'm working with fraction fields of multivariate polynomials ring with
coefficients in Q. My question is, how do I get cancellation between
numerator and denominator coefficients to work?
Example:
On Sun, Jan 24, 2010 at 12:08 PM, Mike Hansen mhan...@gmail.com wrote:
Hello,
On Sun, Jan 24, 2010 at 12:02 PM, Stefan Boettner sboet...@tulane.edu wrote:
I'm working with fraction fields of multivariate polynomials ring with
coefficients in Q. My question is, how do I get cancellation
Is there any flexibility on where axis labels are placed? I'd like to
see them under the x axis and vertically along the y. Seems like
there should be more than just axes_labels= tag.
Thanks,
-d
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this
Hello,
Please see my published test notebook at: http://www.sagenb.org/home/pub/1408/
variable of integration must be a simple or subscripted variable
I can get this form integrating properly, and resulting with expected
gamma(nu)/(alpha^nu*s)
f(x) = (mu/s)*x**(nu*mu-1)*exp(-alpha*x**mu)
s =
Hi all:
Am i doing something wrong, or does the example below demonstrate a
bug in Sage's n() function?
Alex
--
| Sage Version 4.3, Release Date: 2009-12-24 |
| Type notebook() for the GUI, and license()
On Jan 24, 12:39 pm, Harald Schilly harald.schi...@gmail.com wrote:
On Jan 24, 6:50 pm, gsever gokhanse...@gmail.com wrote:
Added as first wiki entry :)
No problem, and i hope it's ok that i pushed you to do it ;)
http://twitter.com/sagemath/status/8158003421
It was my pleasure Harald.
On Jan 24, 9:17 pm, William Stein wst...@gmail.com wrote:
Here's a potentially good way to do this right now :-)
Define this function:
def normalize_denoms(f):
n, d = f.numerator(), f.denominator()
a = [vector(x.coefficients()).denominator() for x in [n,d]]
return
Hi David,
On Mon, Jan 25, 2010 at 11:08 AM, David Joyner wdjoy...@gmail.com wrote:
SNIP
Is this a bug?
I don't think so. Using www.sagenb.org, I got plots [1] of the given
digraphs. On bsd.math, I got similar results [2]. In both cases, some
of the images are cropped so some part of a vertex
Alex Raichev schrieb:
Hi,
Am i doing something wrong, or does the example below demonstrate a
bug in Sage's n() function?
sage: a= gamma(1/3)
sage: a.n()
2.67893853470775
sage: f= a*x
sage: c=f.coefficients(); c
[[gamma(1/3), 1]]
sage: c[0][0].n()
That sort of gets my expressions nicer. It doesn't quite solve the issue with
the computation time but works for now.
Would it be too difficult to have such fractions normalized automatically to
some normal form, e.g. monic denominator polynomial, if the coefficient ring is
a field?
Thanks,
On Sun, Jan 24, 2010 at 8:40 PM, Stefan Boettner sboet...@tulane.edu wrote:
That sort of gets my expressions nicer. It doesn't quite solve the issue with
the computation time but works for now.
Did working over Frac(ZZ['x,y']) speed things up?
--Mike
--
To post to this group, send email to
23 matches
Mail list logo