Hi Johannes!
On 16 Nov., 23:48, Johannes Huisman
wrote:
> Does sage have a command for polynomial division by increasing powers? I
> could not find such a command. Of course, one may use power series
> division in order to compute the quotient, but it would be neat if one
> could avoid all that.
On Tue, 16 Nov 2010 at 10:37AM -0800, craigp wrote:
> I'm thinking of using sage to write various kinds of technical docs
> (math in particular, naturally). I've just started to learn Latex, but
> I find some of aspects of that limiting (macros in particular).
"Limiting" is an amusing choice of wo
On Nov 16, 8:28 pm, Derrick wrote:
> ok, I got your point. Now, a different issue with "bool"
>
> bool( sin(2*x) == 2*sin(x)*cos(x) ) returns True
> while
> bool( sin(x) == 2*sin(x/2)*cos(x/2) ) returns False
>
> Similarly,
> bool( tan(x) == sin(2*x)/(1+cos(2*x)) ) returns True
> while
> bool( t
ok, I got your point. Now, a different issue with "bool"
bool( sin(2*x) == 2*sin(x)*cos(x) ) returns True
while
bool( sin(x) == 2*sin(x/2)*cos(x/2) ) returns False
Similarly,
bool( tan(x) == sin(2*x)/(1+cos(2*x)) ) returns True
while
bool( tan(x/2) == sin(x)/(1+cos(x)) ) returns False
Do you hav
Hello,
Does sage have a command for polynomial division by increasing powers? I
could not find such a command. Of course, one may use power series
division in order to compute the quotient, but it would be neat if one
could avoid all that.
Thanks in advance,
Johannes
--
http://pageperso.uni
Hi -
I'm thinking of using sage to write various kinds of technical docs
(math in particular, naturally). I've just started to learn Latex, but
I find some of aspects of that limiting (macros in particular). I
think my options come down to sagetex or rst + sphinx + sage. I'm more
interested in the
Many thanks
Robert
On 15 lis, 13:25, Jason Grout wrote:
> Try:
>
> sage: x=RealNumber('0.13546543513\
> 35216544435213132\
> 354351321321321')
> sage: x
> 0.135465435133521654443521313235435132132132
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this
Hello,
On Tue, Nov 16, 2010 at 12:03 AM, Rolandb wrote:
> 3) I could not find a Sage standard function to deliver this output.
> There are so many functions around...
> Is there such a function? An iterator is even better. N.B.: The above
> example "splits" can easily transformed to an iterator,
Hi,
I assumed that pure python would not consume (too much) memory. But
consider the following simple pure python example:
sage: def splits(lijst,n):
...
... """
... Divides a list in all combinations of n smaller partitions
... example:
... splits(range(5),2)= [[[0], [1,