Taxman,
Thanks for the report. Current behavior is to support latex versions
of graphs by adding two "\usepackage" commands to the preamble. It is
possible tkz-arith.sty should also be added, and maybe something
bigger like tikz and pgf.
Also, the documentation could perhaps be improved b
On Jul 11, 2009, at 4:39 PM, Minh Nguyen wrote:
> On Sun, Jul 12, 2009 at 9:12 AM, Neal wrote:
>>
>> Hi everyone,
>>
>> I thought I'd share the following:
>>
>> sage: assume(x>0)
>> sage: solve([x^2-1],x)
>> [x == -1, x == 1]
>>
>> Shouldn't it not give me the negative solution? Also:
>>
>> sage
On Sun, Jul 12, 2009 at 9:12 AM, Neal wrote:
>
> Hi everyone,
>
> I thought I'd share the following:
>
> sage: assume(x>0)
> sage: solve([x^2-1],x)
> [x == -1, x == 1]
>
> Shouldn't it not give me the negative solution? Also:
>
> sage: assume(x == 1)
> sage: bool(x == 1)
> False
We have been rec
Hi everyone,
I thought I'd share the following:
sage: assume(x>0)
sage: solve([x^2-1],x)
[x == -1, x == 1]
Shouldn't it not give me the negative solution? Also:
sage: assume(x == 1)
sage: bool(x == 1)
False
Neal
--~--~-~--~~~---~--~~
To post to this group, sen
You could also make your own sub-class like:
class mylist(list):
def sum(self):
return sum(self)
but then you would have to explicitly cast things to this class.
-M. Hampton
On Jul 11, 11:47 am, Harald Schilly wrote:
> the int->integer replacement is done by a preparser. if you t
the int->integer replacement is done by a preparser. if you turn it
off, sage is "pure" python only.
the list is a pure python object and i don't think it makes sense to
change anything. I recommend you to use a "vector",
sage: vector(RDF, [1,2,3])
h
On Jul 11, 6:41 pm, Carlos Cordoba wrote:
>
Hi,
I noticed that the int python type is replaced by the Integer type in
Sage. I'm wondering if I could do the same with the list type, so I
can add a functionality I need to it.
Could you tell how I can do it?
Thanks,
Carlos
--~--~-~--~~~---~--~~
To post to th