On Thursday, May 29, 2014 2:29:50 AM UTC+1, kcrisman wrote:
Also, see https://groups.google.com/forum/#!topic/sage-devel/oH6Jrjs-HUYfor a
very interesting historical discussion about lrs and Sage.
Though in the meantime we have direct implementations for triangulation and
volume computation
Hi all,
I've been very impressed with Sage and I'm downloading the .dmg for my mac
at this moment.
I'm writing here mainly for two reason:
- firstly because I would like to understand if and how I can set my
current python directory as default;
- secondly because I'd like to know If Sage or
Hi everyone,
I have what is likely a simple problem, but am having trouble tracking it
down. I'm using the binary / dmg release of Sage for osX on a 10.9.1
machine. I mistakenly launched Sage from the dmb, and that is likely the
source of all my woes. Current problem (after pointing it to
Hi, i tried to simplify a number doing this:
m1.simplify()
but the output is
AttributeError: 'sage.rings.real_mpfr.RealNumber' object has no
attribute 'simplify'
What does it mean?
What did I do wrong? I declared m1 like this:
m1 = var('m1')
thank you very much!
--
You received this
Hi!
On 2014-05-29, SiL588 . ch4r...@hotmail.com wrote:
Hi, i tried to simplify a number doing this:
m1.simplify()
but the output is
AttributeError: 'sage.rings.real_mpfr.RealNumber' object has no
attribute 'simplify'
What does it mean?
What did I do wrong? I declared m1 like this:
m1
I've been very impressed with Sage and I'm downloading the .dmg for my mac
at this moment.
Thanks!
I'm writing here mainly for two reason:
- firstly because I would like to understand if and how I can set my
current python directory as default;
Sage is an all-in-one ecosystem.
What exactly do you mean by simplify a real number?
On Thu, May 29, 2014 at 8:32 AM, SiL588 . ch4r...@hotmail.com wrote:
Unfortunately I don't know the rules of Phyton language, i just started
using Sage notebook to do linear algebra computation.
I think I did what you said, I assinged m a
The output i have is this:
12.0
and I didn't want all those zeroes after the point.
Il giorno giovedì 29 maggio 2014 17:46:51 UTC+2, Robert Bradshaw ha scritto:
What exactly do you mean by simplify a real number?
On Thu, May 29, 2014 at 8:32 AM, SiL588 .
On Thu, May 29, 2014 at 8:59 AM, SiL588 . ch4r...@hotmail.com wrote:
The output i have is this:
12.0
and I didn't want all those zeroes after the point.
Try doing
int(m)
or floor(m)
William
Il giorno giovedì 29 maggio 2014 17:46:51 UTC+2, Robert Bradshaw ha scritto:
Hi,
On 2014-05-29, SiL588 . ch4r...@hotmail.com wrote:
Unfortunately I don't know the rules of Phyton language,
Sage's main language for programming is Python, and also the language for
user interaction is close to Python. We believe it is a big plus of Sage
that it uses a mainstream language!
Il giorno giovedì 29 maggio 2014 18:06:19 UTC+2, Simon King ha scritto:
Hence, at least for those variables that you override in the second
cell, the first cell is of no use.
Oh ok, I didn't understand that's the way it works
I don't know what you mean by simplify a real number.
Thank you!
I will let you know as soon as possible about pymc, I think that this
library does only a part of the work (MCMC sampling) that I need to do. It
probably doesn’t include something called “Minnesota priors” and the
implementation of a prior using “Dummy observations” for “Vector
We get in trouble with your question, because you used simplify
verb...which should have been refering to other SAGE simplifying functions
(floor, simplify symbolic expression and so on) when you wanted to
display only few significant digits of that real number.
Function for you is :
If you just want to safely print numbers with the trailing zeros
removed, used strip:
a = 12.00
b = 0.8
str(a).rstrip('0')
str(b).rstrip('0')
On Thu, May 29, 2014 at 9:53 AM, Dominique Laurain
dominique.laurai...@orange.fr wrote:
We get in trouble with your question, because you
I'm sorry I wasn't clear, as I said I just started using Sage and I thought
that was what the simplify method was for.
Thank you very much for your explanation, now I got it :)
Il giorno giovedì 29 maggio 2014 18:53:23 UTC+2, Dominique Laurain ha
scritto:
We get in trouble with your question,
Okay, thank you very much! :)
Il giorno giovedì 29 maggio 2014 18:57:45 UTC+2, William ha scritto:
If you just want to safely print numbers with the trailing zeros
removed, used strip:
a = 12.00
b = 0.8
str(a).rstrip('0')
str(b).rstrip('0')
--
You received this
On 2014-05-27, TAM traci...@gmail.com wrote:
I was wondering if Sage supports saving an equation in content and
presentation mathML?
I don't know if there is anything in Sage and/or Python for that, but
anyway, Maxima has a couple of add-on packages to export an expression
as content MathML
On Tue, May 27, 2014 at 1:48 PM, TAM traci...@gmail.com wrote:
I was wondering if Sage supports saving an equation in content and
presentation mathML?
You can save in latex then use this package:
http://dlmf.nist.gov/LaTeXML/manual/
Thank you for your help.
TAM
--
You received this
Great, thank you for the information. I will definitely take a look at this!
On Thursday, May 29, 2014 1:24:00 PM UTC-4, Robert Dodier wrote:
On 2014-05-27, TAM wrote:
I was wondering if Sage supports saving an equation in content and
presentation mathML?
I don't know if there is
Thank you for the feedback! I will definitely take a look at this as well.
On Thursday, May 29, 2014 1:32:01 PM UTC-4, David Joyner wrote:
On Tue, May 27, 2014 at 1:48 PM, TAM trac...@gmail.com javascript:
wrote:
I was wondering if Sage supports saving an equation in content and
Willian Stein responded saying it the question wasn't specific to
SageMathCloud anyway the answer was os.path.abspath('.')
On Wednesday, May 28, 2014 9:17:23 AM UTC-4, Dima Pasechnik wrote:
On Wednesday, 28 May 2014 14:15:23 UTC+1, Dima Pasechnik wrote:
this is not the right group for the
Specifically I have a polynomial such as mypoly = X*Y + 1 in
BooleanPoynomialRing() and str(mypoly) converts it to the string 'X*Y + 1'
then I do some stuff with re pattern matching to construct the string '1 -
x*y' which I now want to convert to a polynomial in 'x' and 'y' in QQ. Are
there
On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
strangerl...@gmail.com wrote:
Willian Stein responded saying it the question wasn't specific to
SageMathCloud anyway the answer was os.path.abspath('.')
Yes -- as people may have noticed, SageMathCloud is resulting in some
new Sage users. When
On Thu, May 29, 2014 at 11:13 AM, Stephen Kauffman
strangerl...@gmail.com wrote:
Specifically I have a polynomial such as mypoly = X*Y + 1 in
BooleanPoynomialRing() and str(mypoly) converts it to the string 'X*Y + 1'
then I do some stuff with re pattern matching to construct the string '1 -
That's a lot simpler than I thought it would be. Thanks. I'm converting free
boolean algebra statements to corresponding probability statements with a
recursive function hopefully.
On 5/29/2014 2:17 PM, William Stein wrote:
On Thu, May 29, 2014 at 11:13 AM, Stephen Kauffman
On Thu, May 29, 2014 at 11:22 AM, Stephen Kauffman
strangerl...@gmail.com wrote:
That's a lot simpler than I thought it would be. Thanks. I'm converting free
boolean algebra statements to corresponding probability statements with a
recursive function hopefully.
Yep, there's a general Sage
Hi Stephen
On 2014-05-29, Stephen Kauffman strangerl...@gmail.com wrote:
Specifically I have a polynomial such as mypoly = X*Y + 1 in
BooleanPoynomialRing() and str(mypoly) converts it to the string 'X*Y + 1'
then I do some stuff with re pattern matching to construct the string '1 -
x*y'
On Thu, May 29, 2014 at 11:37 AM, Simon King simon.k...@uni-jena.de wrote:
Hi Stephen
On 2014-05-29, Stephen Kauffman strangerl...@gmail.com wrote:
Specifically I have a polynomial such as mypoly = X*Y + 1 in
BooleanPoynomialRing() and str(mypoly) converts it to the string 'X*Y + 1'
then I
Hi, I'm new to sage. I'm reading the tutorial and trying out examples. But
when I try this example:
sage: class Evens(list):... def __init__(self, n):... self.n =
n... list.__init__(self, range(2, n+1, 2))... def
__repr__(self):... return Even
William Stein wrote:
On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
strangerl...@gmail.com wrote:
Willian Stein responded saying it the question wasn't specific to
SageMathCloud anyway the answer was os.path.abspath('.')
Yes -- as people may have noticed, SageMathCloud is resulting in
Hi,
On 2014-05-29, baby bunny mongrandpecheradi...@gmail.com wrote:
Hi, I'm new to sage. I'm reading the tutorial and trying out examples. But
when I try this example:
sage: class Evens(list):
... def __init__(self, n):
... self.n = n
... list.__init__(self,
On May 29, 2014 1:02 PM, leif not.rea...@online.de wrote:
William Stein wrote:
On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
strangerl...@gmail.com wrote:
Willian Stein responded saying it the question wasn't specific to
SageMathCloud anyway the answer was os.path.abspath('.')
Yes
On Fri, May 30, 2014 at 12:17 AM, William Stein wst...@gmail.com wrote:
On Thu, May 29, 2014 at 11:37 AM, Simon King simon.k...@uni-jena.de
wrote:
Hi Stephen
On 2014-05-29, Stephen Kauffman strangerl...@gmail.com wrote:
Specifically I have a polynomial such as mypoly = X*Y + 1 in
33 matches
Mail list logo