From 0edaa39f304040dc0328c41f166ad761727a60d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Chapoton?= Date: Mon, 13 Apr 2015 14:24:08 +0200 Subject: [PATCH] trac #18098 little more doc on QQ[[w]] in constructions.rst --- src/doc/en/constructions/calculus.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/doc/en/constructions/calculus.rst b/src/doc/en/constructions/calculus.rst index a66fb4a188d..f10035535c5 100644 --- a/src/doc/en/constructions/calculus.rst +++ b/src/doc/en/constructions/calculus.rst @@ -121,11 +121,15 @@ Or you can use the formal power series rings for fast computation. These are missing symbolic functions, on the other hand:: sage: R. = QQ[[]] - sage: ps = w + 17/2*w^2 + 15/4*w^4 + O(w^6) + sage: ps = w + 17/2*w^2 + 15/4*w^4 + O(w^6); ps + w + 17/2*w^2 + 15/4*w^4 + O(w^6) + sage: ps.exp() + 1 + w + 9*w^2 + 26/3*w^3 + 265/6*w^4 + 413/10*w^5 + O(w^6) + sage: (1+ps).log() + w + 8*w^2 - 49/6*w^3 - 193/8*w^4 + 301/5*w^5 + O(w^6) sage: (ps^1000).coefficients() [1, 8500, 36088875, 102047312625, 1729600092867375/8] - .. index:: pair: calculus; integration