On May 28, 2014, at 11:34 AM, Allen Hall wrote:
> 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
> s
On Fri, May 30, 2014 at 12:17 AM, William Stein wrote:
> On Thu, May 29, 2014 at 11:37 AM, Simon King
> wrote:
> > Hi Stephen
> >
> > On 2014-05-29, Stephen Kauffman wrote:
> >> Specifically I have a polynomial such as mypoly = X*Y + 1 in
> >> BooleanPoynomialRing() and str(mypoly) converts it
On May 29, 2014 1:02 PM, "leif" wrote:
>
> William Stein wrote:
>>
>> On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
>> wrote:
>>>
>>> Willian Stein responded saying it the question wasn't specific to
>>> SageMathCloud anyway the answer was os.path.abspath('.')
>>
>>
>> Yes -- as people may h
Hi,
On 2014-05-29, baby bunny 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, range(2, n+1, 2))
> ...
William Stein wrote:
On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
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
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 positi
On Thu, May 29, 2014 at 11:37 AM, Simon King wrote:
> Hi Stephen
>
> On 2014-05-29, Stephen Kauffman 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 matchin
Hi Stephen
On 2014-05-29, Stephen Kauffman 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' which I now want to
On Thu, May 29, 2014 at 11:22 AM, Stephen Kauffman
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 convert functionalit
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
> wrote:
>> Specif
On Thu, May 29, 2014 at 11:13 AM, Stephen Kauffman
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' which I now want
On Thu, May 29, 2014 at 11:04 AM, Stephen Kauffman
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 people ask questions
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 any
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
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 >
> wrote:
> > I was wondering if Sage supports saving an equation in content and
> > presentation mathML?
> >
>
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 th
On Tue, May 27, 2014 at 1:48 PM, TAM 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 message becaus
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 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 and presentation
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
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
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
wrote:
> We get in trouble with your question, because you used "simplify"
> verb...whi
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 : n
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
Auto
Yes, but it works if i work with int numbers, if i have something like
0.80 I want it to be 0.8 and not 1
Il giorno giovedì 29 maggio 2014 18:04:06 UTC+2, William ha scritto:
>
> On Thu, May 29, 2014 at 8:59 AM, SiL588 . >
> wrote:
> > The output i have is this:
> >
> > 12.0
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 num
Hi,
On 2014-05-29, SiL588 . 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!
I don't think it i
On Thu, May 29, 2014 at 8:59 AM, SiL588 . 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:
>>
>> What exactl
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 . >
> wrote:
> >
What exactly do you mean by "simplify a real number?"
On Thu, May 29, 2014 at 8:32 AM, SiL588 . 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 value that was the
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 value that was the result of
multiplication between real numbers.
So, if a real number have no simplify methods, how can I simp
>
> 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" eco
Hi!
On 2014-05-29, SiL588 . 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 = var('m
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 message
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 s
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 th
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 comput
36 matches
Mail list logo