From 259ef87c609c34aacbecf21e5a19a9dbbcf0f453 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:26:10 +0100 Subject: [PATCH 1/9] Update doc/README.rst --- doc/README.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/README.rst b/doc/README.rst index 3c325de4faec..e21b4888e874 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -42,7 +42,9 @@ In order to update translations, you first need to make sure that the If you are creating a translation for a new language, copy the generated ``tutorial.pot`` to a new file ``tutorial.??.po`` where ``??`` is the two-character language code for your language. Also add the language -code to the LANGUAGES macro in the Makefile. +code to the LANGUAGES macro in the Makefile. When the translation work +for a new language has reached 90% or more, a link to the new translation +should be added at the bottom of tutorial.en.rst. If you are just updating a translation, for example the ``tutorial.cs.po``, just do:: From b649b98a6e3a17f0d2c36d036d2359e08916674a Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:26:26 +0100 Subject: [PATCH 2/9] Update doc/Makefile Use foreach instead of a bash for loop, thus stopping on the first error. --- doc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index fadaa2710bfb..b5c88cb70c34 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -84,11 +84,11 @@ update-po: $(POFILES) htmli18n: $(MOFILES) mkdir -p _build/i18n/ mkdir -p _build/html/tutorial - for l in $(LANGUAGES); do \ - $(SPHINXBUILD) $(SPHINXOPTS) -b html -D language=$$l -D master_doc=tutorial/tutorial \ - -D source_suffix=.en.rst -d _build/doctrees-$$l src _build/i18n/$$l ; \ - cp _build/i18n/$$l/tutorial/tutorial.html _build/html/tutorial/tutorial.$$l.html ; \ - done + $(foreach l,$(LANGUAGES), \ + $(SPHINXBUILD) $(SPHINXOPTS) -b html -D language=$l -D master_doc=tutorial/tutorial \ + -D source_suffix=.en.rst -d _build/doctrees-$l src _build/i18n/$l && \ + cp _build/i18n/$l/tutorial/tutorial.html _build/html/tutorial/tutorial.$l.html && \ + ) true $(POFILES): src/tutorial/tutorial.pot msgmerge -U $@ $< From 2b11500e67173b4be5502bb3e01568280d8a62df Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:28:31 +0100 Subject: [PATCH 3/9] tutorial: formatting only. --- doc/src/tutorial/tutorial.en.rst | 58 +++++++++++++++----------------- 1 file changed, 28 insertions(+), 30 deletions(-) diff --git a/doc/src/tutorial/tutorial.en.rst b/doc/src/tutorial/tutorial.en.rst index 94052c7fa468..f2320ba2689d 100644 --- a/doc/src/tutorial/tutorial.en.rst +++ b/doc/src/tutorial/tutorial.en.rst @@ -16,11 +16,9 @@ entirely in Python and does not require any external libraries. This tutorial gives an overview and introduction to SymPy. Read this to have an idea what SymPy can do for you (and how) and if you want -to know more, read the -:ref:`SymPy User's Guide `, -:ref:`SymPy Modules Reference `. -or the `sources -`_ directly. +to know more, read the :ref:`SymPy User's Guide `, the +:ref:`SymPy Modules Reference `, or the +`sources `_ directly. First Steps with SymPy ====================== @@ -126,13 +124,13 @@ Using SymPy as a calculator SymPy has three built-in numeric types: Float, Rational and Integer. The Rational class represents a rational number as a pair of two Integers: -the numerator and the denominator. So Rational(1,2) represents 1/2, -Rational(5,2) represents 5/2, and so on. +the numerator and the denominator. So Rational(1, 2) represents 1/2, +Rational(5, 2) represents 5/2, and so on. :: >>> from sympy import Rational - >>> a = Rational(1,2) + >>> a = Rational(1, 2) >>> a 1/2 @@ -179,7 +177,7 @@ Rational: 1/2 We also have some special constants, like e and pi, that are treated as symbols -(1+pi won't evaluate to something numeric, rather it will remain as 1+pi), and +(1 + pi won't evaluate to something numeric, rather it will remain as 1 + pi), and have arbitrary precision: :: @@ -241,26 +239,26 @@ of expresions: :: - >>> x+y+x-y + >>> x + y + x - y 2*x - >>> (x+y)**2 + >>> (x + y)**2 (x + y)**2 - >>> ((x+y)**2).expand() + >>> ((x + y)**2).expand() x**2 + 2*x*y + y**2 They can be substituted with other numbers, symbols or expressions using ``subs(old, new)``: :: - >>> ((x+y)**2).subs(x, 1) + >>> ((x + y)**2).subs(x, 1) (y + 1)**2 - >>> ((x+y)**2).subs(x, y) + >>> ((x + y)**2).subs(x, y) 4*y**2 - >>> ((x+y)**2).subs(x, 1-y) + >>> ((x + y)**2).subs(x, 1 - y) 1 For the remainder of the tutorial, we assume that we have run: @@ -284,22 +282,22 @@ For partial fraction decomposition, use ``apart(expr, x)``: >>> from sympy import apart >>> from sympy.abc import x, y, z - >>> 1/( (x+2)*(x+1) ) + >>> 1/( (x + 2)*(x + 1) ) 1 --------------- (x + 1)*(x + 2) - >>> apart(1/( (x+2)*(x+1) ), x) + >>> apart(1/( (x + 2)*(x + 1) ), x) 1 1 - ----- + ----- x + 2 x + 1 - >>> (x+1)/(x-1) + >>> (x + 1)/(x - 1) x + 1 ----- x - 1 - >>> apart((x+1)/(x-1), x) + >>> apart((x + 1)/(x - 1), x) 2 1 + ----- x - 1 @@ -314,12 +312,12 @@ To combine things back together, use ``together(expr, x)``: --------------- x*y*z - >>> together(apart((x+1)/(x-1), x), x) + >>> together(apart((x + 1)/(x - 1), x), x) x + 1 ----- x - 1 - >>> together(apart(1/( (x+2)*(x+1) ), x), x) + >>> together(apart(1/( (x + 2)*(x + 1) ), x), x) 1 --------------- (x + 1)*(x + 2) @@ -602,10 +600,10 @@ Functions >>> from sympy import asin, asinh, cos, sin, sinh, symbols, I >>> x, y = symbols('x,y') - >>> sin(x+y).expand(trig=True) + >>> sin(x + y).expand(trig=True) sin(x)*cos(y) + sin(y)*cos(x) - >>> cos(x+y).expand(trig=True) + >>> cos(x + y).expand(trig=True) -sin(x)*sin(y) + cos(x)*cos(y) >>> sin(I*x) @@ -813,7 +811,7 @@ Matrices are created as instances from the Matrix class: :: >>> from sympy import Matrix, Symbol - >>> Matrix([[1,0], [0,1]]) + >>> Matrix([[1, 0], [0, 1]]) [1 0] [ ] [0 1] @@ -824,7 +822,7 @@ They can also contain symbols: >>> x = Symbol('x') >>> y = Symbol('y') - >>> A = Matrix([[1,x], [y,1]]) + >>> A = Matrix([[1, x], [y, 1]]) >>> A [1 x] [ ] @@ -862,7 +860,7 @@ If the match is unsuccessful, it returns ``None``: :: - >>> print (x+1).match(p**x) + >>> print (x + 1).match(p**x) None One can also use the exclude parameter of the ``Wild`` class to ensure that @@ -870,12 +868,12 @@ certain things do not show up in the result: :: - >>> p = Wild('p', exclude=[1,x]) - >>> print (x+1).match(x+p) # 1 is excluded + >>> p = Wild('p', exclude=[1, x]) + >>> print (x + 1).match(x + p) # 1 is excluded None - >>> print (x+1).match(p+1) # x is excluded + >>> print (x + 1).match(p + 1) # x is excluded None - >>> print (x+1).match(x+2+p) # -1 is not excluded + >>> print (x + 1).match(x + 2 + p) # -1 is not excluded {p_: -1} .. _printing-tutorial: From b065f281a85bee56ebabdbfbb0e5745445983b9c Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:28:56 +0100 Subject: [PATCH 4/9] tutorial: Update link to extended installation instructions. --- doc/src/tutorial/tutorial.en.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/src/tutorial/tutorial.en.rst b/doc/src/tutorial/tutorial.en.rst index f2320ba2689d..ce499c2ab651 100644 --- a/doc/src/tutorial/tutorial.en.rst +++ b/doc/src/tutorial/tutorial.en.rst @@ -75,10 +75,8 @@ distribution, e.g.: Setting up python-sympy (0.5.12-1) ... -For other means how to install SymPy, consult the Downloads_ tab on the -SymPy's webpage. - -.. _Downloads: http://code.google.com/p/sympy/wiki/DownloadInstallation?tm=2 +For other means how to install SymPy, consult the wiki page +`Download and Installation `_. isympy Console From 7cf0ee37cefb515e8bab58316bbc3e4104f9c620 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:30:51 +0100 Subject: [PATCH 5/9] Update tutorial.pot --- doc/src/tutorial/tutorial.pot | 206 +++++++++++++++++----------------- 1 file changed, 103 insertions(+), 103 deletions(-) diff --git a/doc/src/tutorial/tutorial.pot b/doc/src/tutorial/tutorial.pot index be0b6cdac9ab..b5761c8ceb6e 100644 --- a/doc/src/tutorial/tutorial.pot +++ b/doc/src/tutorial/tutorial.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -29,395 +29,395 @@ msgid "SymPy is a Python library for symbolic mathematics. It aims to become a f msgstr "" #: tutorial.en.rst:17 -msgid "This tutorial gives an overview and introduction to SymPy. Read this to have an idea what SymPy can do for you (and how) and if you want to know more, read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference `. or the `sources `_ directly." +msgid "This tutorial gives an overview and introduction to SymPy. Read this to have an idea what SymPy can do for you (and how) and if you want to know more, read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules Reference `, or the `sources `_ directly." msgstr "" -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "The easiest way to download it is to go to http://code.google.com/p/sympy/ and download the latest tarball from the Featured Downloads:" msgstr "" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "You can use SymPy as shown above and this is indeed the recommended way if you use it in your program. You can also install it using ``./setup.py install`` as any other Python module, or just install a package in your favourite Linux distribution, e.g.:" msgstr "" -#: tutorial.en.rst:80 -msgid "For other means how to install SymPy, consult the Downloads_ tab on the SymPy's webpage." +#: tutorial.en.rst:78 +msgid "For other means how to install SymPy, consult the wiki page `Download and Installation `_." msgstr "" -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "For experimenting with new features, or when figuring out how to do things, you can use our special wrapper around IPython called ``isympy`` (located in ``bin/isympy`` if you are running from the source directory) which is just a standard Python shell that has already imported the relevant SymPy modules and defined the symbols x, y, z and some other things:" msgstr "" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "Commands entered by you are bold. Thus what we did in 3 lines in a regular Python interpreter can be done in 1 line in isympy." msgstr "" -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "" -#: tutorial.en.rst:128 -msgid "The Rational class represents a rational number as a pair of two Integers: the numerator and the denominator. So Rational(1,2) represents 1/2, Rational(5,2) represents 5/2, and so on." +#: tutorial.en.rst:124 +msgid "The Rational class represents a rational number as a pair of two Integers: the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational(5, 2) represents 5/2, and so on." msgstr "" -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "Proceed with caution while working with Python int's and floating point numbers, especially in division, since you may create a Python number, not a SymPy number. A ratio of two Python ints may create a float -- the \"true division\" standard of Python 3 and the default behavior of ``isympy`` which imports division from __future__:" msgstr "" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "But in earlier Python versions where division has not been imported, a truncated int will result:" msgstr "" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "In both cases, however, you are not dealing with a SymPy Number because Python created its own number. Most of the time you will probably be working with Rational numbers, so make sure to use Rational to get the SymPy result. One might find it convenient to equate ``R`` and Rational:" msgstr "" -#: tutorial.en.rst:181 -msgid "We also have some special constants, like e and pi, that are treated as symbols (1+pi won't evaluate to something numeric, rather it will remain as 1+pi), and have arbitrary precision:" +#: tutorial.en.rst:177 +msgid "We also have some special constants, like e and pi, that are treated as symbols (1 + pi won't evaluate to something numeric, rather it will remain as 1 + pi), and have arbitrary precision:" msgstr "" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "" -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "In contrast to other Computer Algebra Systems, in SymPy you have to declare symbolic variables explicitly:" msgstr "" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "On the left is the normal Python variable which has been assigned to the SymPy Symbol class. Predefined symbols (including those for symbols with Greek names) are available for import from abc:" msgstr "" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "Symbols can also be created with the ``symbols`` or ``var`` functions, the latter automatically adding the created symbols to the namespace, and both accepting a range notation:" msgstr "" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "Instances of the Symbol class \"play well together\" and are the building blocks of expresions:" msgstr "" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "They can be substituted with other numbers, symbols or expressions using ``subs(old, new)``:" msgstr "" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "This will make things look better when printed. See the :ref:`printing-tutorial` section below. If you have a unicode font installed, you can pass use_unicode=True for a slightly nicer output." msgstr "" -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "Limits are easy to use in SymPy, they follow the syntax ``limit(function, variable, point)``, so to compute the limit of f(x) as x -> 0, you would issue ``limit(f, x, 0)``:" msgstr "" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "for some non-trivial examples on limits, you can read the test file `test_demidovich.py `_" msgstr "" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "You can differentiate any SymPy expression using ``diff(func, var)``. Examples:" msgstr "" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "Compute the summation of f with respect to the given summation variable over the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "If it cannot compute the sum, it prints the corresponding summation formula. Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "SymPy has support for indefinite and definite integration of transcendental elementary and special functions via ``integrate()`` facility, which uses powerful extended Risch-Norman algorithm and some heuristics and pattern matching:" msgstr "" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "Besides the imaginary unit, I, which is imaginary, symbols can be created with attributes (e.g. real, positive, complex, etc...) and this will affect how they behave:" msgstr "" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "" -#: tutorial.en.rst:767 -#: tutorial.en.rst:789 +#: tutorial.en.rst:763 +#: tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "Use the ``.match()`` method, along with the ``Wild`` class, to perform pattern matching on expressions. The method will return a dictionary with the required substitutions, as follows:" msgstr "" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "One can also use the exclude parameter of the ``Wild`` class to ensure that certain things do not show up in the result:" msgstr "" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "" -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "If you have a unicode font installed, the ``pprint`` function will use it by default. You can override this using the ``use_unicode`` option.:" msgstr "" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." msgstr "" -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "Tip: To make pretty printing the default in the Python interpreter, use:" msgstr "" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "If pyglet is installed, a pyglet window will open containing the LaTeX rendered expression:" msgstr "" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "``isympy`` calls ``pprint`` automatically, so that's why you see pretty printing by default." msgstr "" -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "Note that there is also a printing module available, ``sympy.printing``. Other printing methods available through this module are:" msgstr "" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, respectively, a pretty representation of ``expr``. This is the same as the second level of representation described above." msgstr "" -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a `LaTeX `_ representation of ``expr``" msgstr "" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a `MathML `_ representation of ``expr``." msgstr "" -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview `_ program is required." msgstr "" -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we and our users contributed, and feel free to edit it." msgstr "" -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "" From 66ae9420d2a4bd43d3a406806120ed414b05e8da Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 10 Dec 2012 15:33:53 +0100 Subject: [PATCH 6/9] Update tutorial.??.po --- doc/src/tutorial/tutorial.bg.po | 232 +++++++++++++++--------------- doc/src/tutorial/tutorial.cs.po | 234 +++++++++++++++--------------- doc/src/tutorial/tutorial.de.po | 242 ++++++++++++++++---------------- doc/src/tutorial/tutorial.fr.po | 241 +++++++++++++++---------------- doc/src/tutorial/tutorial.pl.po | 230 +++++++++++++++--------------- doc/src/tutorial/tutorial.ru.po | 240 +++++++++++++++---------------- doc/src/tutorial/tutorial.sr.po | 235 +++++++++++++++---------------- 7 files changed, 830 insertions(+), 824 deletions(-) diff --git a/doc/src/tutorial/tutorial.bg.po b/doc/src/tutorial/tutorial.bg.po index 493a12c7641b..39fe6a054f3d 100644 --- a/doc/src/tutorial/tutorial.bg.po +++ b/doc/src/tutorial/tutorial.bg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: 2011-12-29 19:03+0530\n" "Last-Translator: \n" "Language-Team: \n" @@ -40,19 +40,20 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Този урок е въведение към SymPy. Прочетете го, за да научите какво и как " -"може SymPy, и ако искате да научите повече, прочетете `SymPy User's " -"Guide <../guide.html>`_, `SymPy Modules Reference <../modules/index.html>`_. " -"или `сорс код `_ директно." +"може SymPy, и ако искате да научите повече, прочетете `SymPy User's Guide " +"<../guide.html>`_, `SymPy Modules Reference <../modules/index.html>`_, или " +"`сорс код `_ директно." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Първи стъпки със SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -60,15 +61,15 @@ msgstr "" "Най-лесният начин да свалите SymPy е да отидете на http://code.google.com/p/" "sympy/ и да изтеглите последния архив." -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Разархивирайте го:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "и го изпробвайте от интерпретатор на Python:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -81,17 +82,18 @@ msgstr "" "модул на Python,или просто инсталирайте пакет във вашата любима Linux " "дистрибуция, например:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 +#, fuzzy msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "За други начини за инсталация може да погледнете страницата ни за" -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy Конзола" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "" "For experimenting with new features, or when figuring out how to do things, " "you can use our special wrapper around IPython called ``isympy`` (located in " @@ -106,7 +108,7 @@ msgstr "" "която включва съответните SymPy модули и дефинираните символи x, y, z, " "както и някои други неща:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -114,26 +116,26 @@ msgstr "" "Командите, въведени от вас, са удебелени. Така, това което направихме в 3 " "линии на обикновен Python, може да се направи с 1 линия на isympy." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "Използване на SymPy като калкулатор" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "" "SymPy има 3 вградени типове числа: Цели, с плаваща запетая и рационални." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Рационалният клас представлява рационална дроб като двойка от цели числа: " -"числителя и знаменателя, така че Rational(1,2) представлява 1/2, Rational" -"(5,2) 5/2 и така нататък." +"числителя и знаменателя, така че Rational(1, 2) представлява 1/2, Rational" +"(5, 2) 5/2 и така нататък." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -148,7 +150,7 @@ msgstr "" "3, и подразбиращото се поведение на ``isympy``, което въвежда делението от " "__future__:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -156,7 +158,7 @@ msgstr "" "Но в по-ранните версии на Python, където \"истинското делението\" не бе " "въведено, като резултат ще бъде закръглено число:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -168,31 +170,31 @@ msgstr "" "числа, така че се уверете, че използвате Rational, за да получите очаквания " "резултат. Може да сметнете за удобно да използвате ``R`` като Rational:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "Ние също така имаме някои специални константи, като e и pi, които се " -"третират като символи (1+pi няма да се изчисли като някое число, а ще си " -"остане 1+pi) и имат арбитрарна точност:" +"третират като символи (1 + pi няма да се изчисли като някое число, а ще си " +"остане 1 + pi) и имат арбитрарна точност:" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "Както виждате, evalf изчислява израза до число с плаваща запетая." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "" "Също така има и клас, представляващ математическа безкрайност, наречен " "``oo``:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Символи" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -200,7 +202,7 @@ msgstr "" "За разлика от други компютърни алгебрични системи (CAS), в SymPy вие трябва " "изрично да декларирате символните променливи:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "" "On the left is the normal Python variable which has been assigned to the " "SymPy Symbol class. Predefined symbols (including those for symbols with " @@ -210,20 +212,20 @@ msgstr "" "класа Symbol. Инстанциите на този клас могат да се комбинират и да направят " "израз:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " "accepting a range notation:" msgstr "" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "" "Instances of the Symbol class \"play well together\" and are the building " "blocks of expresions:" msgstr "Инстанциите на този клас могат да се комбинират и да направят израз:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -231,11 +233,11 @@ msgstr "" "И да ги замествате с други символи или числа като използвате ``subs(old, new)" "``:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "До края на този урок предполагаме, че сте изпълнили следния код:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " @@ -246,28 +248,28 @@ msgstr "" "инсталиран някой unicode шрифт, може да подадете use_unicode=True за доста " "по-красив изход." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Алгебра" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "За да разложите непълни дроби, използвайте ``apart(expr, x)``:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "" "За да комбинирате нещата отново заедно, използвайте ``together(expr, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Висша математика" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Граници" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " "variable, point)``, so to compute the limit of f(x) as x -> 0, you would " @@ -277,11 +279,11 @@ msgstr "" "синтаксис limit(function, variable, point), така че за да изчислите " "границата на f(x), където x -> 0 бихте използвали ``limit(f, x, 0)``:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "също така може да изчислите граница до безкрайност:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Диференциално смятане" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -303,56 +305,56 @@ msgstr "" "Може да изчислите производните на който и да е израз в SymPy, като " "използвате ``diff(func, var)``. Примери:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "Можете да проверите, че е правилно, като:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" "Производни от по-висок ред могат да бъдат пресметнати чрез използването на " "метода ``diff(func, var, n)`` :" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Разлагане в ред" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Използвайте метода ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Друг прост пример:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Интегриране" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -364,95 +366,95 @@ msgstr "" "мощния разширен алгоритъм на Risch-Norman и няколко еврестики и сравнения с " "шаблони:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Можете да декларирате елементарни функции:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Лесно можете да се справите и със специалните функции:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "Възможно е да изчислите даден интеграл:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "Също така се поддържат и неопределени интеграли:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Комплексни числа" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " "how they behave:" msgstr "" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Функции" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**тригонометрични**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**сферични хармонични**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**факториел и гама функции**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**дзета функции**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**полиноми**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Диференциални уравнения" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "В ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Алгебрични уравнения" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Линейна алгебра" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Матрици" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Матриците се създават като инстанции на Matrix класа:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "също така може да слагате символи в тях:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "За повече информация и примери с матрици вижте Linear Algebra tutorial." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Сравняване на шаблони" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -462,11 +464,11 @@ msgstr "" "с даден шаблон. Методът ще върне речник с изисканите замествания, както " "следва:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Ако съвпадението е неуспешно, методът връща ``None``:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -474,32 +476,32 @@ msgstr "" "Можете да използвате и втория незадължителен параметър exclude, за да се " "уверите, че някои неща не се появяват в резултата:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Принтиране" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "Има много начини, по които изразите може да се отпечатат." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Стандартен начин**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "Това е резултатът от ``str(expression)`` и изглежда така:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Красиво отпечатване (pretty printing)**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "" "Това е хубаво отпечатване тип ascii-art, направено от ``pprint`` функция:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " "default. You can override this using the ``use_unicode`` option.:" @@ -508,7 +510,7 @@ msgstr "" "подразбиране. Може смените това поведение, като използвате опцията " "``use_unicode``.:" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -516,40 +518,40 @@ msgstr "" "Също така вижте уикито `Pretty Printing `_ за повече примери за добро unicode принтиране." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" msgstr "" "Съвет:За да направите красивото отпечатване(pretty printing) по подразбиране " "в интерпретатора на Python, използвайте:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Python отпечатване**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**LaTeX отпечатване**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "*MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" msgstr "И pyglet прозорец с LaTeX рендиран израз ще се появи:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Бележки" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -557,7 +559,7 @@ msgstr "" "``isympy`` извиква ``pprint`` автоматично, поради тази причина виждате " "красивото отпечатване (pretty printing) по подразбиране." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -565,7 +567,7 @@ msgstr "" "Забележете, че също така има модул за принтиране, ``sympy.printing``. Други " "методи за принтиране, налични чрез този модул, са:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -575,7 +577,7 @@ msgstr "" "принтира, съответно, красива репрезентация на ``expr``. Това е еквивалентно " "на второто ниво на репрезентация показано по-горе." -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -583,7 +585,7 @@ msgstr "" "``latex(expr)``, ``print_latex(expr)``: Връща или принтира, съответно, " "`LaTeX `_ репрезентация на ``expr``" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -591,7 +593,7 @@ msgstr "" "``mathml(expr)``, ``print_mathml(expr)``: Връща или принтира, съответно, " "`MathML `_ репрезентация на ``expr``." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -601,19 +603,19 @@ msgstr "" "it/mml-widget/>`_, GTK интрумент, който визуализира MathML код. Изисква се " "`Gtkmathview `_ ." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Допълнителна документация" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"Време е да научите повече за SymPy. Прегледайте `SymPy User's Guide " -"<../guide.html>`_ и `SymPy Modules Reference <../modules/index.html>`_." +"Време е да научите повече за SymPy. Прегледайте `SymPy User's Guide <../" +"guide.html>`_ и `SymPy Modules Reference <../modules/index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "" "Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we " @@ -624,10 +626,10 @@ msgstr "" "наръчници, за които ние и нашите потребители допринасяме и Ви окуражаваме да " "редактирате и подобрите." -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "" diff --git a/doc/src/tutorial/tutorial.cs.po b/doc/src/tutorial/tutorial.cs.po index de7033d2ff38..3017a65bb2f2 100644 --- a/doc/src/tutorial/tutorial.cs.po +++ b/doc/src/tutorial/tutorial.cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: 2011-12-27 11:52-0800\n" "Last-Translator: \n" "Language-Team: \n" @@ -41,20 +41,21 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Tento tutoriál je úvodem do SymPy a zároveň ukazuje, co SymPy umí. Přečtěte " "si ho, aby jste zjistili, jak pro vás může být SymPy užitečná a pokud budete " "chtít vědět víc, přečtěte si `Uživatelskou příručku SymPy <../guide.html>`_, " -"`Přehled modulů SymPy <../modules/index.html>`_. nebo přímo `zdrojové kódy `_" +"`Přehled modulů SymPy <../modules/index.html>`_, nebo přímo `zdrojové kódy " +"`_." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "První kroky se SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -62,15 +63,15 @@ msgstr "" "Nejjednodušší způsob, jak stáhnout SymPy je jít na http://code.google.com/p/" "sympy/ a stáhnout nejnovější verzi z doporučených zdrojů:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Rozbalit ji:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "a vyzkoušet jí v interpretru Pythonu:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -82,19 +83,20 @@ msgstr "" "py install`` jako každý modul Pythonu nebo si jednoduše nainstalovat balíček " "do vaší oblíbené distribuce Linuxu. Například:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 +#, fuzzy msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" "Pro další způsoby instalace SymPy si prohlédněte záložku Downloads_ na " "stránkách SymPy." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy konzole" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 #, fuzzy msgid "" "For experimenting with new features, or when figuring out how to do things, " @@ -109,7 +111,7 @@ msgstr "" "Python shell, který má zapojené související SymPy moduly a definoval " "symoboly x, y, z a některé další věci:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -117,26 +119,26 @@ msgstr "" "Vámi zadané příkazy jsou tučně. Vidíme, že to, co bychom udělali ve 3 " "řádcích v běžném interpretru Pythonu, lze udělat v isympy v 1 řádku." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "SymPy jako kalkulačka" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 #, fuzzy msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "SymPy má zabudované tři číselné typy: Float, Rational a Integer." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Třída Rational reprezentuje racionální čísla jako dvojici Integerů: čitatel " -"a jmenovatel Takže Rational(1,2) reprezentuje 1/2, Ration(5,2) reprezentuje " +"a jmenovatel Takže Rational(1, 2) reprezentuje 1/2, Rational(5, 2) reprezentuje " "5/2, a tak dále." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -149,7 +151,7 @@ msgstr "" "Pythonu může vytvořit Float -- \"pravé dělení\", standard Pythonu 3 a " "defaultní chování ``isympy``, které vkládá dělení z __future__:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -157,7 +159,7 @@ msgstr "" "Ale v dřívějších verzích Pythonu, kde nebylo dělení zakomponováno, vyšel " "oříznutý int:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -169,30 +171,30 @@ msgstr "" "takže dávejte pozor, abyste používali Rational a dostali tak výsledek SymPy. " "Někomu může připadat příhodné používat místo dlouhého Rational krátké ``R``:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "Také máme k dispozici několik konstant, jak e nebo pí, se kterými se pracuje " -"jako se symboly (1+pi se nevypočítá jako numerická hodnota, ale ponechá se " -"1+pi) a mají libovolnou přesnost:" +"jako se symboly (1 + pi se nevypočítá jako numerická hodnota, ale ponechá se " +"1 + pi) a mají libovolnou přesnost:" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "" "jak vidíte, evalf vyhodnotí výraz na číslo s pohyblivou desetinnou čárkou." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "Symbol ``oo`` se používá pro třídu definující matematické nekonečno:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Symboly" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -200,7 +202,7 @@ msgstr "" "Narozdíl od jiných počítačových algebraických systémů, v SymPy je třeba " "explicitně deklarovat symbolické proměnné:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 #, fuzzy msgid "" "On the left is the normal Python variable which has been assigned to the " @@ -210,7 +212,7 @@ msgstr "" "Nalevo je běžná proměnná Pythonu, která byla přiřazená SymPy třídě Symbol. " "Instance třídy Symbol \"si dobře rozumí\" a jsou to stavební kameny výrazů:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " @@ -220,7 +222,7 @@ msgstr "" "funkce ``var`` automaticky přídá vytvořené symboly do namespace, a jak " "``symbols``, tak ``var`` podporují range notaci:" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 #, fuzzy msgid "" "Instances of the Symbol class \"play well together\" and are the building " @@ -229,7 +231,7 @@ msgstr "" "Nalevo je běžná proměnná Pythonu, která byla přiřazená SymPy třídě Symbol. " "Instance třídy Symbol \"si dobře rozumí\" a jsou to stavební kameny výrazů:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -237,41 +239,41 @@ msgstr "" "Mohou být nahrazeny jinými čísly, symboly nebo výrazy použitím ``subs(stary, " "novy)``:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "Pro celý zbytek tutoriálu předpokládejme, že jsme zadali:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " "use_unicode=True for a slightly nicer output." msgstr "" -"To nám zajistí hezčí výstup. Koukněte do sekce níže :ref:`printing-tutorial`. " -"Pokud máte nainstalovaný font unicode, volbou ``use_unicode=True`` " -"dostanete o něco hezčí výstup." +"To nám zajistí hezčí výstup. Koukněte do sekce níže :ref:`printing-" +"tutorial`. Pokud máte nainstalovaný font unicode, volbou " +"``use_unicode=True`` dostanete o něco hezčí výstup." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Algebra" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "Pro rozklad na parciální zlomky, použijte ``apart(expr, x)``:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "Pro zpětné sdružení věcí dohromady, použijte ``together(expr, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Analýza" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Limity" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 #, fuzzy msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " @@ -282,11 +284,11 @@ msgstr "" "variable, point)``, takže pro vypočtení limity f(x) pro x -> 0 byste " "dosadili ``limit(f, x, 0)``:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "také můžete spočítat limitu v nekonečnu:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Derivace" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -308,54 +310,54 @@ msgstr "" "Můžete derivovat libovolný výraz v SymPy pomocí ``diff(func, var)``. " "Například:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "Výsledek si můžete zkontrolovat:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "Vyšší derivace můžete spočítat pomocí ``diff(func, var, n)``:" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Rozvoj v řady" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Použijte ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Další jednoduchý příklad:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Integrály" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -367,29 +369,29 @@ msgstr "" "rozšířeného Risch-Normanova algoritmu, některých heuristik a porovnávání " "vzorků:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Můžete integrovat elementární funkce:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Také speciální funkce lze jednoduše integrovat:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 #, fuzzy msgid "It is possible to compute definite integrals:" msgstr "Je možné vypočítat určitý integrál:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 #, fuzzy msgid "Also, improper integrals are supported as well:" msgstr "Podporovány jsou i nevlastní integrály:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Komplexní čísla" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " @@ -399,71 +401,71 @@ msgstr "" "(například real, positive, complex, atd...), a to ovlivní jak se budou " "chovat:" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Funkce" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**trigonometrické**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**Sférické funkce**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**Faktoriály a gamma funkce**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**Zeta funkce**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**Polynomy**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Diferenciální rovnice" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "V ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Algebraické rovnice" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Lineární algebra" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Matice" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Matice jsou vytvořeny jako instance třídy Matrix:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 #, fuzzy msgid "They can also contain symbols:" msgstr "Lze tam také vložit symboly:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 #, fuzzy msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "Pro více informací a příkladů s maticemi se podívejte na Linear Algebra " "tutorial." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Porovnávání vzorků" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -472,11 +474,11 @@ msgstr "" "Použijte metodu ``.match()`` spolu s třídou ``Wild`` pro porovnávání výrazů. " "Metoda vrátí slovník s požadovanými substitucemi, jako vidíme zde:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Pokud je porovnání neúspěšné, vrátí ``None``:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -484,32 +486,32 @@ msgstr "" "Lze také použít parametr ``exclude`` třídy ``Wild``, aby se určité věci " "nezobrazily ve výsledku:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Výpis" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "Je spousta způsobů, jak mohou být výrazy vypisovány." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Standardní**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "To je to, co vrátí ``str(expression)`` a vypadá to takto:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Pěkný výpis**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 #, fuzzy msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "To je pěkný ascii-art výpis vytvořený funkcí ``pprint``:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 #, fuzzy msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " @@ -518,7 +520,7 @@ msgstr "" "Pokud máte nainstalované písmo unicode, měla by ho funkce automaticky " "využívat. Využívání unicode písma se dá nastavit změnou ``use_unicode``:" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -526,7 +528,7 @@ msgstr "" "Pro více příkladů pěkného unicode výstupu koukněte na wiki na `Pretty " "Printing `_" -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 #, fuzzy msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" @@ -534,41 +536,41 @@ msgstr "" "Tip: Pokud chcete v interpretru Pythonu pěkné vypisování používat defaultně, " "proveďte:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Python výstup**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**LaTeX výstup**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 #, fuzzy msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" msgstr "A vyskočí pyglet okno s výrazem formátovaným v LaTeXu:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Poznámky" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." msgstr "" "``isympy`` volá ``pprint`` automaticky, proto standardně vidíte pěkný výpis." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -576,7 +578,7 @@ msgstr "" "Všimněte si, že je přístupný modul pro výpisy, ``sympy.printing``. Další " "metody dostupné díky tomuto modulu jsou:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -586,7 +588,7 @@ msgstr "" "respektive vypisuje, pěknou reprezentaci ``expr``. Je to jako druhá úroveň " "reprezentace popsané výše." -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -594,7 +596,7 @@ msgstr "" "``latex(expr)``, ``print_latex(expr)``: Vrací, respektive vypisuje, `LaTeX " "`_ reprezentaci ``expr``" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -602,7 +604,7 @@ msgstr "" " ``mathml(expr)``, ``print_mathml(expr)``: Vrací, respektive vypisuje, " "`MathML `_ reprezentaci ``expr``." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -612,19 +614,19 @@ msgstr "" "it/mml-widget/>`_, GTK widgetu, který zobrazuje MathML kód. Je vyžadován " "program `Gtkmathview `_." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Další dokumentace" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"Nyní je čas dozvědět se více o SymPy. Pročtěte si `Uživatelskou " -"příručku SymPy <../guide.html>`_ a `Přehled modulů SymPy <../modules/index.html>`_." +"Nyní je čas dozvědět se více o SymPy. Pročtěte si `Uživatelskou příručku " +"SymPy <../guide.html>`_ a `Přehled modulů SymPy <../modules/index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 #, fuzzy msgid "" "Be sure to also browse our public `wiki.sympy.org , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" -"PO-Revision-Date: 2012-08-14 16:34\n" +"POT-Creation-Date: 2012-12-10 15:09\n" +"PO-Revision-Date: 2012-12-10 15:32\n" "Last-Translator: Julien Rioux \n" "Language-Team: \n" "Language: German\n" @@ -42,20 +41,21 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Dieses Tutorial schafft einen Überblick und gibt eine Einführung in SymPy. " "Wenn du wissen möchtest, was SymPy tun kann (und wie), lies diese Seite, und " -"wenn du mehr erfahren möchtest, lies den `SymPy User's Guide <../guide.html>`_ " -"und die `SymPy Modules Reference <../modules/index.html>`_ oder den `Quellcode " -"`_ selbst." +"wenn du mehr erfahren möchtest, lies den `SymPy User's Guide <../guide." +"html>`_, die `SymPy Modules Reference <../modules/index.html>`_, oder den " +"`Quellcode `_ selbst." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Erste Schritte mit SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -63,15 +63,15 @@ msgstr "" "Am einfachsten kannst du SymPy mit der aktuellsten .tar-Datei aus den " "\"Featured Downloads\" von http://code.google.com/p/sympy/ installieren:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Dann musst du die Datei auspacken:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "und kannst sie mit einem Python-Interpreter ausprobieren." -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -84,19 +84,20 @@ msgstr "" "installieren. Auch ist es natürlich möglich, einfach ein Paket deiner Linux-" "Distribution zu verwenden, zum Beispiel:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" -"Weitere Installationsmöglichkeiten findest du unter Downloads_ auf der SymPy-" -"Website." +"Weitere Installationsmöglichkeiten findest du unter `Download and " +"Installation (auf Englisch) `_ " +"auf der SymPy-Wiki." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy-Konsole" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "" "For experimenting with new features, or when figuring out how to do things, " "you can use our special wrapper around IPython called ``isympy`` (located in " @@ -110,7 +111,7 @@ msgstr "" "Python-Konsole, die allerdings bereits die wichtigen sympy-Module importiert " "hat und unter anderem die Symbole x, y und z bereits definiert hat:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -119,25 +120,25 @@ msgstr "" "Interpreter drei Zeilen gebraucht hätte, kann mit isympy in nur einer Zeile " "ausgedrückt werden." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "Mit SymPy rechnen" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "SymPy hat drei eingebaute Zahlentypen: Float, Rational und Integer." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Die Klasse Rational stellt eine rationale Zahl als Paar von zwei Ganzzahlen " -"dar: dem Zähler und dem Nenner. Rational(1,2) repräsentiert also 1/2, " -"Rational(5,2) repräsentiert 5/2 und so weiter." +"dar: dem Zähler und dem Nenner. Rational(1, 2) repräsentiert also 1/2, " +"Rational(5, 2) repräsentiert 5/2 und so weiter." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -149,10 +150,9 @@ msgstr "" "geboten, besonders bei Division, da eine Python-Zahl statt einer SymPy-Zahl " "das Ergebnis sein kann. Eine Division von zwei Python-Ganzzahlen hat eine " "Fließkommazahl zum Ergebnis -- die \"echte Divison\" von Python 3 und das " -"Standardverhalten von ``isympy``, welches division aus __future__ " -"importiert:" +"Standardverhalten von ``isympy``, welches division aus __future__ importiert:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -160,7 +160,7 @@ msgstr "" "In älteren Python-Versionen ohne den Import von division ist das Ergebnis " "hingegen eine abgerundete Ganzzahl:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -172,31 +172,31 @@ msgstr "" "Zahlen des Typs Rational arbeiten wollen, also achte darauf, auch solche zu " "erhalten. Oft wird zur besseren Lesbarkeit ``R`` mit Rational gleichgesetzt:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "Es gibt auch einige spezielle Konstanten wie e oder pi, die als Symbole " -"behandelt werden (1+pi wird nicht als Zahl ausgerechnet, sondern bleibt " -"1+pi) und in beliebiger Präzision verfügbar sind:" +"behandelt werden (1 + pi wird nicht als Zahl ausgerechnet, sondern bleibt " +"1 + pi) und in beliebiger Präzision verfügbar sind:" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "Wie man sieht, berechnet evalf aus dem Ausdruck eine Fließkommazahl." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "" "Das Symnol ``oo`` wird für eine Klasse benutzt, die mathematische " "Unendlichkeit darstellt:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Symbole" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -204,7 +204,7 @@ msgstr "" "Im Gegensatz zu anderen Computer-Algebra-Systemen müssen in SymPy " "symbolische Variablen ausdrücklich deklariert werden:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "" "On the left is the normal Python variable which has been assigned to the " "SymPy Symbol class. Predefined symbols (including those for symbols with " @@ -214,7 +214,7 @@ msgstr "" "zugewiesen wird. Vordefiniert Symbole (inklusiv Symbole mit griechischen " "Namen) sind von Import von abc verfügbar:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " @@ -224,13 +224,13 @@ msgstr "" "werden. Die letztere fügt automatisch die Symbole in den Namespace ein, und " "beide Funktionen akzeptieren eine Reihennotation:" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "" "Instances of the Symbol class \"play well together\" and are the building " "blocks of expresions:" msgstr "Aus Symbol-Objekten kann man bequem Ausdrücke zusammensetzen:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -238,13 +238,13 @@ msgstr "" "Sie können mit ``subs(old, new)`` durch Zahlen, andere Symbole oder " "Ausdrücke ersetzt werden:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "" "Für den Rest des Tutorials gehen wir davon aus, dass folgende Zeile " "ausgeführt wurde:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " @@ -254,27 +254,27 @@ msgstr "" "`printing-tutorial` weiter unten). Wenn eine Unicode-Schrift installiert " "ist, erreichst du mit use_unicode=True eine noch hübschere Ausgabe." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Algebra" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "Für die Partialbruchzerlegung kannst du ``apart(expr, x)`` benutzen:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "Zum Kombinieren gibt es die Funktion ``together(expr, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Infinitesimalrechnung" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Limes" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " "variable, point)``, so to compute the limit of f(x) as x -> 0, you would " @@ -284,11 +284,11 @@ msgstr "" "(function, variable, point)``, um also den Grenzwert von f(x) bei x -> 0 zu " "berechnen, kann ``limit(f, x, 0)`` benutzt werden:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "Analog kann der Limes für x gegen unendlich berechnet werden:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Differentialrechnung" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -310,56 +310,56 @@ msgstr "" "Mithilfe von ``diff(func, var)`` kann jeder SymPy-Ausdruck differenziert " "werden. Beispiele:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "Folgendermaßen kann überprüft werden, ob dies korrekt ist:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" "Höhere Ableitungen können mithilfe von ``diff(func, var, n)`` berechnet " "werden:" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Reihenentwicklung" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Benutze ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Ein weiteres einfaches Beispiel:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Integralrechnung" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -371,27 +371,27 @@ msgstr "" "starken Risch-Norman-Algorithmus nutzt, sowie einige Heuristiken und " "Mustererkennungen:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Es können elementare Funktionen integriert werden:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Aber auch mit speziellen Funktionen kann einfach umgegangen werden:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "Es ist möglich, ein endliches Integral zu berechnen:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "Auch uneigentliche Integrale werden unterstützt:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Komplexe Zahlen" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " @@ -401,69 +401,69 @@ msgstr "" "Symbole mit Attributen (z.B. reale, positive, komplex, usw.) erstellt " "werden, und dies hat Auswirkungen darauf, wie sie sich verhalten:" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Funktionen" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**trigonometrische**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**Kugelflächen**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**Fakultät und Gamma-Funktion**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**Zeta-Funktion**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**Polynome**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Differenzialgleichungen" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "In ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Algebraische Gleichungen" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Lineare Algebra" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Matrizen" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Matrizen werden als Instanzen der Matrix-Klasse erzeugt:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "Sie können auch Symbole enthalten:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "Mehr Informationen und Beispiele zu Matrizen finden sich im " "LinearAlgebraTutorial." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Musterabgleich" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -473,11 +473,11 @@ msgstr "" "auf Muster überprüfen. Die Methode gibt ein dictionary mit den nötigen " "Ersetzungen zurück, wie im folgenden Beispiel ersichtlich:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Wenn der Musterabgleich fehlschlägt, wird ``None`` zurückgegeben:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -485,31 +485,31 @@ msgstr "" "Über den Parameter ``exclude`` kann man manches aus dem Ergebnis " "ausschließen:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Ausgabe" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "Es existieren mehrere Wege, Ausdrücke auszugeben:" -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Standard**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "Dies ist die Ausgabe von ``str(expression)`` und sieht so aus:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**ASCII-Art-Ausgabe**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "Eine ``pprint``-Funktion erzeugt diese hübschere ASCII-Art-Ausgabe." -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " "default. You can override this using the ``use_unicode`` option.:" @@ -518,7 +518,7 @@ msgstr "" "standardmäßig die Unicode-Fassung verwenden. Dies kann mit dem Parameter " "``use_unicode`` erzwungen oder abgeschaltet werden." -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -526,29 +526,29 @@ msgstr "" "Siehe auch die Wiki-Seite `Pretty Printing `_ für mehr Beispiele von hübschen Unicode-Ausgaben." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" msgstr "" "Tipp: Die ASCII-Art-Ausgabe kann auch als Standard-Methode gesetzt werden:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Python-Ausgabe**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**LaTeX-Ausgabe**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" @@ -556,11 +556,11 @@ msgstr "" "Dies öffnet ein pyglet-Fenster mit dem in LaTeX gerenderten Ausdruck, wenn " "pyglet installiert ist:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Hinweise" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -568,7 +568,7 @@ msgstr "" "``isympy`` ruft ``pprint`` automatisch auf -- deswegen sind die Ausgaben " "standardmäßig hübsch." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -576,45 +576,45 @@ msgstr "" "Es ist gibt auch ein Ausgabemodul ``sympy.printing``. Andere " "Ausgabemethoden, die durch dieses Modul erreichbar sind:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " "second level of representation described above." msgstr "" -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" msgstr "" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." msgstr "" -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " "`_ program is required." msgstr "" -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Weitere Dokumentation" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"Nun ist Zeit, mehr über SymPy zu lernen. Lies den `SymPy User's Guide " -"<../guide.html>`_ und die `SymPy Modules Reference <../modules/index.html>`_." +"Nun ist Zeit, mehr über SymPy zu lernen. Lies den `SymPy User's Guide <../" +"guide.html>`_ und die `SymPy Modules Reference <../modules/index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "" "Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we " @@ -624,10 +624,10 @@ msgstr "" "enthält einen Haufen nützlicher Beispiele und Anleitungen von uns und " "unseren Nutzern. (Fühle dich frei, dazu beizutragen und Dinge zu verändern!)" -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "" diff --git a/doc/src/tutorial/tutorial.fr.po b/doc/src/tutorial/tutorial.fr.po index 1d4bf505c630..0cd15686786d 100644 --- a/doc/src/tutorial/tutorial.fr.po +++ b/doc/src/tutorial/tutorial.fr.po @@ -3,13 +3,12 @@ # This file is distributed under the same license as the SymPy package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" -"PO-Revision-Date: 2012-08-14 16:13\n" +"POT-Creation-Date: 2012-12-10 15:09\n" +"PO-Revision-Date: 2012-12-10 15:32\n" "Last-Translator: Julien Rioux \n" "Language-Team: \n" "Language: French\n" @@ -42,20 +41,21 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Ce tutoriel donne un aperçu et une introduction à SymPy. Lisez-le pour vous " "faire une idée de ce que SymPy peut faire pour vous (et comment). Pour en " -"savoir plus, consultez également le `SymPy User's Guide <../guide.html>`_, la " -"`SymPy Modules Reference <../modules/index.html>`_, ou le `code source `_ directement." +"savoir plus, consultez également le `SymPy User's Guide <../guide.html>`_, " +"la `SymPy Modules Reference <../modules/index.html>`_, ou le `code source " +"`_ directement." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Premiers pas avec SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -64,15 +64,15 @@ msgstr "" "code.google.com/p/sympy/ et de télécharger la dernière archive des " "Téléchargements Recommandés (\"Featured Downloads\" en anglais)." -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Décompressez-la :" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "et essayez-la dans un interpréteur Python :" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -85,19 +85,20 @@ msgstr "" "autre module Python, ou simplement installer un paquet dans votre " "distribution Linux préférée, par exemple :" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" -"Pour d'autres moyens d'installer SymPy, consultez l'onglet Téléchargements " -"(\"Downloads_\" en anglais) sur la page web de SymPy." +"Pour d'autres moyens d'installer SymPy, consultez `Download and " +"Installation (en anglais) `_ " +"sur le site wiki de SymPy." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "La console isympy" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "" "For experimenting with new features, or when figuring out how to do things, " "you can use our special wrapper around IPython called ``isympy`` (located in " @@ -112,7 +113,7 @@ msgstr "" "lance un shell Python standard qui importe les modules SymPy les plus " "courants, les symboles définis x, y, z et d'autres choses à l'avance :" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -121,27 +122,27 @@ msgstr "" "3 lignes dans un interpréteur Python habituel peut être fait en une ligne " "avec isympy." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "Utiliser SymPy comme une calculatrice" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "" "SymPy possède trois types numériques natifs : Float (Flottant), Rational " "(Rationnel) et Integer (Entier)." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "La classe Rational représente un nombre rationnel en tant que paire de deux " -"Integers : le numérateur et le dénominateur. Donc Rational(1,2) représente " -"1/2, Rational(5,2) représente 5/2, et ainsi de suite." +"Integers : le numérateur et le dénominateur. Donc Rational(1, 2) représente " +"1/2, Rational(5, 2) représente 5/2, et ainsi de suite." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -156,7 +157,7 @@ msgstr "" "standard sous Python 3 et le comportement par défaut de ``isympy`` qui " "importe l'opération division du module __future__ :" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -164,7 +165,7 @@ msgstr "" "Cependant, dans les versions antérieures à Python 3, l'opération division " "résulte par défaut en une divison euclidienne et entraînera :" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -177,34 +178,34 @@ msgstr "" "garde à utiliser Rational pour obtenir le résultat en terme d'objets SymPy. " "On pourrait trouver pratique d'assigner Rational à ``R`` :" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "SymPy offre également quelques constantes spéciales, comme e et pi, qui sont " -"traitées comme des symboles (1+pi ne sera pas évalué sous forme numérique, " -"mais restera plutôt sous la forme 1+pi), et qui ont une précision " +"traitées comme des symboles (1 + pi ne sera pas évalué sous forme numérique, " +"mais restera plutôt sous la forme 1 + pi), et qui ont une précision " "arbitraire :" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "" "Comme vous le voyez, evalf convertit l'expression en un nombre à virgule " "flottante." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "" "Le symbole ``oo`` est utilisé pour une classe définissant l'infini " "mathématique :" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Symboles" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -212,7 +213,7 @@ msgstr "" "Contrairement à d'autres systèmes de calcul formel, SymPy vous oblige à " "déclarer les variables symboliques explicitement :" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "" "On the left is the normal Python variable which has been assigned to the " "SymPy Symbol class. Predefined symbols (including those for symbols with " @@ -222,7 +223,7 @@ msgstr "" "instance de la classe Symbol de SymPy. Certains symboles prédefinis (dont " "les symboles portant un nom grec) sont disponibles après importation :" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " @@ -234,7 +235,7 @@ msgstr "" "déclarer, la variante ``var`` ajoutant également les symboles à la liste de " "noms courante (namespace) :" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "" "Instances of the Symbol class \"play well together\" and are the building " "blocks of expresions:" @@ -242,7 +243,7 @@ msgstr "" "Les instances de la classe Symbol travaillent ensemble et sont les " "fondements nécessaires pour construire des expressions :" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -250,11 +251,11 @@ msgstr "" "Elles peuvent être remplacées par d'autres nombres, symboles ou expressions " "grâce à l'utilisation de ``subs(old, new)`` :" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "Pour le reste du tutoriel, il est présumé que nous avons exécuté :" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " @@ -265,29 +266,29 @@ msgstr "" "Si vous avez une police unicode installée, vous pouvez passer " "use_unicode=True pour un affichage un peu plus agréable." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Algèbre" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "" "Pour la décomposition en éléments simples des fractions, utilisez ``apart" "(expr, x)`` :" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "Pour remettre tout ensemble, utilisez ``together(expr, x)`` :" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Calcul" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Limites" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " "variable, point)``, so to compute the limit of f(x) as x -> 0, you would " @@ -297,11 +298,11 @@ msgstr "" "``limit(function, variable, point)``, donc pour calculer la limite de f(x) " "pour x tendant vers 0, il suffit d'entrer ``limit(f, x, 0)`` :" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "Vous pouvez aussi calculer la limite tendant vers l'infini :" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Dérivation" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -323,34 +324,34 @@ msgstr "" "Vous pouvez dériver n'importe quelle expression SymPy en utilisant ``diff" "(func, var)``. Exemples :" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "Vous pouvez vérifier que c'est correct avec :" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" "Des dérivées d'ordre supérieur peuvent être calculées en utilisant la " "méthode ``diff(func, var, n)`` :" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Développement en série" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Utilisez ``.series(var, point, order)`` :" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Un autre exemple simple :" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "Sommes" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." @@ -358,7 +359,7 @@ msgstr "" "Calcule la somme de f indexée sur la variable muette donnée entre les " "limites données." -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," @@ -366,7 +367,7 @@ msgstr "" "summation(f, (i, a, b)) calcule la somme de f sur la variable muette i entre " "les limites a et b, c'est-à-dire :" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" @@ -375,11 +376,11 @@ msgstr "" "est imprimée. Les sommes répétées peuvent être calculées en introduisant des " "limites additionnelles." -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Intégration" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -391,27 +392,27 @@ msgstr "" "Risch-Norman étendu et quelques heuristiques ainsi que le filtrage par " "motif :" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Vous pouvez intégrer des fonctions élémentaires :" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Les fonctions spéciales sont aussi facilement gérées :" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "Il est possible de calculer l'intégrale définie :" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "Les intégrales impropres sont aussi supportées :" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Nombres complexes" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " @@ -421,69 +422,69 @@ msgstr "" "créés avec certains attributs (par exemple réel, positif, complexe, etc.) " "affectant leur comportement :" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Fonctions" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**trigonométrie**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**harmoniques sphériques**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**factorielles et fonction gamma**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**fonction zeta**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**polynômes**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Équations différentielles" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "Dans ``isympy`` :" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Équations algébriques" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Algèbre linéaire" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Matrices" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Les matrices sont créées en instanciant la classe Matrix :" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "Elles peuvent aussi contenir des symboles :" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "Pour plus d'informations et d'exemples avec les Matrices, voyez le Tutoriel " "Algèbre Linéaire." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Filtrage par motif" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -493,11 +494,11 @@ msgstr "" "effectuer un filtrage par motif sur des expressions. La méthode renvoit un " "dictionnaire avec les substitutions requises, comme suit :" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Si le filtrage est infructueux, ``None`` est renvoyé :" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -505,33 +506,33 @@ msgstr "" "On peut aussi utiliser le paramètre ``exclude`` de la classe ``Wild`` pour " "s'assurer que certaines choses ne figurent pas dans le résultat :" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Affichage" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "Les expressions peuvent être affichées de plusieures façons." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Affichage standard**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "C'est ce que ``str(expression)`` renvoit et ça ressemble à ça :" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Affichage amélioré**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "" "Ceci est un affichage amélioré en art ASCII produit par la fonction " "``pprint`` :" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " "default. You can override this using the ``use_unicode`` option.:" @@ -540,7 +541,7 @@ msgstr "" "par défaut. Vous pouvez outrepasser ce comportement en utilisant l'option " "``use_unicode`` :" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -549,30 +550,30 @@ msgstr "" "wiki/Pretty-Printing>`_ pour plus d'exemples concernant l'affichage amélioré " "et l'option unicode." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" msgstr "" "Astuce : pour activer l'affichage amélioré par défaut dans l'interpréteur " "Python, utilisez :" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Python**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**LaTeX**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" @@ -580,11 +581,11 @@ msgstr "" "Si pyglet est installé, une fenêtre pyglet apparaîtra avec l'expression " "rendue par LaTeX :" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Notes" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -592,7 +593,7 @@ msgstr "" "``isympy`` appelle ``pprint`` automatiquement, c'est donc pourquoi vous " "voyez un affichage amélioré par défaut." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -600,7 +601,7 @@ msgstr "" "Notez qu'il y a aussi un module d'affichage disponible, ``sympy.printing``. " "D'autres méthodes d'affichage disponibles dans ce module sont :" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -610,7 +611,7 @@ msgstr "" "affiche, respectivement, une représentation améliorée de ``expr``. C'est la " "même chose que le second niveau de représentation décrit ci-dessus." -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -618,7 +619,7 @@ msgstr "" "``latex(expr)``, ``print_latex(expr)``: Renvoit ou affiche, respectivement, " "une représentation `LaTeX `_ de ``expr``" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -627,7 +628,7 @@ msgstr "" "respectivement, une représentation `MathML `_ de " "``expr``." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -637,20 +638,20 @@ msgstr "" "unibo.it/mml-widget/>`_, un widget GTK qui affiche du code MathML. Le " "programme `Gtkmathview `_ est requis." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Documentation" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"Il est maintenant temps d'en apprendre plus sur SymPy. Consultez le " -"`SymPy User's Guide <../guide.html>`_ et la " -"`SymPy Modules Reference <../modules/index.html>`_." +"Il est maintenant temps d'en apprendre plus sur SymPy. Consultez le `SymPy " +"User's Guide <../guide.html>`_ et la `SymPy Modules Reference <../modules/" +"index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "" "Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we " @@ -661,10 +662,10 @@ msgstr "" "livres de recettes auxquels nous et nos utilisateurs ont contribué et que " "nous vous encourageons à modifier." -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "Traductions" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "Ce tutoriel est aussi disponible dans les langues suivantes :" diff --git a/doc/src/tutorial/tutorial.pl.po b/doc/src/tutorial/tutorial.pl.po index 3bc57fab1bc9..19b932dff7e5 100644 --- a/doc/src/tutorial/tutorial.pl.po +++ b/doc/src/tutorial/tutorial.pl.po @@ -3,12 +3,11 @@ # This file is distributed under the same license as the SymPy package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: 2012-08-15 10:51\n" "Last-Translator: Piotr Korgul \n" "Language-Team: \n" @@ -43,20 +42,21 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Ten tutorial przedstawia ogólny zarys i przegląd wybranych funkcji SymPy. " "Dzięki niemu dowiesz się, co SymPy może dla Ciebie zrobić (i jak). Jeśli " -"będziesz chciał dowiedzieć się więcej, przeczytaj `Przewodnik " -"użytkownika <../guide.html>`_, `Opis modułów <../modules/index.html>`_, lub też " +"będziesz chciał dowiedzieć się więcej, przeczytaj `Przewodnik użytkownika " +"<../guide.html>`_, `Opis modułów <../modules/index.html>`_, lub też " "bezpośrednio `źródła `_." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Pierwsze kroki z SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -64,15 +64,15 @@ msgstr "" "Żeby ściągnąć SymPy udaj się pod adres http://code.google.com/p/sympy/ i " "pobierz ostatniego tarballa z sekcji Featured Downloads:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Rozpakuj:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "i sprawdź pod interpreterem Pythona:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -85,19 +85,20 @@ msgstr "" "albo po prostu zainstalować odpowiednią paczkę w używanej przez siebie " "dystrybucji Linuksa, np.:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 +#, fuzzy msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" "Inne sposoby instalacji SymPy znajdziesz w karcie Downloads_ na stronie " "SymPy." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 #, fuzzy msgid "" "For experimenting with new features, or when figuring out how to do things, " @@ -113,7 +114,7 @@ msgstr "" "której zostały już zaimportowane stosowne moduły SymPy, zdefiniowane symbole " "x, y, z i kilka innych rzeczy:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -122,28 +123,28 @@ msgstr "" "w trzech linijkach w zwykłym interpreterze Pythona, może być zrobione w " "jednej linijce w isympy." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "SymPy jako kalkulator" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 #, fuzzy msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "" "SymPy posiada trzy wbudowane typy liczbowe: Float (zmiennoprzecinkowy), " "Rational (wymierny) i Integer (całkowity)." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Klasa Rational reprezentuje liczbę wymierną jako parę dwóch liczb " -"całkowitych - licznik i mianownik. Rational(1,2) reprezentuje więc 1/2, " -"Rational(5,2) reprezentuje 5/2 itd." +"całkowitych - licznik i mianownik. Rational(1, 2) reprezentuje więc 1/2, " +"Rational(5, 2) reprezentuje 5/2 itd." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -159,7 +160,7 @@ msgstr "" "\" z Pythona 3 i domyślne zachowanie ``isympy``, który importuje dzielenie z " "__future__:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -167,7 +168,7 @@ msgstr "" "We wcześniejszych wersjach Pythona, gdzie takie dzielenie nie było " "zaimportowane, wynik był ucinany do liczby całkowitej:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -181,33 +182,33 @@ msgstr "" "obsługiwany przez SymPy. Dla wygody możesz na przykład przyrównać ``R`` i " "Rational:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "Możemy skorzystać też z kilku specjalnych stałych, takich jak e czy pi. Są " -"one traktowane jako symbole (np. w przypadku 1+pi nie zostanie obliczona " -"przybliżona wartość tego wyrażenia, lecz pozostanie ono jako 1+pi), i mają " +"one traktowane jako symbole (np. w przypadku 1 + pi nie zostanie obliczona " +"przybliżona wartość tego wyrażenia, lecz pozostanie ono jako 1 + pi), i mają " "arbitralną precyzję:" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "" "Jak widzisz, evalf wylicza wartość wyrażenia jako liczbę zmiennoprzecinkową." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "" "Symbol ``oo`` jest używany jako klasa definiująca matematyczną " "nieskończoność:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Symbole" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -215,7 +216,7 @@ msgstr "" "W przeciwieństwie do innych systemów algebry komputerowej (CAS), w SymPy sam " "musisz zadeklarować zmienne symboliczne:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 #, fuzzy msgid "" "On the left is the normal Python variable which has been assigned to the " @@ -226,14 +227,14 @@ msgstr "" "Symbol z SymPy. Obiekty klasy Symbol \"dobrze ze sobą współgrają\" i mogą " "budować całe bloki wyrażeń:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " "accepting a range notation:" msgstr "" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 #, fuzzy msgid "" "Instances of the Symbol class \"play well together\" and are the building " @@ -243,7 +244,7 @@ msgstr "" "Symbol z SymPy. Obiekty klasy Symbol \"dobrze ze sobą współgrają\" i mogą " "budować całe bloki wyrażeń:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -251,13 +252,13 @@ msgstr "" "Można podstawiać w ich miejsce inne symbole i liczby używając ``subs(stary, " "nowy)``:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "" "W pozostałej części tutoriala zakładamy, że wykonaliśmy następujące " "polecenie:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " @@ -268,27 +269,27 @@ msgstr "" "możesz zamienić use_unicode=False na use_unicode=True, dzięki czemu uzyskasz " "nieco ładniejsze wyjście." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Algebra" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "Żeby dokonać rozkładu na ułamki proste, użyj ``apart(wyrażenie, x)``:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "Aby wszystko znowu ze sobą połączyć, użyj ``together(wyrażenie, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Rachunek różniczkowy i całkowy" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Granice" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 #, fuzzy msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " @@ -299,11 +300,11 @@ msgstr "" "zmienna, punkt)``. A zatem, żeby wyznaczyć granicę funkcji f(x) przy x -> 0, " "należy wpisać ``limit(f, x, 0)``:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "Można również obliczyć granicę w nieskończoności:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Różniczkowanie" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -325,56 +326,56 @@ msgstr "" "Możesz różniczkować dowolne wyrażenie w SymPy używając ``diff(funkcja, " "zmienna)``. Przykłady:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "Możesz też sprawdzić poprawność:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" "Pochodne wyższych rzędów mogą być obliczone przy użyciu ``diff(funkcja, " "zmienna, n)``:" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Rozwinięcie w szereg" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Użyj ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Inny prosty przykład:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Całkowanie" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -385,99 +386,99 @@ msgstr "" "poprzez ``integrate()``. Używany jest do tego rozszerzony algorytm Rischa-" "Normana, kilka heurystyk i wyszukiwanie wzorca:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Możesz całkować podstawowe funkcje:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Bardziej skomplikowane funkcje również są obsługiwane:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 #, fuzzy msgid "It is possible to compute definite integrals:" msgstr "Można obliczyć całkę oznaczoną:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 #, fuzzy msgid "Also, improper integrals are supported as well:" msgstr "Także całki niewłaściwe są obsługiwane:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Liczby zespolone" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " "how they behave:" msgstr "" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Funkcje" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**trygonometria**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**harmoniki sferyczne**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**silnia i funkcja gamma**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**funkcja zeta**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**wielomiany**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Równania różniczkowe" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "W ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Równania algebraiczne" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Algebra liniowa" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Macierze" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Macierze są tworzone jako obiekty klasy Matrix:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 #, fuzzy msgid "They can also contain symbols:" msgstr "Możesz wpisać w nie także symbole:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 #, fuzzy msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "Więcej informacji i przykładów macierzy znajdziesz w LinearAlgebraTutorial." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Wyszukiwanie wzorca" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -487,12 +488,12 @@ msgstr "" "(porównać wyrażenia). Metoda ta zwróci zbiór odpowiadających sobie " "współczynników:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "" "Jeśli wyszukiwanie zakończyło się niepowodzeniem, zwracane jest ``None``:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -500,34 +501,34 @@ msgstr "" "Można również użyć parametru wykluczania (exclude) klasy ``Wild``, by " "zagwarantować, że w wyniku nie zostaną pokazane niektóre rzeczy:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Wyświetlanie" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 #, fuzzy msgid "There are many ways to print expressions." msgstr "Wyrażenia mogą być wyświetlane na wiele sposobów." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Standardowe**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "Jest to to, co zwraca ``str(wyrażenie)`` i wygląda tak:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Ładne wyświetlanie**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 #, fuzzy msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "" "Jest to wyświetlanie oparte na ascii-arcie. Zapewnia je funkcja ``pprint``:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 #, fuzzy msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " @@ -537,7 +538,7 @@ msgstr "" "ładne wyświetlanie w unicode. Możesz włączyć lub wyłączyć tę funkcję " "używając opcji ``use_unicode``:" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -546,7 +547,7 @@ msgstr "" "Pretty-Printing>`_, gdzie znajdziesz więcej przykładów ładnego wyświetlania " "w unicode." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 #, fuzzy msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" @@ -554,34 +555,34 @@ msgstr "" "Wskazówka: Aby ustawić ładne wyświetlanie w interpreterze Pythona jako " "domyśle, skorzystaj z:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Wyświetlanie w Pythonie**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**Wyświetlanie w LaTeX-u**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 #, fuzzy msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" msgstr "Pojawi się okienko Pygleta z wyrenderowanym wyrażeniem LaTeX-a:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Uwagi" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -589,7 +590,7 @@ msgstr "" "``isympy`` wywołuje ``pprint`` automatycznie, dlatego domyślnie jest tam " "używane ładne wyświetlanie." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -597,7 +598,7 @@ msgstr "" "Warto zauważyć, że jest dostępny także moduł wyświetlania, ``sympy." "printing``. Dzięki niemu można skorzystać z innych sposobów wyświetlania:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -607,7 +608,7 @@ msgstr "" "zwraca lub wyświetla ładną reprezentację wyrażenia ``expr``. Jest to to " "samo, co drugi sposób wyświetlania opisany powyżej." -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -616,7 +617,7 @@ msgstr "" "reprezentację wyrażenia ``expr`` w `LaTeX `_-" "u." -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -624,7 +625,7 @@ msgstr "" "``mathml(expr)``, ``print_mathml(expr)``: odpowiednio zwraca lub wyświetla " "reprezentację wyrażenia ``expr`` w `MathML `_-u." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -634,19 +635,20 @@ msgstr "" "cs.unibo.it/mml-widget/>`_, czyli widgetu GTK, który wyświetla kod MathML. " "Wymagany jest program `Gtkmathview `_." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Dalsza dokumentacja" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" "Teraz nadszedł czas, by dowiedzieć się więcej na temat SymPy. Przejdź do " -"`Przewodniku użytkownika <../guide.html>`_ oraz `Opisu modułów SymPy <../modules/index.html>`_." +"`Przewodniku użytkownika <../guide.html>`_ oraz `Opisu modułów SymPy <../" +"modules/index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 #, fuzzy msgid "" "Be sure to also browse our public `wiki.sympy.org \n" "Language-Team: \n" @@ -40,21 +40,22 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Данное руководство представляет из себя введение в SymPy. В нем вы узнаете " "об основных возможностях SymPy и каким образом использовать эту программу. " "Если же вы желаете прочитать более подробное руководство, то обратитесь к " "`Руководству пользователя SymPy <../guide.html>`_, `Описанию модулей SymPy " -"<../modules/index.html>`_. Можно также обратиться и к `исходному коду `_ библиотеки." +"<../modules/index.html>`_, Можно также обратиться и к `исходному коду " +"`_ библиотеки." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Первые шаги с SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -62,17 +63,17 @@ msgstr "" "Скачать SymPy проще всего с http://code.google.com/p/sympy/. В разделе " "Featured, Downloads нужно найти и загрузить последнюю версию дистрибутива:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "" "Для Windows-систем, нужно скачать и запустить установочный .exe файл. В " "POSIX-совместимых системах нужно скачать .tar.gz файл и распаковать его:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "и запустить из интерпретатора Python:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -85,19 +86,20 @@ msgstr "" "команду ./setup.py install. Или, если вы работаете в Linux, можно установить " "пакет ``python-sympy`` с помощью системы установки программ:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 +#, fuzzy msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" "Другие способы установки SymPy описаны в разделе Downloads_ на домашней " "странице SymPy." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "Консоль isympy" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "" "For experimenting with new features, or when figuring out how to do things, " "you can use our special wrapper around IPython called ``isympy`` (located in " @@ -111,7 +113,7 @@ msgstr "" "для обучения SymPy. Она использует стандартный терминал IPython, но с уже " "включенными в нее важными модулями SymPy и определенными переменными x, y, z:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -121,26 +123,26 @@ msgstr "" "isympy. Кроме того программа поддерживает различные способы отображения " "результатов, в том числе графические." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "Использование SymPy в качестве калькулятора" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "" "SymPy поддерживает три типа численных данных: Float, Rational и Integer." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Rational представляет собой обыкновенную дробь, которая задается с помощью " -"двух целых чисел: числителя и знаменателя. Например, Rational(1,2) " -"представляет дробь 1/2, Rational(5,2) представляет дробь 5/2, и так далее." +"двух целых чисел: числителя и знаменателя. Например, Rational(1, 2) " +"представляет дробь 1/2, Rational(5, 2) представляет дробь 5/2, и так далее." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -155,7 +157,7 @@ msgstr "" "division\", и в результате получается питоновский тип float.И этот же " "стандарт \"true division\" по умолчанию включен и в isympy:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -163,7 +165,7 @@ msgstr "" "В более ранних версиях Python этого не получится, и результатом будет " "целочисленное деление:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -178,17 +180,17 @@ msgstr "" "что вы используете класс Rational. Кому-то может показаться удобным " "обозначать Rational как ``R``:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "В модуле Sympy имеются особые константы, такие как e и pi, которые ведут " -"себя как переменные (то есть выражение 1+pi не преобразуется сразу в число, " -"а так и останется 1+pi):" +"себя как переменные (то есть выражение 1 + pi не преобразуется сразу в число, " +"а так и останется 1 + pi):" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "" "как вы видите, функция evalf переводит исходное выражение в число с " @@ -196,16 +198,15 @@ msgstr "" "нужно передать в качестве аргумента этой функции требуемое число десятичных " "знаков." -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" -msgstr "" -"Для работы с математической бесконечностью используется символ ``oo``:" +msgstr "Для работы с математической бесконечностью используется символ ``oo``:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Переменные" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -213,7 +214,7 @@ msgstr "" "В отличие от многих других систем компьютерной алгебры, вам нужно явно " "декларировать символьные переменные:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "" "On the left is the normal Python variable which has been assigned to the " "SymPy Symbol class. Predefined symbols (including those for symbols with " @@ -222,7 +223,7 @@ msgstr "" "В левой части этого выражения находится переменная Python, которая " "питоновским присваиванием соотносится с объектом класса Symbol из SymPy." -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " @@ -232,7 +233,7 @@ msgstr "" "или ``var``. Они допускают указание диапазона. Их отличие состоит в том, что " "``var`` добавляет созданные переменные в текущее пространство имен:" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "" "Instances of the Symbol class \"play well together\" and are the building " "blocks of expresions:" @@ -240,7 +241,7 @@ msgstr "" "Экземпляры класса Symbol взаимодействуют друг с другом. Таким образом, с " "помощью них конструируются алгебраические выражения:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -248,49 +249,49 @@ msgstr "" "Переменные могут быть заменены на другие переменные, числа или выражения с " "помощью функции подстановки ``subs(old, new)``:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "" "Теперь, с этого момента, для всех написанных ниже примеров мы будем " "предполагать, что запустили следующую команду по настройке системы " "отображения результатов:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " "use_unicode=True for a slightly nicer output." msgstr "" "Она придаст более качественное отображение выражений. Подробнее по системе " -"отображения и печати написано в разделе :ref:`printing-tutorial`. Если же " -"у вас установлен шрифт с юникодом, вы можете использовать опцию " +"отображения и печати написано в разделе :ref:`printing-tutorial`. Если же у " +"вас установлен шрифт с юникодом, вы можете использовать опцию " "use_unicode=True для еще более красивого вывода." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Алгебра" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "" "Чтобы разложить выражение на простейшие дроби используется функция ``apart" "(expr, x)``:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "" "Чтобы снова привести дробь к общему знаменателю используется функция " "``together(expr, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Вычисления" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Пределы" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " "variable, point)``, so to compute the limit of f(x) as x -> 0, you would " @@ -300,11 +301,11 @@ msgstr "" "используйте функцию ``limit(function, variable, point)``. Например, чтобы " "вычислить предел f(x) при x -> 0, вам нужно ввести ``limit(f, x, 0)``:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "также вы можете вычислять пределы при x, стремящемся к бесконечности:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_ " -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Дифференцирование" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" @@ -326,58 +327,57 @@ msgstr "" "Продифференцировать любое выражение SymPy, можно используя ``diff(func, var)" "``. Примеры:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "" "Можно, кстати, через пределы проверить правильность вычислений производной:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" msgstr "" "Производные более высших порядков можно вычислить, используя дополнительный " "параметр этой же функции ``diff(func, var, n)``:" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Разложение в ряд" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" -msgstr "" -"Для разложения в ряд используйте метод ``.series(var, point, order)``:" +msgstr "Для разложения в ряд используйте метод ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Еще один простой пример:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Интегрирование" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -389,27 +389,27 @@ msgstr "" "Нормана и некоторые шаблоны и эвристики. Можно вычислять интегралы " "трансцендентных, простых и специальных функций:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Вы можете интегрировать простейшие функции:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Примеры интегрирования некоторых специальных функций:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "Возможно также вычислить определенный интеграл:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "Поддерживаются и несобственные интегралы:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Комплексные числа" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " @@ -419,69 +419,69 @@ msgstr "" "иметь специальные атрибуты (real, positive, complex и т.д), которые " "определяют поведение этих символов при вычислении символьных выражений:" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Функции" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**тригонометрические**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**сферические**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**факториалы и гамма-функции**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**дзета-функции**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**многочлены**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Дифференциальные уравнения" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "В ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Алгебраические уравнения" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Линейная алгебра" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Матрицы" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Матрицы задаются с помощью конструктора Matrix:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "В матрицах вы также можете использовать символьные переменные:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "Для того, чтобы узнать о матрицах подробнее, прочитайте, пожалуйста, " "Руководство по Линейной Алгебре." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Сопоставление с образцом" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -491,11 +491,11 @@ msgstr "" "вместе со вспомогательным классом ``Wild``. Эта функция вернет словарь с " "необходимыми заменами, например:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Если же сопоставление не удалось, функция вернет``None``:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -503,35 +503,35 @@ msgstr "" "Также можно использовать параметр exclude для исключения некоторых значений " "из результата:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Печать" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "Реализовано несколько способов вывода выражений на экран." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Стандартный**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "" "Стандартный способ представлен функцией ``str(expression)``, которая " "работает следующим образом:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Красивая печать**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "" "Этот способ печати выражений основан на ascii-графике и реализован через " "функцию ``pprint``:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " "default. You can override this using the ``use_unicode`` option.:" @@ -540,7 +540,7 @@ msgstr "" "юникодом по умолчанию. Эту настройку можно отключить, используя " "``use_unicode``:" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -549,40 +549,40 @@ msgstr "" "обратится к статье `Pretty Printing `_ из нашего Вики." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" msgstr "" "Совет: Чтобы активировать Pretty-print по умолчанию в интерпретаторе Python, " "используйте:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Печать объектов Python**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**Печать в формате LaTeX**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" msgstr "Появится окно pyglet с отрисованным выражением LaTeX:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Примечания" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -590,7 +590,7 @@ msgstr "" "``isympy`` вызывает ``pprint`` автоматически, по этой причине Pretty-print " "будет включен в ``isympy`` по умолчанию." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -598,7 +598,7 @@ msgstr "" "Также доступен модуль печати - ``sympy.printing``. Через этот модуль " "доступны следующий функции печати:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -608,7 +608,7 @@ msgstr "" "выводит на экран, соответственно, \"Красивое\" представление выражения " "``expr``. " -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -617,7 +617,7 @@ msgstr "" "соответственно, `LaTeX `_ -представление " "``expr``" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -625,7 +625,7 @@ msgstr "" "``mathml(expr)``, ``print_mathml(expr)``: Возвращает или выводит на экран, " "соответственно, `MathML `_ -представление ``expr``." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -635,19 +635,19 @@ msgstr "" "mml-widget/>`_, виджет GTK, который отображает код MathML. Необходимо " "наличие пакета `Gtkmathview `_ ." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Другие справочники" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"Чтобы узнать о SymPy подробнее, обратитесь `Руководство пользователя " -"SymPy <../guide.html>`_ и `Описание модулей SymPy <../modules/index.html>`_." +"Чтобы узнать о SymPy подробнее, обратитесь `Руководство пользователя SymPy " +"<../guide.html>`_ и `Описание модулей SymPy <../modules/index.html>`_." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "" "Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we " @@ -658,10 +658,10 @@ msgstr "" "созданны нами и нашим сообществом. Мы будем рады, если и вы внесете в него " "свой весомый вклад." -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "Переводы" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "Этот текст доступен на других языках:" diff --git a/doc/src/tutorial/tutorial.sr.po b/doc/src/tutorial/tutorial.sr.po index 26960fcd4f94..448380eaaa99 100644 --- a/doc/src/tutorial/tutorial.sr.po +++ b/doc/src/tutorial/tutorial.sr.po @@ -3,12 +3,11 @@ # This file is distributed under the same license as the SymPy package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: 2012-08-15 11:00\n" "Last-Translator: Ljubiša Moćić <3rdslasher@gmail.com>\n" "Language-Team: \n" @@ -42,20 +41,21 @@ msgstr "" msgid "" "This tutorial gives an overview and introduction to SymPy. Read this to have " "an idea what SymPy can do for you (and how) and if you want to know more, " -"read the :ref:`SymPy User's Guide `, :ref:`SymPy Modules Reference " -"`. or the `sources `_ directly." +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" "Овај туторијал даје вам преглед и увод у SymPy. Прочитајте га да бисте имали " "идеју шта SymPy можете урадити (и како) а ако хоћете да сазнате више, " "прочитајте `SymPy кориснички водич <../guide.html>`_, `SymPy референтни " -"модул <../modules/index.html>`_. или `изворни код `_ " -"директно." +"модул <../modules/index.html>`_, или `изворни код `_ директно." -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "Први кораци" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" "The easiest way to download it is to go to http://code.google.com/p/sympy/ " "and download the latest tarball from the Featured Downloads:" @@ -63,15 +63,15 @@ msgstr "" "Најлакши начин да се преузме је да одете на http://code.google.com/p/sympy/ " "и преузмeте последњу архиву из истакнутих преузимања:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "Отпакујте:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "и покушајте из Python интерпретера:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" "You can use SymPy as shown above and this is indeed the recommended way if " "you use it in your program. You can also install it using ``./setup.py " @@ -83,19 +83,20 @@ msgstr "" "setup.py install`` као и сваки други Python модул, или само инсталирати " "пакет ваше Линукс дистрибуције:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 +#, fuzzy msgid "" -"For other means how to install SymPy, consult the Downloads_ tab on the " -"SymPy's webpage." +"For other means how to install SymPy, consult the wiki page `Download and " +"Installation `_." msgstr "" "За остале начине инсталирања SymPy констултујте Downloads_ таб на SymPy " "страници." -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy конзола" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 #, fuzzy msgid "" "For experimenting with new features, or when figuring out how to do things, " @@ -110,7 +111,7 @@ msgstr "" "стандардна Python љуска коју су већ увежени SymPy модули, симболи x, y, z и " "друго:" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" "Commands entered by you are bold. Thus what we did in 3 lines in a regular " "Python interpreter can be done in 1 line in isympy." @@ -118,26 +119,26 @@ msgstr "" "Команде су подебљане. То што смо урадили са 3 линије у регуларном Python " "интерпретеру може бити урађено у једној линији у isympy." -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "SymPy као дигитрон" -#: tutorial.en.rst:126 +#: tutorial.en.rst:122 #, fuzzy msgid "SymPy has three built-in numeric types: Float, Rational and Integer." msgstr "SymPy има три уграђена типа бројева: променљиви, рационални и цели." -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" "The Rational class represents a rational number as a pair of two Integers: " -"the numerator and the denominator. So Rational(1,2) represents 1/2, Rational" -"(5,2) represents 5/2, and so on." +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" "Класа \"Rational\" представља рацоинални број као пар од два цела, именилац " -"и садржилац, тако да рационални број Rational(1,2) представаља 1/2, Rational" -"(5,2) представља 5/2 и тако даље." +"и садржилац, тако да рационални број Rational(1, 2) представаља 1/2, Rational" +"(5, 2) представља 5/2 и тако даље." -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" "Proceed with caution while working with Python int's and floating point " "numbers, especially in division, since you may create a Python number, not a " @@ -151,7 +152,7 @@ msgstr "" "стандардно за Python 3 у подразумевано понашање ``isympy`` који увози дељење " "из __future__:" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" "But in earlier Python versions where division has not been imported, a " "truncated int will result:" @@ -159,7 +160,7 @@ msgstr "" "Али у ранијим Python верзијама где дељење није увежено, скраћени цели број " "ће бити резултат:" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" "In both cases, however, you are not dealing with a SymPy Number because " "Python created its own number. Most of the time you will probably be working " @@ -171,29 +172,29 @@ msgstr "" "бројевима, тако да будите сигурни да користите рационалне бројеве да бисте " "добили SymPy резултат. Могло би бити згодно изједначити ``R`` и Rational:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" "We also have some special constants, like e and pi, that are treated as " -"symbols (1+pi won't evaluate to something numeric, rather it will remain as " -"1+pi), and have arbitrary precision:" +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" "Такође имамо неке специјалне константе као e и pi, који се третирају као " -"симболи (1+pi неће прерачунати у нумерчку форму, већ ће остати као 1+pi), " +"симболи (1 + pi неће прерачунати у нумерчку форму, већ ће остати као 1 + pi), " "могу имати произвољну прецизност:" -#: tutorial.en.rst:197 +#: tutorial.en.rst:193 msgid "as you see, evalf evaluates the expression to a floating-point number" msgstr "као што видите, evalf рачуна израз у реалан број" -#: tutorial.en.rst:199 +#: tutorial.en.rst:195 msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" msgstr "Симбол ``oo`` представља бесконачно:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "Симболи" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" "In contrast to other Computer Algebra Systems, in SymPy you have to declare " "symbolic variables explicitly:" @@ -201,7 +202,7 @@ msgstr "" "За разлику од осталих компјутерских алгебарских система, у SymPy ви морате " "да декларишете симболичке променљиве експлицитно:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 #, fuzzy msgid "" "On the left is the normal Python variable which has been assigned to the " @@ -211,14 +212,14 @@ msgstr "" "На левој страни је нормална Python променљива која је додељена SymPy Symbol " "класи. Инстанце класе Symbol се \"добро слажу\" и чине основу израза:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" "Symbols can also be created with the ``symbols`` or ``var`` functions, the " "latter automatically adding the created symbols to the namespace, and both " "accepting a range notation:" msgstr "" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 #, fuzzy msgid "" "Instances of the Symbol class \"play well together\" and are the building " @@ -227,7 +228,7 @@ msgstr "" "На левој страни је нормална Python променљива која је додељена SymPy Symbol " "класи. Инстанце класе Symbol се \"добро слажу\" и чине основу израза:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" "They can be substituted with other numbers, symbols or expressions using " "``subs(old, new)``:" @@ -235,11 +236,11 @@ msgstr "" "Они могу бити замењени са другим бројевима, симболима или изразима користећи " "команду ``subs(old, new)``:" -#: tutorial.en.rst:266 +#: tutorial.en.rst:262 msgid "For the remainder of the tutorial, we assume that we have run:" msgstr "За остатак овог туторијала, претпостављамо да смо извршили:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" "This will make things look better when printed. See the :ref:`printing-" "tutorial` section below. If you have a unicode font installed, you can pass " @@ -249,27 +250,27 @@ msgstr "" "секцију. Ако имате неки уникод фонт инсталиран, можете користити " "use_unicode=True за много лепше резултате." -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "Алгебра" -#: tutorial.en.rst:280 +#: tutorial.en.rst:276 msgid "For partial fraction decomposition, use ``apart(expr, x)``:" msgstr "За делимични разломак, користите ``apart(expr, x)``:" -#: tutorial.en.rst:307 +#: tutorial.en.rst:303 msgid "To combine things back together, use ``together(expr, x)``:" msgstr "Да бисте комбиновали ствари заједно, користите ``together(expr, x)``:" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "Математичка анализа" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "Лимити" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 #, fuzzy msgid "" "Limits are easy to use in SymPy, they follow the syntax ``limit(function, " @@ -280,11 +281,11 @@ msgstr "" "point)``, тако да би израчунали лимит од f(x) када x тежи нули, ви би издали " "``limit(f, x, 0)``:" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "Можете такође израчунати у бесконачности:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" "for some non-trivial examples on limits, you can read the test file " "`test_demidovich.py `_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "Изводи" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" "You can differentiate any SymPy expression using ``diff(func, var)``. " "Examples:" msgstr "" -"Можете израчунати извод сваког израза користећи ``diff(func, var)``. " -"Примери:" +"Можете израчунати извод сваког израза користећи ``diff(func, var)``. Примери:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "можете проверити да ли је то тачно са:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" -msgstr "" -"Виши изводи се могу израчунати користећи метод ``diff(func, var, n)``:" +msgstr "Виши изводи се могу израчунати користећи метод ``diff(func, var, n)``:" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "Развој редова" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "Користите ``.series(var, point, order)``:" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "Још један једноставан пример:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" "Compute the summation of f with respect to the given summation variable over " "the given limits." msgstr "" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" "summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " "i.e.," msgstr "" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" "If it cannot compute the sum, it prints the corresponding summation formula. " "Repeated sums can be computed by introducing additional limits:" msgstr "" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "Интеграција" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" "SymPy has support for indefinite and definite integration of transcendental " "elementary and special functions via ``integrate()`` facility, which uses " @@ -366,99 +365,99 @@ msgstr "" "користи моћни проширени Risch-Norman алгоритам и неке хеуристике и обрасце " "поклапања:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "Можете интегрирати елементарне функције:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "Можете користити и разне специјалне функције:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 #, fuzzy msgid "It is possible to compute definite integrals:" msgstr "Могуће је израчунати одређени интеграл:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 #, fuzzy msgid "Also, improper integrals are supported as well:" msgstr "Такође су подржани неправилни интеграли:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "Комплексни бројеви" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" "Besides the imaginary unit, I, which is imaginary, symbols can be created " "with attributes (e.g. real, positive, complex, etc...) and this will affect " "how they behave:" msgstr "" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "Функције" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "**тригонометријске**" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "**сферне хармонике**" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "**Факторијали и гама функције**" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "**Зета функције**" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "**Полиноми**" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "Диференцијални рачун" -#: tutorial.en.rst:767 tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "Користећи ``isympy``:" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "Алгебарска рачун" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "Линеарна алгебра" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "Матрице" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "Матрице се праве као инстанце класе Matrix:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 #, fuzzy msgid "They can also contain symbols:" msgstr "можете такође ставити симболе:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 #, fuzzy msgid "For more about Matrices, see the Linear Algebra tutorial." msgstr "" "За више информација и примера са матрицама, погледајте LinearAlgebraTutorial." -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "Поклапање образаца" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" "Use the ``.match()`` method, along with the ``Wild`` class, to perform " "pattern matching on expressions. The method will return a dictionary with " @@ -468,11 +467,11 @@ msgstr "" "одговарајуће на изразе. Овај метод ће вратити речник (dictionary) са " "потребним изменама, као:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "Ако је претрага неуспешна, метода враћа ``None``:" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" "One can also use the exclude parameter of the ``Wild`` class to ensure that " "certain things do not show up in the result:" @@ -480,33 +479,33 @@ msgstr "" "Можете користити параметар exclude класе ``Wild`` да би били сигурни да се " "одређене ствари неће приказати у реѕултату:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "Штампање" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 #, fuzzy msgid "There are many ways to print expressions." msgstr "Постоји више начина како изрази могу бити одштампани." -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "**Стандардно**" -#: tutorial.en.rst:890 +#: tutorial.en.rst:886 msgid "This is what ``str(expression)`` returns and it looks like this:" msgstr "Ово је резултат методе ``str(expression)`` и изгледа као:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "**Лепше штампање**" -#: tutorial.en.rst:903 +#: tutorial.en.rst:899 #, fuzzy msgid "Nice ascii-art printing is produced by the ``pprint`` function:" msgstr "Ово је лепше ascii штампање направљено са функцијом ``pprint``:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 #, fuzzy msgid "" "If you have a unicode font installed, the ``pprint`` function will use it by " @@ -516,7 +515,7 @@ msgstr "" "подразумевано користити. Можете прескочити та подешавања користећи опцију " "``use_unicode`` :" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" "See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." @@ -524,7 +523,7 @@ msgstr "" "Погледајте и вики `Pretty Printing `_ за више примера лепог уникодног штампања." -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 #, fuzzy msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" @@ -532,34 +531,34 @@ msgstr "" "Савет: Да бисте направили лепо штампање подразумеваним у Python интерпретеру " "користите:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "**Python штампање**" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "**LaTeX штампање**" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "**MathML**" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "**Pyglet**" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 #, fuzzy msgid "" "If pyglet is installed, a pyglet window will open containing the LaTeX " "rendered expression:" msgstr "И отвориће се pyglet прозор са даним изразом у формату LaTeX:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "Белешке" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" "``isympy`` calls ``pprint`` automatically, so that's why you see pretty " "printing by default." @@ -567,7 +566,7 @@ msgstr "" "``isympy`` позива ``pprint`` аутоматски , зато видите лепо штампање као " "подразумевано." -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" "Note that there is also a printing module available, ``sympy.printing``. " "Other printing methods available through this module are:" @@ -575,7 +574,7 @@ msgstr "" "Такође постоји модул за штампање, ``sympy.printing``. Остали доступни методи " "штампања су:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" "``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " "respectively, a pretty representation of ``expr``. This is the same as the " @@ -585,7 +584,7 @@ msgstr "" "штампа, лепо представљање од ``expr``. Ово је исто као и други ново " "представљања опсаног изнад." -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" "``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " "`LaTeX `_ representation of ``expr``" @@ -593,7 +592,7 @@ msgstr "" "``latex(expr)``, ``print_latex(expr)``: Враћа или штампа `LaTeX `_ представљање од ``expr``" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" "``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " "`MathML `_ representation of ``expr``." @@ -601,7 +600,7 @@ msgstr "" "``mathml(expr)``, ``print_mathml(expr)``: Враћа или штампа `MathML `_ представљање од ``expr``." -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" "``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " @@ -611,20 +610,20 @@ msgstr "" "mml-widget/>`_, и GTK додатак који приказује MathML код. `Gtkmathview " "`_ програм је потребан." -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "Додатна документација" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" "Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " "Guide ` and :ref:`SymPy Modules Reference `." msgstr "" "Сада можете учити даље. Погледајте: `SymPy User's Guide <../guide.html>`_ и " -"`SymPy Modules Reference <../modules/index.html>`_. Напомена: Остатак документације је " -"доступан само на енглеском језику." +"`SymPy Modules Reference <../modules/index.html>`_. Напомена: Остатак " +"документације је доступан само на енглеском језику." -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 #, fuzzy msgid "" "Be sure to also browse our public `wiki.sympy.org Date: Tue, 11 Dec 2012 16:25:43 +0100 Subject: [PATCH 7/9] Update tutorial.zh.po --- doc/src/tutorial/tutorial.zh.po | 706 ++++++++++++++------------------ 1 file changed, 300 insertions(+), 406 deletions(-) diff --git a/doc/src/tutorial/tutorial.zh.po b/doc/src/tutorial/tutorial.zh.po index 5393ac0bb5c2..e59678277bca 100644 --- a/doc/src/tutorial/tutorial.zh.po +++ b/doc/src/tutorial/tutorial.zh.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: SymPy 0.7.2\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-23 15:11\n" +"POT-Creation-Date: 2012-12-10 15:09\n" "PO-Revision-Date: 2012-12-10 23:48+0800\n" "Last-Translator: Huijun Mai \n" "Language-Team: \n" @@ -26,687 +26,581 @@ msgstr "简介" #: tutorial.en.rst:12 msgid "" -"SymPy is a Python library for symbolic mathematics. It aims to " -"become a full-featured computer algebra system (CAS) while " -"keeping the code as simple as possible in order to be comprehen" -"sible and easily extensible. SymPy is written entirely in " -"Python and does not require any external libraries." +"SymPy is a Python library for symbolic mathematics. It aims to become a full-" +"featured computer algebra system (CAS) while keeping the code as simple as " +"possible in order to be comprehensible and easily extensible. SymPy is " +"written entirely in Python and does not require any external libraries." msgstr "" -"SymPy是一个用来处理数学符号的Python库," -"旨在成为一个多功能但代码尽可能简洁以便于理解" -"和扩展的计算机代数系统(CAS)。同时,SymPy完全" -"是用Python编写的,并且不依赖任何外部的库。" +"SymPy是一个用来处理数学符号的Python库,旨在成为一个多功能但代码尽可能简洁以便" +"于理解和扩展的计算机代数系统(CAS)。同时,SymPy完全是用Python编写的,并且不依" +"赖任何外部的库。" #: tutorial.en.rst:17 msgid "" -"This tutorial gives an overview and introduction to SymPy. Read " -"this to have an idea what SymPy can do for you (and how) and if " -"you want to know more, read the :ref:`SymPy User's Guide `, " -":ref:`SymPy Modules Reference `. or the `sources `_ directly." +"This tutorial gives an overview and introduction to SymPy. Read this to have " +"an idea what SymPy can do for you (and how) and if you want to know more, " +"read the :ref:`SymPy User's Guide `, the :ref:`SymPy Modules " +"Reference `, or the `sources `_ directly." msgstr "" -"本教程主要讲述SymPy的基础知识,阅读它有助于你" -"理解能用SymPy来做什么(怎样做),如果你想要更深入地" -"学习SymPy,请阅读 `SymPy User's Guide <../guide.html>`_," -" `SymPy Modules Reference <../modules/index.html>`_, " -"或者直接阅读 `源代码 `_ 。" +"本教程主要讲述SymPy的基础知识,阅读它有助于你理解能用SymPy来做什么(怎样做)," +"如果你想要更深入地学习SymPy,请阅读 `SymPy User's Guide <../guide.html>`_, " +"`SymPy Modules Reference <../modules/index.html>`_, 或者直接阅读 `源代码 " +"`_ 。" -#: tutorial.en.rst:26 +#: tutorial.en.rst:24 msgid "First Steps with SymPy" msgstr "开始学习SymPy" -#: tutorial.en.rst:28 +#: tutorial.en.rst:26 msgid "" -"The easiest way to download it is to go to http://code.google.com/p/" -"sympy/ and download the latest tarball from the Featured Downloads:" +"The easiest way to download it is to go to http://code.google.com/p/sympy/ " +"and download the latest tarball from the Featured Downloads:" msgstr "" -"下载SymPy最简单的方法就是从 http://code.goog" -"le.com/p/sympy/ 下载最新的压缩包:" +"下载SymPy最简单的方法就是从 http://code.google.com/p/sympy/ 下载最新的压缩" +"包:" -#: tutorial.en.rst:34 +#: tutorial.en.rst:32 msgid "Unpack it:" msgstr "解压:" -#: tutorial.en.rst:40 +#: tutorial.en.rst:38 msgid "and try it from a Python interpreter:" msgstr "然后在Python解释器中尝试使用:" -#: tutorial.en.rst:54 +#: tutorial.en.rst:52 msgid "" -"You can use SymPy as shown above and this is indeed the recommended " -"way if you use it in your program. You can also install it using " -"``./setup.py install`` as any other Python module, or just install " -"a package in your favourite Linux distribution, e.g.:" +"You can use SymPy as shown above and this is indeed the recommended way if " +"you use it in your program. You can also install it using ``./setup.py " +"install`` as any other Python module, or just install a package in your " +"favourite Linux distribution, e.g.:" msgstr "" -"我们推荐你在你的程序中按上面的方法使用SymPy。你还" -"可以像安装其它Python模块一样,通过 " -"``./setup.py install`` 安装SymPy,或者就像安装" -"一个软件包一样,在你喜欢的Linux发行版中安装它:" +"我们推荐你在你的程序中按上面的方法使用SymPy。你还可以像安装其它Python模块一" +"样,通过 ``./setup.py install`` 安装SymPy,或者就像安装一个软件包一样,在你喜" +"欢的Linux发行版中安装它:" -#: tutorial.en.rst:80 +#: tutorial.en.rst:78 msgid "" "For other means how to install SymPy, consult the wiki page `Download and " "Installation `_." msgstr "" -"想了解其它安装SymPy的方法,参考wiki页面 `Download and Installation " -"`_ 。" +"想了解其它安装SymPy的方法,参考wiki页面 `Download and Installation `_ 。" -#: tutorial.en.rst:87 +#: tutorial.en.rst:83 msgid "isympy Console" msgstr "isympy控制台" -#: tutorial.en.rst:89 +#: tutorial.en.rst:85 msgid "" -"For experimenting with new features, or when figuring out " -"how to do things, you can use our special wrapper around " -"IPython called ``isympy`` (located in ``bin/isympy`` if you " -"are running from the source directory) which is just a " -"standard Python shell that has already imported the relevant " -"SymPy modules and defined the symbols x, y, z and some other things:" +"For experimenting with new features, or when figuring out how to do things, " +"you can use our special wrapper around IPython called ``isympy`` (located in " +"``bin/isympy`` if you are running from the source directory) which is just a " +"standard Python shell that has already imported the relevant SymPy modules " +"and defined the symbols x, y, z and some other things:" msgstr "" -"为了验证新特性,或者想弄清楚怎样使用这些" -"特性,你可以使用一个对IPython封装好的包 ``isympy`` " -"(如果从源代码目录中运行,则为 ``bin/isympy`` )," -"这只是一个已经导入了相关SymPy模块并且定义了符号x," -"y,z和一些其他东西的标准Python脚本。" +"为了验证新特性,或者想弄清楚怎样使用这些特性,你可以使用一个对IPython封装好的" +"包 ``isympy`` (如果从源代码目录中运行,则为 ``bin/isympy`` ),这只是一个已经" +"导入了相关SymPy模块并且定义了符号x,y,z和一些其他东西的标准Python脚本。" -#: tutorial.en.rst:119 +#: tutorial.en.rst:115 msgid "" -"Commands entered by you are bold. Thus what we did in 3 " -"lines in a regular Python interpreter can be done in 1 " -"line in isympy." +"Commands entered by you are bold. Thus what we did in 3 lines in a regular " +"Python interpreter can be done in 1 line in isympy." msgstr "" -"你所输入的命令是很粗糙的,所以我们在常规的Python" -"解释器中要用三条命令才能完成的事,在isympy中用" -"一条语句就可以完成。" +"你所输入的命令是很粗糙的,所以我们在常规的Python解释器中要用三条命令才能完成" +"的事,在isympy中用一条语句就可以完成。" -#: tutorial.en.rst:124 +#: tutorial.en.rst:120 msgid "Using SymPy as a calculator" msgstr "使用SymPy做计算器" -#: tutorial.en.rst:126 -msgid "" -"SymPy has three built-in numeric types: " -"Float, Rational and Integer." -msgstr "" -"SymPy有三个内置的数值类型:" -"浮点型,分数型和整型" +#: tutorial.en.rst:122 +msgid "SymPy has three built-in numeric types: Float, Rational and Integer." +msgstr "SymPy有三个内置的数值类型:浮点型,分数型和整型" -#: tutorial.en.rst:128 +#: tutorial.en.rst:124 msgid "" -"The Rational class represents a rational number as a " -"pair of two Integers: the numerator and the denominator. " -"So Rational(1,2) represents 1/2, Rational(5,2) represents 5/2, and so on." +"The Rational class represents a rational number as a pair of two Integers: " +"the numerator and the denominator. So Rational(1, 2) represents 1/2, Rational" +"(5, 2) represents 5/2, and so on." msgstr "" -"分数类通过一对整型数来表示一个分数:" -"分子和分母,所以Rational(1,2)表示1/2," -"Rational(5,2)表示5/2,等等。" +"分数类通过一对整型数来表示一个分数:分子和分母,所以Rational(1, 2)表示1/2," +"Rational(5, 2)表示5/2,等等。" -#: tutorial.en.rst:147 +#: tutorial.en.rst:143 msgid "" -"Proceed with caution while working with Python int's " -"and floating point numbers, especially in division, " -"since you may create a Python number, not a SymPy number. " -"A ratio of two Python ints may create a float -- " -"the \"true division\" standard of Python 3 and the default " -"behavior of ``isympy`` which imports division from __future__:" +"Proceed with caution while working with Python int's and floating point " +"numbers, especially in division, since you may create a Python number, not a " +"SymPy number. A ratio of two Python ints may create a float -- the \"true " +"division\" standard of Python 3 and the default behavior of ``isympy`` which " +"imports division from __future__:" msgstr "" -"因为你可能建立的是一个基于Python数值" -"类型的数据,而不是基于SymPy数值类型的," -"所以请小心使用Python中的整型数和浮点数," -"特别是在除法运算中。两个Python中的整型数" -"的比值可能会形成一个浮点数——这是Python 3" -"所使用的\"真正的除法\"的标准,也是从__future__中" -"导入除法的 ``isympy`` 的默认操作。" +"因为你可能建立的是一个基于Python数值类型的数据,而不是基于SymPy数值类型的,所" +"以请小心使用Python中的整型数和浮点数,特别是在除法运算中。两个Python中的整型" +"数的比值可能会形成一个浮点数——这是Python 3所使用的\"真正的除法\"的标准,也是" +"从__future__中导入除法的 ``isympy`` 的默认操作。" -#: tutorial.en.rst:159 +#: tutorial.en.rst:155 msgid "" -"But in earlier Python versions where division has " -"not been imported, a truncated int will result:" +"But in earlier Python versions where division has not been imported, a " +"truncated int will result:" msgstr "" -"但是在一些早期的Python版本当中,除法还" -"没有被导入,所以会对除法操作的结果取整," -"截断小数点后面的部分。" +"但是在一些早期的Python版本当中,除法还没有被导入,所以会对除法操作的结果取" +"整,截断小数点后面的部分。" -#: tutorial.en.rst:167 +#: tutorial.en.rst:163 msgid "" -"In both cases, however, you are not dealing with a " -"SymPy Number because Python created its own number. " -"Most of the time you will probably be working with " -"Rational numbers, so make sure to use Rational to get " -"the SymPy result. One might find it convenient to " -"equate ``R`` and Rational:" +"In both cases, however, you are not dealing with a SymPy Number because " +"Python created its own number. Most of the time you will probably be working " +"with Rational numbers, so make sure to use Rational to get the SymPy result. " +"One might find it convenient to equate ``R`` and Rational:" msgstr "" -"然而,不管在哪种情况下,你都不是在处理" -"一个SymPy的数据,因为是Python创建它自己" -"的数据。在大多数情况下,你可能需要处理分数," -"所以这时要确保SymPy的输出结果也是分数。" -"当 ``R`` 等同于 ``Rational`` 时,更便于" -"我们编写语句:" +"然而,不管在哪种情况下,你都不是在处理一个SymPy的数据,因为是Python创建它自己" +"的数据。在大多数情况下,你可能需要处理分数,所以这时要确保SymPy的输出结果也是" +"分数。当 ``R`` 等同于 ``Rational`` 时,更便于我们编写语句:" -#: tutorial.en.rst:181 +#: tutorial.en.rst:177 msgid "" -"We also have some special constants, like e and pi, " -"that are treated as symbols (1+pi won't evaluate to " -"something numeric, rather it will remain as 1+pi), " -"and have arbitrary precision:" +"We also have some special constants, like e and pi, that are treated as " +"symbols (1 + pi won't evaluate to something numeric, rather it will remain " +"as 1 + pi), and have arbitrary precision:" msgstr "" -"SymPy中还有一些特殊的常量,例如e和pi," -"这些常量在SymPy中被看作是符号(1+pi" -"不会等于一个数值,它只是等于1+pi)," -"并且拥有任意精度:" +"SymPy中还有一些特殊的常量,例如e和pi,这些常量在SymPy中被看作是符号(1 + pi不会" +"等于一个数值,它只是等于1 + pi),并且拥有任意精度:" -#: tutorial.en.rst:197 -msgid "" -"as you see, evalf evaluates the expression to a " -"floating-point number" -msgstr "" -"正如你所看到的,通过evalf函数对以上" -"表达式求值,可以得到一个浮点数。" +#: tutorial.en.rst:193 +msgid "as you see, evalf evaluates the expression to a floating-point number" +msgstr "正如你所看到的,通过evalf函数对以上表达式求值,可以得到一个浮点数。" -#: tutorial.en.rst:199 -msgid "" -"The symbol ``oo`` is used for a class defining " -"mathematical infinity:" -msgstr "" -"符号 ``oo`` 表示数学上所说的无穷:" +#: tutorial.en.rst:195 +msgid "The symbol ``oo`` is used for a class defining mathematical infinity:" +msgstr "符号 ``oo`` 表示数学上所说的无穷:" -#: tutorial.en.rst:210 +#: tutorial.en.rst:206 msgid "Symbols" msgstr "符号" -#: tutorial.en.rst:212 +#: tutorial.en.rst:208 msgid "" -"In contrast to other Computer Algebra Systems, " -"in SymPy you have to declare symbolic variables explicitly:" -msgstr "" -"跟其它计算机代数系统不同," -"在SymPy中必须明确声明符号变量:" +"In contrast to other Computer Algebra Systems, in SymPy you have to declare " +"symbolic variables explicitly:" +msgstr "跟其它计算机代数系统不同,在SymPy中必须明确声明符号变量:" -#: tutorial.en.rst:221 +#: tutorial.en.rst:217 msgid "" -"On the left is the normal Python variable which has " -"been assigned to the SymPy Symbol class. Predefined " -"symbols (including those for symbols with Greek names) " -"are available for import from abc:" +"On the left is the normal Python variable which has been assigned to the " +"SymPy Symbol class. Predefined symbols (including those for symbols with " +"Greek names) are available for import from abc:" msgstr "" -"左边的是常规的Python变量," -"已经将SymPy符号类分配给这些变量。" -"预定义符号(包括含有希腊字母的符号)" -"可以从abc中导入:" +"左边的是常规的Python变量,已经将SymPy符号类分配给这些变量。预定义符号(包括含" +"有希腊字母的符号)可以从abc中导入:" -#: tutorial.en.rst:227 +#: tutorial.en.rst:223 msgid "" -"Symbols can also be created with the ``symbols`` or" -" ``var`` functions, the latter automatically adding " -"the created symbols to the namespace, and both " +"Symbols can also be created with the ``symbols`` or ``var`` functions, the " +"latter automatically adding the created symbols to the namespace, and both " "accepting a range notation:" msgstr "" -"符号还可以通过 ``symbols`` 或" -"者 ``var`` 函数来创建,其中,使" -"用 ``var`` 函数会自动添加新建的符号" -"到命名空间,这两个函数都允许使用" -"范围表示作为参数:" +"符号还可以通过 ``symbols`` 或者 ``var`` 函数来创建,其中,使用 ``var`` 函数会" +"自动添加新建的符号到命名空间,这两个函数都允许使用范围表示作为参数:" -#: tutorial.en.rst:239 +#: tutorial.en.rst:235 msgid "" -"Instances of the Symbol class \"play well " -"together\" and are the building blocks of expresions:" -msgstr "" -"符号类的实例能够\"很好地结合\"," -"由多个符号可以构建一个表达式:" +"Instances of the Symbol class \"play well together\" and are the building " +"blocks of expresions:" +msgstr "符号类的实例能够\"很好地结合\",由多个符号可以构建一个表达式:" -#: tutorial.en.rst:253 +#: tutorial.en.rst:249 msgid "" -"They can be substituted with other numbers, symbols " -"or expressions using ``subs(old, new)``:" +"They can be substituted with other numbers, symbols or expressions using " +"``subs(old, new)``:" msgstr "" -"使用函数 ``subs(old, new)`` 可以" -"将给定的符号代换成其它的数字,符号" -"或者表达式:" +"使用函数 ``subs(old, new)`` 可以将给定的符号代换成其它的数字,符号或者表达" +"式:" -#: tutorial.en.rst:266 -msgid "" -"For the remainder of the tutorial, we assume that we have run:" -msgstr "" -"对于此教程的余下部分,我们假设" -"已经运行以下语句:" +#: tutorial.en.rst:262 +msgid "For the remainder of the tutorial, we assume that we have run:" +msgstr "对于此教程的余下部分,我们假设已经运行以下语句:" -#: tutorial.en.rst:273 +#: tutorial.en.rst:269 msgid "" -"This will make things look better when printed. " -"See the :ref:`printing-tutorial` section below. " -"If you have a unicode font installed, you can pass " +"This will make things look better when printed. See the :ref:`printing-" +"tutorial` section below. If you have a unicode font installed, you can pass " "use_unicode=True for a slightly nicer output." msgstr "" -"运行这些语句会让输出的结果更雅观," -"查看以下章节 :ref:`printing-tutorial` ," -"如果你已经安装了unicode字体,可以设置 " -"use_unicode=True,使得输出更加美观。" +"运行这些语句会让输出的结果更雅观,查看以下章节 :ref:`printing-tutorial` ,如" +"果你已经安装了unicode字体,可以设置 use_unicode=True,使得输出更加美观。" -#: tutorial.en.rst:278 +#: tutorial.en.rst:274 msgid "Algebra" msgstr "代数" -#: tutorial.en.rst:280 -msgid "" -"For partial fraction decomposition, use ``apart(expr, x)``:" -msgstr "" -"实现部分分数分解,使用函数 ``apart(expr, x)`` :" +#: tutorial.en.rst:276 +msgid "For partial fraction decomposition, use ``apart(expr, x)``:" +msgstr "实现部分分数分解,使用函数 ``apart(expr, x)`` :" -#: tutorial.en.rst:307 -msgid "" -"To combine things back together, use ``together(expr, x)``:" -msgstr "" -"将分数组合在一起,使用函数 ``together(expr, x)`` :" +#: tutorial.en.rst:303 +msgid "To combine things back together, use ``together(expr, x)``:" +msgstr "将分数组合在一起,使用函数 ``together(expr, x)`` :" -#: tutorial.en.rst:331 +#: tutorial.en.rst:327 msgid "Calculus" msgstr "微积分" -#: tutorial.en.rst:336 +#: tutorial.en.rst:332 msgid "Limits" msgstr "极限" -#: tutorial.en.rst:338 +#: tutorial.en.rst:334 msgid "" -"Limits are easy to use in SymPy, they follow the " -"syntax ``limit(function, variable, point)``, so to compute " -"the limit of f(x) as x -> 0, you would issue ``limit(f, x, 0)``:" +"Limits are easy to use in SymPy, they follow the syntax ``limit(function, " +"variable, point)``, so to compute the limit of f(x) as x -> 0, you would " +"issue ``limit(f, x, 0)``:" msgstr "" -"在SymPy中使用极限很简单,使用" -"函数 ``limit(function, variable, point)`` ," -"所以为了计算当 x -> 0 时f(x)的极限," -"只需要输入 ``limit(f, x, 0)`` :" +"在SymPy中使用极限很简单,使用函数 ``limit(function, variable, point)`` ,所以" +"为了计算当 x -> 0 时f(x)的极限,只需要输入 ``limit(f, x, 0)`` :" -#: tutorial.en.rst:349 +#: tutorial.en.rst:345 msgid "you can also calculate the limit at infinity:" msgstr "你还可以计算在无穷远处的极限:" -#: tutorial.en.rst:362 +#: tutorial.en.rst:358 msgid "" -"for some non-trivial examples on limits, you can read " -"the test file `test_demidovich.py `_" +"for some non-trivial examples on limits, you can read the test file " +"`test_demidovich.py `_" msgstr "" -"对于一些关于极限的非平凡的例子," -"你可以查阅测试文件 `test_demidovich.py " -"`_" +"对于一些关于极限的非平凡的例子,你可以查阅测试文件 `test_demidovich.py " +"`_" -#: tutorial.en.rst:369 +#: tutorial.en.rst:365 msgid "Differentiation" msgstr "求导" -#: tutorial.en.rst:371 +#: tutorial.en.rst:367 msgid "" -"You can differentiate any SymPy expression using ``diff(func, var)``. Examples:" +"You can differentiate any SymPy expression using ``diff(func, var)``. " +"Examples:" msgstr "" -"你可以对任何SymPy的表达式进行求导," -"使用函数 ``diff(func, var)`` ,例如:" +"你可以对任何SymPy的表达式进行求导,使用函数 ``diff(func, var)`` ,例如:" -#: tutorial.en.rst:386 +#: tutorial.en.rst:382 msgid "You can check, that it is correct by:" msgstr "你可以检查,但是这是正确的:" -#: tutorial.en.rst:396 +#: tutorial.en.rst:392 msgid "" "Higher derivatives can be calculated using the ``diff(func, var, n)`` method:" -msgstr "" -"计算更高阶的导数," -"使用函数 ``diff(func, var, n)`` :" +msgstr "计算更高阶的导数,使用函数 ``diff(func, var, n)`` :" -#: tutorial.en.rst:415 +#: tutorial.en.rst:411 msgid "Series expansion" msgstr "级数展开" -#: tutorial.en.rst:417 +#: tutorial.en.rst:413 msgid "Use ``.series(var, point, order)``:" msgstr "使用 ``.series(var, point, order)`` :" -#: tutorial.en.rst:434 +#: tutorial.en.rst:430 msgid "Another simple example:" msgstr "另一个简单的例子:" -#: tutorial.en.rst:460 +#: tutorial.en.rst:456 msgid "Summation" msgstr "求和" -#: tutorial.en.rst:462 +#: tutorial.en.rst:458 msgid "" -"Compute the summation of f with respect to the given " -"summation variable over the given limits." -msgstr "" -"计算求和变量在给定的范围内函数f的和。" +"Compute the summation of f with respect to the given summation variable over " +"the given limits." +msgstr "计算求和变量在给定的范围内函数f的和。" -#: tutorial.en.rst:464 +#: tutorial.en.rst:460 msgid "" -"summation(f, (i, a, b)) computes the sum of f with respect " -"to i from a to b, i.e.," -msgstr "" -"函数summation(f, (i, a, b))计算当" -"i在[a, b]内时f的和是多少,即:" +"summation(f, (i, a, b)) computes the sum of f with respect to i from a to b, " +"i.e.," +msgstr "函数summation(f, (i, a, b))计算当i在[a, b]内时f的和是多少,即:" -#: tutorial.en.rst:477 +#: tutorial.en.rst:473 msgid "" -"If it cannot compute the sum, it prints the corresponding " -"summation formula. Repeated sums can be computed by " -"introducing additional limits:" +"If it cannot compute the sum, it prints the corresponding summation formula. " +"Repeated sums can be computed by introducing additional limits:" msgstr "" -"如果不能求和,会输出相应的求和公式。" -"通过引入变量的额外限制,可以复合求和:" +"如果不能求和,会输出相应的求和公式。通过引入变量的额外限制,可以复合求和:" -#: tutorial.en.rst:513 +#: tutorial.en.rst:509 msgid "Integration" msgstr "积分" -#: tutorial.en.rst:515 +#: tutorial.en.rst:511 msgid "" -"SymPy has support for indefinite and definite integration " -"of transcendental elementary and special functions via " -"``integrate()`` facility, which uses powerful extended " -"Risch-Norman algorithm and some heuristics and pattern matching:" +"SymPy has support for indefinite and definite integration of transcendental " +"elementary and special functions via ``integrate()`` facility, which uses " +"powerful extended Risch-Norman algorithm and some heuristics and pattern " +"matching:" msgstr "" -"SymPy支持初等超越函数和特使函数的" -"不定积分和定积分,通过使用" -"函数 ``integrate()`` ,这个函数" -"用到了强大的扩展Risch-Norman算法、" -"一些启发式算法和模式匹配:" +"SymPy支持初等超越函数和特使函数的不定积分和定积分,通过使用函数 ``integrate()" +"`` ,这个函数用到了强大的扩展Risch-Norman算法、一些启发式算法和模式匹配:" -#: tutorial.en.rst:525 +#: tutorial.en.rst:521 msgid "You can integrate elementary functions:" msgstr "求初等函数的积分:" -#: tutorial.en.rst:540 +#: tutorial.en.rst:536 msgid "Also special functions are handled easily:" msgstr "求特殊函数的积分也很容易:" -#: tutorial.en.rst:550 +#: tutorial.en.rst:546 msgid "It is possible to compute definite integrals:" msgstr "计算定积分:" -#: tutorial.en.rst:561 +#: tutorial.en.rst:557 msgid "Also, improper integrals are supported as well:" msgstr "SymPy还支持广义积分:" -#: tutorial.en.rst:575 +#: tutorial.en.rst:571 msgid "Complex numbers" msgstr "复数" -#: tutorial.en.rst:577 +#: tutorial.en.rst:573 msgid "" -"Besides the imaginary unit, I, which is imaginary, " -"symbols can be created with attributes (e.g. real, " -"positive, complex, etc...) and this will affect how they behave:" +"Besides the imaginary unit, I, which is imaginary, symbols can be created " +"with attributes (e.g. real, positive, complex, etc...) and this will affect " +"how they behave:" msgstr "" -"除了虚数单位I,其它符号的创建" -"都可以带有属性(例如实数、正数、复数" -"等等),而这些属性会影响操作结果:" +"除了虚数单位I,其它符号的创建都可以带有属性(例如实数、正数、复数等等),而这些" +"属性会影响操作结果:" -#: tutorial.en.rst:596 +#: tutorial.en.rst:592 msgid "Functions" msgstr "函数" -#: tutorial.en.rst:598 +#: tutorial.en.rst:594 msgid "**trigonometric**" msgstr "三角函数" -#: tutorial.en.rst:649 +#: tutorial.en.rst:645 msgid "**spherical harmonics**" msgstr "球谐函数" -#: tutorial.en.rst:677 +#: tutorial.en.rst:673 msgid "**factorials and gamma function**" msgstr "阶乘和gamma函数" -#: tutorial.en.rst:697 +#: tutorial.en.rst:693 msgid "**zeta function**" msgstr "zeta函数" -#: tutorial.en.rst:724 +#: tutorial.en.rst:720 msgid "**polynomials**" msgstr "多项式" -#: tutorial.en.rst:765 +#: tutorial.en.rst:761 msgid "Differential Equations" msgstr "微分方程" -#: tutorial.en.rst:767 -#: tutorial.en.rst:789 +#: tutorial.en.rst:763 tutorial.en.rst:785 msgid "In ``isympy``:" msgstr "在 ``isympy`` :" -#: tutorial.en.rst:787 +#: tutorial.en.rst:783 msgid "Algebraic equations" msgstr "代数方程" -#: tutorial.en.rst:804 +#: tutorial.en.rst:800 msgid "Linear Algebra" msgstr "线性代数" -#: tutorial.en.rst:809 +#: tutorial.en.rst:805 msgid "Matrices" msgstr "矩阵" -#: tutorial.en.rst:811 +#: tutorial.en.rst:807 msgid "Matrices are created as instances from the Matrix class:" msgstr "新建的矩阵是矩阵类的实例:" -#: tutorial.en.rst:821 +#: tutorial.en.rst:817 msgid "They can also contain symbols:" msgstr "矩阵还可以包含符号:" -#: tutorial.en.rst:838 +#: tutorial.en.rst:834 msgid "For more about Matrices, see the Linear Algebra tutorial." -msgstr "想了解更多关于矩阵的内容," -"请看线性代数教程。" +msgstr "想了解更多关于矩阵的内容,请看线性代数教程。" -#: tutorial.en.rst:843 +#: tutorial.en.rst:839 msgid "Pattern matching" msgstr "模式匹配" -#: tutorial.en.rst:845 +#: tutorial.en.rst:841 msgid "" -"Use the ``.match()`` method, along with the ``Wild`` class, " -"to perform pattern matching on expressions. The method will " -"return a dictionary with the required substitutions, as follows:" +"Use the ``.match()`` method, along with the ``Wild`` class, to perform " +"pattern matching on expressions. The method will return a dictionary with " +"the required substitutions, as follows:" msgstr "" -"使用 ``.match()`` 模式和 ``Wild`` 类," -"可以对表达式执行模式匹配,返回结果就是所" -"需要的各个匹配值,以字典的形式呈现,就像:" +"使用 ``.match()`` 模式和 ``Wild`` 类,可以对表达式执行模式匹配,返回结果就是" +"所需要的各个匹配值,以字典的形式呈现,就像:" -#: tutorial.en.rst:861 +#: tutorial.en.rst:857 msgid "If the match is unsuccessful, it returns ``None``:" msgstr "如果匹配不成功,则返回 ``None`` :" -#: tutorial.en.rst:868 +#: tutorial.en.rst:864 msgid "" -"One can also use the exclude parameter of the ``Wild`` class " -"to ensure that certain things do not show up in the result:" +"One can also use the exclude parameter of the ``Wild`` class to ensure that " +"certain things do not show up in the result:" msgstr "" -"还可以在 ``Wild`` 类中添加排除参数," -"使得这些被排除的参数不会出现在结果当中:" +"还可以在 ``Wild`` 类中添加排除参数,使得这些被排除的参数不会出现在结果当中:" -#: tutorial.en.rst:884 +#: tutorial.en.rst:880 msgid "Printing" msgstr "打印" -#: tutorial.en.rst:886 +#: tutorial.en.rst:882 msgid "There are many ways to print expressions." msgstr "打印表达式有很多方式。" -#: tutorial.en.rst:888 +#: tutorial.en.rst:884 msgid "**Standard**" msgstr "标准打印" -#: tutorial.en.rst:890 -msgid "" -"This is what ``str(expression)`` returns and it looks like this:" -msgstr "" -"就是 ``str(expression)`` 的" -"返回值,它看起来就像:" +#: tutorial.en.rst:886 +msgid "This is what ``str(expression)`` returns and it looks like this:" +msgstr "就是 ``str(expression)`` 的返回值,它看起来就像:" -#: tutorial.en.rst:901 +#: tutorial.en.rst:897 msgid "**Pretty printing**" msgstr "Pretty打印" -#: tutorial.en.rst:903 -msgid "" -"Nice ascii-art printing is produced by the ``pprint`` function:" -msgstr "" -"使用 ``pprint`` 函数可以打印出好看的ASCII形式:" +#: tutorial.en.rst:899 +msgid "Nice ascii-art printing is produced by the ``pprint`` function:" +msgstr "使用 ``pprint`` 函数可以打印出好看的ASCII形式:" -#: tutorial.en.rst:922 +#: tutorial.en.rst:918 msgid "" -"If you have a unicode font installed, the ``pprint`` function " -"will use it by default. You can override this " -"using the ``use_unicode`` option.:" +"If you have a unicode font installed, the ``pprint`` function will use it by " +"default. You can override this using the ``use_unicode`` option.:" msgstr "" -"如果你安装了unicode字体,那么" -"打印方式会默认使用 ``pprint`` 函数," -"可以使用 ``use_unicode`` 选项来替换" -"这种打印方式:" +"如果你安装了unicode字体,那么打印方式会默认使用 ``pprint`` 函数,可以使用 " +"``use_unicode`` 选项来替换这种打印方式:" -#: tutorial.en.rst:931 +#: tutorial.en.rst:927 msgid "" -"See also the wiki `Pretty Printing `_ for more examples of a nice " -"unicode printing." +"See also the wiki `Pretty Printing `_ for more examples of a nice unicode printing." msgstr "" -"想获得更多unicode打印方式的例子," -"还可以查看维基百科 `Pretty Printing " +"想获得更多unicode打印方式的例子,还可以查看维基百科 `Pretty Printing " "`_ 。" -#: tutorial.en.rst:935 +#: tutorial.en.rst:931 msgid "" "Tip: To make pretty printing the default in the Python interpreter, use:" -msgstr "" -"提示:通过这种方法可以在Python" -"解释器中默认使用pretty打印:" +msgstr "提示:通过这种方法可以在Python解释器中默认使用pretty打印:" -#: tutorial.en.rst:960 +#: tutorial.en.rst:956 msgid "**Python printing**" msgstr "Python打印" -#: tutorial.en.rst:978 +#: tutorial.en.rst:974 msgid "**LaTeX printing**" msgstr "LaTeX打印" -#: tutorial.en.rst:997 +#: tutorial.en.rst:993 msgid "**MathML**" msgstr "MathML" -#: tutorial.en.rst:1009 +#: tutorial.en.rst:1005 msgid "**Pyglet**" msgstr "Pyglet" -#: tutorial.en.rst:1017 +#: tutorial.en.rst:1013 msgid "" -"If pyglet is installed, a pyglet window will open " -"containing the LaTeX rendered expression:" -msgstr "" -"如果安装了pyglet,一个呈现LaTeX表达式" -"的窗口会被打开:" +"If pyglet is installed, a pyglet window will open containing the LaTeX " +"rendered expression:" +msgstr "如果安装了pyglet,一个呈现LaTeX表达式的窗口会被打开:" -#: tutorial.en.rst:1023 +#: tutorial.en.rst:1019 msgid "Notes" msgstr "注释" -#: tutorial.en.rst:1025 +#: tutorial.en.rst:1021 msgid "" -"``isympy`` calls ``pprint`` automatically, so that's " -"why you see pretty printing by default." +"``isympy`` calls ``pprint`` automatically, so that's why you see pretty " +"printing by default." msgstr "" -"``isympy`` 自动调用 ``pprint`` ," -"所以在默认情况下你看到的是pretty" -"打印形式的输出。" +"``isympy`` 自动调用 ``pprint`` ,所以在默认情况下你看到的是pretty打印形式的输" +"出。" -#: tutorial.en.rst:1028 +#: tutorial.en.rst:1024 msgid "" -"Note that there is also a printing module available, " -"``sympy.printing``. Other printing methods available " -"through this module are:" +"Note that there is also a printing module available, ``sympy.printing``. " +"Other printing methods available through this module are:" msgstr "" -"值得注意的是,SymPy还提供一个打印" -"模块 ``sympy.printing`` ,这个模块" -"提供的打印方式有:" +"值得注意的是,SymPy还提供一个打印模块 ``sympy.printing`` ,这个模块提供的打印" +"方式有:" -#: tutorial.en.rst:1031 +#: tutorial.en.rst:1027 msgid "" -"``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: " -"Return or print, respectively, a pretty representation of " -"``expr``. This is the same as the second level of " -"representation described above." +"``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)``: Return or print, " +"respectively, a pretty representation of ``expr``. This is the same as the " +"second level of representation described above." msgstr "" -"``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)`` :" -"这三个函数都返回或打印 ``expr`` 的pretty" -"表示形式,这跟前面描述的第二种表示方法一样。" +"``pretty(expr)``, ``pretty_print(expr)``, ``pprint(expr)`` :这三个函数都返回" +"或打印 ``expr`` 的pretty表示形式,这跟前面描述的第二种表示方法一样。" -#: tutorial.en.rst:1033 +#: tutorial.en.rst:1029 msgid "" -"``latex(expr)``, ``print_latex(expr)``: Return or print, " -"respectively, a `LaTeX `_ " -"representation of ``expr``" +"``latex(expr)``, ``print_latex(expr)``: Return or print, respectively, a " +"`LaTeX `_ representation of ``expr``" msgstr "" -"``latex(expr)``, ``print_latex(expr)`` :" -"这两个函数都返回或打印 ``expr`` 的 `LaTeX " -"`_ 表示形式。" +"``latex(expr)``, ``print_latex(expr)`` :这两个函数都返回或打印 ``expr`` 的 " +"`LaTeX `_ 表示形式。" -#: tutorial.en.rst:1035 +#: tutorial.en.rst:1031 msgid "" -"``mathml(expr)``, ``print_mathml(expr)``: Return or print, " -"respectively, a `MathML `_ " -"representation of ``expr``." +"``mathml(expr)``, ``print_mathml(expr)``: Return or print, respectively, a " +"`MathML `_ representation of ``expr``." msgstr "" -"``mathml(expr)``, ``print_mathml(expr)`` :" -"这两个函数都返回或打印 ``expr`` 的 `MathML " -"`_ 表示形式。" +"``mathml(expr)``, ``print_mathml(expr)`` :这两个函数都返回或打印 ``expr`` " +"的 `MathML `_ 表示形式。" -#: tutorial.en.rst:1037 +#: tutorial.en.rst:1033 msgid "" -"``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. " -"The `Gtkmathview `_ program is required." +"``print_gtk(expr)``: Print ``expr`` to `Gtkmathview `_, a GTK widget that displays MathML code. The `Gtkmathview " +"`_ program is required." msgstr "" -"``print_gtk(expr)`` :打印 " -"``expr`` 到 `Gtkmathview " -"`_ ," -"这是一个显示MathML代码的GTK控件," -"使用这个函数需要 `Gtkmathview `_ 程序。" +"``print_gtk(expr)`` :打印 ``expr`` 到 `Gtkmathview `_ ,这是一个显示MathML代码的GTK控件,使用这个函数需要 " +"`Gtkmathview `_ 程序。" -#: tutorial.en.rst:1040 +#: tutorial.en.rst:1036 msgid "Further documentation" msgstr "更详细的文档" -#: tutorial.en.rst:1042 +#: tutorial.en.rst:1038 msgid "" -"Now it's time to learn more about SymPy. Go through the " -":ref:`SymPy User's Guide ` and :ref:`SymPy Modules " -"Reference `." +"Now it's time to learn more about SymPy. Go through the :ref:`SymPy User's " +"Guide ` and :ref:`SymPy Modules Reference `." msgstr "" -"看完以上的教程之后,现在是时候进一步" -"了解SymPy,请阅读 `SymPy User's Guide " -"<../guide.html>`_ 和 `SymPy Modules " -"Reference <../modules/index.html>`_ 。" +"看完以上的教程之后,现在是时候进一步了解SymPy,请阅读 `SymPy User's Guide " +"<../guide.html>`_ 和 `SymPy Modules Reference <../modules/index.html>`_ 。" -#: tutorial.en.rst:1046 +#: tutorial.en.rst:1042 msgid "" -"Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, " -"tutorials, cookbooks that we and our users contributed, " -"and feel free to edit it." +"Be sure to also browse our public `wiki.sympy.org `_, that contains a lot of useful examples, tutorials, cookbooks that we " +"and our users contributed, and feel free to edit it." msgstr "" -"还可以浏览我们的公共网页 " -"`wiki.sympy.org `_ ," -"上面有很多有用的例子、教程和cookbooks" -"供大家参考,这些资料都是我们和用户" -"编辑的,欢迎您的参与。" +"还可以浏览我们的公共网页 `wiki.sympy.org `_ ,上面有" +"很多有用的例子、教程和cookbooks供大家参考,这些资料都是我们和用户编辑的,欢迎" +"您的参与。" -#: tutorial.en.rst:1053 +#: tutorial.en.rst:1049 msgid "Translations" msgstr "翻译" -#: tutorial.en.rst:1055 +#: tutorial.en.rst:1051 msgid "This tutorial is also available in other languages:" msgstr "此教程还有其它的语言版本:" From 2e9a05145668eb2cfff44931346cad1596c67855 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 11 Dec 2012 18:35:29 +0100 Subject: [PATCH 8/9] Doc formatting. --- doc/src/gotchas.rst | 110 +++++++++++++++++++-------------- doc/src/guide.rst | 49 +++++++-------- doc/src/install.rst | 4 ++ doc/src/python-comparisons.rst | 8 +-- 4 files changed, 96 insertions(+), 75 deletions(-) diff --git a/doc/src/gotchas.rst b/doc/src/gotchas.rst index adb403c4d792..5dc6c0c16f8b 100644 --- a/doc/src/gotchas.rst +++ b/doc/src/gotchas.rst @@ -8,6 +8,7 @@ Gotchas and Pitfalls Introduction ============ + SymPy runs under the `Python Programming Language `_, so there are some things that may behave differently than they do in other, independent computer algebra systems @@ -28,10 +29,12 @@ internal testing of the examples. Equals Signs (=) ================ + Single Equals Sign ------------------ + The equals sign (``=``) is the assignment operator, not an equality. If -you want to do :math:`x=y`, use ``Eq(x,y)`` for equality. +you want to do :math:`x = y`, use ``Eq(x, y)`` for equality. Alternatively, all expressions are assumed to equal zero, so you can just subtract one side and use ``x - y``. @@ -46,6 +49,7 @@ For example: Double Equals Signs ------------------- + Double equals signs (``==``) are used to test equality. However, this tests expressions exactly, not symbolically. For example: @@ -75,8 +79,10 @@ equation reduces to 0. Variables ========= + Variables Assignment does not Create a Relation Between Expressions ------------------------------------------------------------------- + When you use ``=`` to do assignment, remember that in Python, as in most programming languages, the variable does not change if you change the value you assigned to it. The equations you are typing use the values @@ -85,14 +91,14 @@ Python definitions. They are not altered by changes made afterwards. Consider the following: >>> from sympy import Symbol - >>> a = Symbol('a') # Symbol, `a`, stored as variable "a" - >>> b = a + 1 # an expression involving `a` stored as variable "b" + >>> a = Symbol('a') # Symbol, `a`, stored as variable "a" + >>> b = a + 1 # an expression involving `a` stored as variable "b" >>> print b a + 1 - >>> a = 4 # "a" now points to literal integer 4, not Symbol('a') + >>> a = 4 # "a" now points to literal integer 4, not Symbol('a') >>> print a 4 - >>> b # "b" is still pointing at the expression involving `a` + >>> b # "b" is still pointing at the expression involving `a` a + 1 Changing quantity :obj:`a` does not change :obj:`b`; you are not working @@ -107,11 +113,11 @@ it to. >>> d = r*t >>> print d rate*time - >>> r=80 - >>> t=2 + >>> r = 80 + >>> t = 2 >>> print d # We haven't changed d, only r and t rate*time - >>> d=r*t + >>> d = r*t >>> print d # Now d is using the current values of r and t 160 @@ -173,15 +179,16 @@ If you define a circular relationship, you will get a Symbols ------- + Symbols are variables, and like all other variables, they need to be assigned before you can use them. For example: >>> import sympy - >>> z**2 # z is not defined yet #doctest: +SKIP + >>> z**2 # z is not defined yet #doctest: +SKIP Traceback (most recent call last): File "", line 1, in NameError: name 'z' is not defined - >>> sympy.var('z') # This is the easiest way to define z as a standard symbol + >>> sympy.var('z') # This is the easiest way to define z as a standard symbol z >>> z**2 z**2 @@ -202,7 +209,7 @@ You can also import common symbol names from :mod:`sympy.abc`. >>> w w >>> import sympy - >>> dir(sympy.abc) #doctest: +SKIP + >>> dir(sympy.abc) #doctest: +SKIP ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'Symbol', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_greek', @@ -231,23 +238,23 @@ Or better yet, always use lowercase letters for Symbol names. Python will not prevent you from overriding default SymPy names or functions, so be careful. - >>> cos(pi) # cos and pi are a built-in sympy names. + >>> cos(pi) # cos and pi are a built-in sympy names. -1 - >>> pi = 3 # Notice that there is no warning for overriding pi. + >>> pi = 3 # Notice that there is no warning for overriding pi. >>> cos(pi) cos(3) - >>> def cos(x): # No warning for overriding built-in functions either. + >>> def cos(x): # No warning for overriding built-in functions either. ... return 5*x ... >>> cos(pi) 15 - >>> from sympy import cos # reimport to restore normal behavior + >>> from sympy import cos # reimport to restore normal behavior To get a full list of all default names in SymPy do: >>> import sympy - >>> dir(sympy) #doctest: +SKIP + >>> dir(sympy) #doctest: +SKIP # A big list of all default sympy names and functions follows. # Ignore everything that starts and ends with __. @@ -265,10 +272,12 @@ trick for getting tab completion in the regular Python console. Symbolic Expressions ==================== + .. _python-vs-sympy-numbers: Python numbers vs. SymPy Numbers -------------------------------- + SymPy uses its own classes for integers, rational numbers, and floating point numbers instead of the default Python :obj:`int` and :obj:`float` types because it allows for more control. But you have to be careful. @@ -276,11 +285,11 @@ If you type an expression that just has numbers in it, it will default to a Python expression. Use the :func:`sympify` function, or just :func:`S`, to ensure that something is a SymPy expression. - >>> 6.2 # Python float. Notice the floating point accuracy problems. #doctest: +SKIP + >>> 6.2 # Python float. Notice the floating point accuracy problems. #doctest: +SKIP 6.2000000000000002 >>> type(6.2) <... 'float'> - >>> S(6.2) # SymPy Float has no such problems because of arbitrary precision. + >>> S(6.2) # SymPy Float has no such problems because of arbitrary precision. 6.20000000000000 >>> type(S(6.2)) @@ -292,11 +301,11 @@ evaluate the two numbers before SymPy has a chance to get to them. The solution is to :func:`sympify` one of the numbers, or use :mod:`Rational`. - >>> x**(1/2) # evaluates to x**0 or x**0.5 #doctest: +SKIP + >>> x**(1/2) # evaluates to x**0 or x**0.5 #doctest: +SKIP x**0.5 - >>> x**(S(1)/2) # sympyify one of the ints + >>> x**(S(1)/2) # sympyify one of the ints sqrt(x) - >>> x**Rational(1, 2) # use the Rational class + >>> x**Rational(1, 2) # use the Rational class sqrt(x) With a power of ``1/2`` you can also use ``sqrt`` shorthand: @@ -319,13 +328,13 @@ you don't have to worry about this problem: Rational. >>> x = Symbol('x') - >>> print solve(7*x -22,x) + >>> print solve(7*x -22, x) [22/7] - >>> 22/7 # If we just copy and paste we get int 3 or a float #doctest: +SKIP + >>> 22/7 # If we just copy and paste we get int 3 or a float #doctest: +SKIP 3.142857142857143 >>> # One solution is to just assign the expression to a variable >>> # if we need to use it again. - >>> a = solve(7*x - 22,x) + >>> a = solve(7*x - 22, x) >>> a [22/7] @@ -340,15 +349,15 @@ __future__ import division`` to prevent the ``/`` sign from performing `integer division `_. >>> from __future__ import division - >>> 1/2 # with division imported it evaluates to a python float #doctest: +SKIP + >>> 1/2 # With division imported it evaluates to a python float #doctest: +SKIP 0.5 - >>> 1//2 # You can still achieve integer division with // + >>> 1//2 # You can still achieve integer division with // 0 But be careful: you will now receive floats where you might have desired a Rational: - >>> x**(1/2) #doctest: +SKIP + >>> x**(1/2) #doctest: +SKIP x**0.5 :mod:`Rational` only works for number/number and is only meant for @@ -496,8 +505,8 @@ demonstrates how this works:: var('x y a b') expr = 3*x + 4*y print 'original =', expr - expr_modified = expr.subs({x:a, y:b}) - print 'modified = ', expr_modified + expr_modified = expr.subs({x: a, y: b}) + print 'modified =', expr_modified if __name__ == "__main__": main() @@ -506,7 +515,7 @@ The output shows that the :func:`subs` function has replaced variable :obj:`x` with variable :obj:`a`, and variable :obj:`y` with variable :obj:`b`:: original = 3*x + 4*y - modified = 3*a + 4*b + modified = 3*a + 4*b The :func:`subs` function does not modify the original expression :obj:`expr`. Rather, a modified copy of the expression is returned. This returned object @@ -517,6 +526,7 @@ before it is used. Mathematical Operators ---------------------- + SymPy uses the same default operators as Python. Most of these, like ``*/+-``, are standard. Aside from integer division discussed in :ref:`Python numbers vs. SymPy Numbers ` above, @@ -534,11 +544,11 @@ In :command:`isympy`, with the :command:`ipython` shell:: SyntaxError: invalid syntax >>> 2*x 2*x - >>> (x+1)^2 # This is not power. Use ** instead. + >>> (x + 1)^2 # This is not power. Use ** instead. Traceback (most recent call last): ... TypeError: unsupported operand type(s) for ^: 'Add' and 'int' - >>> (x+1)**2 + >>> (x + 1)**2 (x + 1)**2 >>> pprint(3 - x**(2*x)/(x + 1)) 2*x @@ -549,6 +559,7 @@ In :command:`isympy`, with the :command:`ipython` shell:: Inverse Trig Functions ---------------------- + SymPy uses different names for some functions than most computer algebra systems. In particular, the inverse trig functions use the python names of :func:`asin`, :func:`acos` and so on instead of the usual ``arcsin`` @@ -557,6 +568,7 @@ above to see the names of all SymPy functions. Special Symbols =============== + The symbols ``[]``, ``{}``, ``=``, and ``()`` have special meanings in Python, and thus in SymPy. See the Python docs linked to above for additional information. @@ -565,6 +577,7 @@ additional information. Lists ----- + Square brackets ``[]`` denote a list. A list is a container that holds any number of different objects. A list can contain anything, including items of different types. Lists are mutable, which means that you can @@ -578,15 +591,15 @@ or list variable. Items are numbered using the space before the item. Example: - >>> a = [x, 1] # A simple list of two items + >>> a = [x, 1] # A simple list of two items >>> a [x, 1] - >>> a[0] # This is the first item + >>> a[0] # This is the first item x - >>> a[0] = 2 # You can change values of lists after they have been created + >>> a[0] = 2 # You can change values of lists after they have been created >>> print a [2, 1] - >>> print solve(x**2+2*x-1,x) # Some functions return lists + >>> print solve(x**2 + 2*x - 1, x) # Some functions return lists [-1 + sqrt(2), -sqrt(2) - 1] @@ -596,21 +609,22 @@ Example: Dictionaries ------------ + Curly brackets ``{}`` denote a dictionary, or a dict for short. A dictionary is an unordered list of non-duplicate keys and values. The -syntax is ``{key:value}``. You can access values of keys using square +syntax is ``{key: value}``. You can access values of keys using square bracket notation. - >>> d = {'a':1, 'b':2} # A dictionary. + >>> d = {'a': 1, 'b': 2} # A dictionary. >>> d {'a': 1, 'b': 2} - >>> d['a'] # How to access items in a dict + >>> d['a'] # How to access items in a dict 1 - >>> roots((x-1)**2*(x-2),x) # some functions return dicts + >>> roots((x - 1)**2*(x - 2), x) # Some functions return dicts {1: 2, 2: 1} >>> # Some SymPy functions return dictionaries. For example, >>> # roots returns a dictionary of root:multiplicity items. - >>> roots((x - 5)**2*(x + 3),x) + >>> roots((x - 5)**2*(x + 3), x) {-3: 1, 5: 2} >>> # This means that the root -3 occurs once and the root 5 occurs twice. @@ -620,6 +634,7 @@ bracket notation. Tuples ------ + Parentheses ``()``, aside from changing operator precedence and their use in function calls, (like ``cos(x)``), are also used for tuples. A ``tuple`` is identical to a :ref:`list `, except that it is not @@ -628,12 +643,12 @@ have been created. In general, you will not need tuples in SymPy, but sometimes it can be more convenient to type parentheses instead of square brackets. - >>> t = (1, 2, x) # Tuples are like lists + >>> t = (1, 2, x) # Tuples are like lists >>> t (1, 2, x) >>> t[0] 1 - >>> t[0] = 4 # Except you can not change them after they have been created + >>> t[0] = 4 # Except you can not change them after they have been created Traceback (most recent call last): File "", line 1, in TypeError: 'tuple' object does not support item assignment @@ -665,6 +680,7 @@ square brackets. Keyword Arguments ----------------- + Aside from the usage described :ref:`above `, equals signs (``=``) are also used to give named arguments to functions. Any function that has ``key=value`` in its parameters list (see below on how @@ -720,14 +736,16 @@ that you want, and they will all be evaluated according to the function. Getting help from within SymPy ============================== + help() ------ + Although all docs are available at `docs.sympy.org `_ or on the `SymPy Wiki `_, you can also get info on functions from within the Python interpreter that runs SymPy. The easiest way to do this is to do ``help(function)``, or ``function?`` if you are using :command:`ipython`:: - In [1]: help(powsimp) # help() works everywhere + In [1]: help(powsimp) # help() works everywhere In [2]: # But in ipython, you can also use ?, which is better because it In [3]: # it gives you more information @@ -741,12 +759,13 @@ These will give you the function parameters and docstring for source() -------- + Another useful option is the :func:`source` function. This will print the source code of a function, including any docstring that it may have. You can also do ``function??`` in :command:`ipython`. For example, from SymPy 0.6.5: - >>> source(simplify) # simplify() is actually only 2 lines of code. #doctest: +SKIP + >>> source(simplify) # simplify() is actually only 2 lines of code. #doctest: +SKIP In file: ./sympy/simplify/simplify.py def simplify(expr): """Naively simplifies the given expression. @@ -762,4 +781,3 @@ from SymPy 0.6.5: """ expr = Poly.cancel(powsimp(expr)) return powsimp(together(expr.expand()), combine='exp', deep=True) - diff --git a/doc/src/guide.rst b/doc/src/guide.rst index 32f9f8a459e6..4f90d6678d3c 100644 --- a/doc/src/guide.rst +++ b/doc/src/guide.rst @@ -24,15 +24,15 @@ Everyone has different ways of understanding the code written by others. Ondřej's approach ----------------- -Let's say I'd like to understand how ``x+y+x`` works and how it is possible -that it gets simplified to ``2*x+y``. +Let's say I'd like to understand how ``x + y + x`` works and how it is possible +that it gets simplified to ``2*x + y``. I write a simple script, I usually call it ``t.py`` (I don't remember anymore why I call it that way):: from sympy.abc import x, y - e = x + y +x + e = x + y + x print e @@ -64,7 +64,7 @@ Then I step into (F7) and after a little debugging I get for example: to fit in this guide. I see values of all local variables in the left panel, so it's very easy to see -what's happening. You can see, that the ``y+2*x`` is emerging in the ``obj`` +what's happening. You can see, that the ``y + 2*x`` is emerging in the ``obj`` variable. Observing that ``obj`` is constructed from ``c_part`` and ``nc_part`` and seeing what ``c_part`` contains (``y`` and ``2*x``). So looking at the line 28 (the whole line is not visible on the screenshot, so here it is):: @@ -124,19 +124,19 @@ class supports. For easier use, there is a syntactic sugar for expressions like: -``cos(x)+1`` is equal to ``cos(x).__add__(1)`` is equal to -``Add(cos(x),Integer(1))`` +``cos(x) + 1`` is equal to ``cos(x).__add__(1)`` is equal to +``Add(cos(x), Integer(1))`` or ``2/cos(x)`` is equal to ``cos(x).__rdiv__(2)`` is equal to -``Mul(Rational(2),Pow(cos(x),Rational(-1)))``. +``Mul(Rational(2), Pow(cos(x), Rational(-1)))``. So, you can write normal expressions using python arithmetics like this:: - a=Symbol("a") - b=Symbol("b") - e=(a+b)**2 + a = Symbol("a") + b = Symbol("b") + e = (a + b)**2 print e but from the sympy point of view, we just need the classes ``Add``, ``Mul``, @@ -155,8 +155,8 @@ implementation. Obviously, the definition of the canonical form is arbitrary, the only requirement is that all equivalent expressions must have the same canonical form. We tried the conversion to a canonical (standard) form to be as fast as possible and also in a way so that the result is what you would -write by hand - so for example ``b*a + -4 + b + a*b + 4 + (a+b)**2`` becomes -``2*a*b + b + (a+b)**2``. +write by hand - so for example ``b*a + -4 + b + a*b + 4 + (a + b)**2`` becomes +``2*a*b + b + (a + b)**2``. Whenever you construct an expression, for example ``Add(x, x)``, the ``Add.__new__()`` is called and it determines what to return. In this case:: @@ -179,17 +179,17 @@ Comparisons Expressions can be compared using a regular python syntax:: >>> from sympy.abc import x, y - >>> x+y == y+x + >>> x + y == y + x True - >>> x+y == y-x + >>> x + y == y - x False -We made the following decision in SymPy: ``a=Symbol("x")`` and another -``b=Symbol("x")`` (with the same string "x") is the same thing, i.e ``a==b`` is -``True``. We chose ``a==b``, because it is more natural - ``exp(x)==exp(x)`` is +We made the following decision in SymPy: ``a = Symbol("x")`` and another +``b = Symbol("x")`` (with the same string "x") is the same thing, i.e ``a == b`` is +``True``. We chose ``a == b``, because it is more natural - ``exp(x) == exp(x)`` is also ``True`` for the same instance of ``x`` but different instances of ``exp``, -so we chose to have ``exp(x)==exp(x)`` even for different instances of ``x``. +so we chose to have ``exp(x) == exp(x)`` even for different instances of ``x``. Sometimes, you need to have a unique symbol, for example as a temporary one in some calculation, which is going to be substituted for something else at the @@ -228,8 +228,8 @@ You can define the ``cos`` class like this:: class cos(Function): pass -and use it like ``1+cos(x)``, but if you don't implement the ``fdiff()`` method, -you will not be able to call ``(1+cos(x)).series()``. +and use it like ``1 + cos(x)``, but if you don't implement the ``fdiff()`` method, +you will not be able to call ``(1 + cos(x)).series()``. The symbolic object is characterized (defined) by the things which it can do, so implementing more methods like ``fdiff()``, ``subs()`` etc., you are creating @@ -244,7 +244,7 @@ immediately which methods need to be implemented in each situation. All objects in sympy are immutable - in the sense that any operation just returns a new instance (it can return the same instance only if it didn't change). This is a common mistake to change the current instance, like -``self.arg=self.arg +1`` (wrong!). Use ``arg=self.arg + 1; return arg`` instead. +``self.arg = self.arg + 1`` (wrong!). Use ``arg = self.arg + 1; return arg`` instead. The object is immutable in the sense of the symbolic expression it represents. It can modify itself to keep track of, for example, its hash. Or it can recalculate anything regarding the @@ -341,7 +341,7 @@ This is how to create a function with two variables:: def eval(cls, n, k): if not 0 <= k < n: raise ValueError("must have 0 <= k < n") - return C.cos(S.Pi*(2*k+1)/(2*n)) + return C.cos(S.Pi*(2*k + 1)/(2*n)) .. note:: the first argument of a @classmethod should be ``cls`` (i.e. not @@ -388,7 +388,7 @@ the function itself:: ... nargs = 1 ... ... def fdiff(self, argindex = 1): - ... return 1-what_am_i(self.args[0])**2 + ... return 1 - what_am_i(self.args[0])**2 ... ... @classmethod ... def eval(cls, arg): @@ -421,7 +421,7 @@ can use them all over SymPy, e.g.:: 1 -common tasks +Common tasks ------------ Please use the same way as is shown below all across SymPy. @@ -536,4 +536,3 @@ Improving the docs Please see :ref:`the documentation ` how to fix and improve SymPy's documentation. All contribution is very welcome. - diff --git a/doc/src/install.rst b/doc/src/install.rst index 5ff62a04c060..18c1537cc5d7 100644 --- a/doc/src/install.rst +++ b/doc/src/install.rst @@ -10,6 +10,7 @@ distributions have SymPy packages available. Source ====== + SymPy currently recommends that users install directly from the source files. You will first have to download the source files via the archive. Download the latest release (tar.gz) from the `downloads site`_ and open it with your @@ -43,6 +44,7 @@ You may now run SymPy statements directly within the Python shell:: Git === + If you are a developer or like to get the latest updates as they come, be sure to install from git. To download the repository, execute the following from the command line:: @@ -70,6 +72,7 @@ everything in the py3ksympy directory. Other Methods ============= + An installation executable is available for Windows users at the `downloads site`_ (.exe). In addition, various Linux distributions have SymPy available as a package. Others are strongly encouraged to download from source @@ -77,6 +80,7 @@ available as a package. Others are strongly encouraged to download from source Run SymPy ========= + After installation, it is best to verify that your freshly-installed SymPy works. To do this, start up Python and import the SymPy libraries:: diff --git a/doc/src/python-comparisons.rst b/doc/src/python-comparisons.rst index 6285a18a7d6e..4e82744b363f 100644 --- a/doc/src/python-comparisons.rst +++ b/doc/src/python-comparisons.rst @@ -280,14 +280,14 @@ The above method resolution can be verified using the following program:: show("set([a, b])") print "--- x = set([a, b]); y = set([a, b]); ---" - x = set([a,b]) - y = set([a,b]) + x = set([a, b]) + y = set([a, b]) print " x == y :" x == y print "--- x = set([a, b]); y = set([b, d]); ---" - x = set([a,b]) - y = set([b,d]) + x = set([a, b]) + y = set([b, d]) print " x == y :" x == y From 6c1ee8c58454980870e86375caac6e8c694a9d99 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Tue, 11 Dec 2012 18:35:48 +0100 Subject: [PATCH 9/9] Fix typo. --- doc/src/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/install.rst b/doc/src/install.rst index 18c1537cc5d7..6af6a86db57b 100644 --- a/doc/src/install.rst +++ b/doc/src/install.rst @@ -68,7 +68,7 @@ directory. If you're using the git repository with Python 3, you have to use the ``./bin/use2to3`` script to build the Python 3 version of SymPy. This will put -everything in the py3ksympy directory. +everything in the py3k-sympy directory. Other Methods =============