Skip to content

Commit

Permalink
Harmonizing layout
Browse files Browse the repository at this point in the history
  • Loading branch information
GaelVaroquaux committed Aug 24, 2011
1 parent 778480e commit ba5ec93
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 24 deletions.
1 change: 1 addition & 0 deletions advanced/advanced_numpy/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ In this section, numpy will be imported as follows::
>>> import numpy as np

.. contents::
:local:
:depth: 2


Expand Down
13 changes: 10 additions & 3 deletions advanced/advanced_python/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,18 @@ that their use is as simple as possible.

.. _PEPs: http://www.python.org/dev/peps/

.. contents:: Chapters contents
:local:
:depth: 4



Iterators, generator expressions and generators
===============================================

Iterators
^^^^^^^^^

.. sidebar:: Simplicity

Duplication of effort is wasteful, and replacing the various
Expand All @@ -46,8 +55,6 @@ Iterators, generator expressions and generators
.. _`Adding Optional Static Typing to Python`:
http://www.artima.com/weblogs/viewpost.jsp?thread=86641

Iterators
^^^^^^^^^

An iterator is an object adhering to the `iterator protocol`_
--- basically this means that it has a `next <iterator.next>` method,
Expand Down Expand Up @@ -157,7 +164,7 @@ Generator expression are fairly simple, not much to say here. Only one
Generators
^^^^^^^^^^

.. sidebar::
.. sidebar:: Generators

A generator is a function that produces a
sequence of results instead of a single value.
Expand Down
6 changes: 6 additions & 0 deletions advanced/image_processing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ More powerful and complete modules:

* many more...

.. contents:: Chapters contents
:local:
:depth: 4



Opening and writing to image files
==================================

Expand Down
6 changes: 3 additions & 3 deletions advanced/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ Advanced topics

advanced_python/index.rst
advanced_numpy/index.rst
scipy_sparse/index.rst
debugging/index.rst
optimizing/index.rst
sympy.rst
3d_plotting/index.rst
scipy_sparse/index.rst
image_processing/index.rst
3d_plotting/index.rst
sympy.rst
scikit-learn/index.rst
37 changes: 19 additions & 18 deletions advanced/sympy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,30 @@ Sympy : Symbolic Mathematics in Python

:author: Fabian Pedregosa

Objectives
==========
.. topic:: Objectives

At the end of this session you will be able to:

1. Evaluate expressions with arbitrary precision.
2. Perform algebraic manipulations on symbolic expressions.
3. Perform basic calculus tasks (limits, differentiation and
integration) with symbolic expressions.
4. Solve polynomial and transcendental equations.
5. Solve some differential equations.
1. Evaluate expressions with arbitrary precision.
2. Perform algebraic manipulations on symbolic expressions.
3. Perform basic calculus tasks (limits, differentiation and
integration) with symbolic expressions.
4. Solve polynomial and transcendental equations.
5. Solve some differential equations.

.. role:: input(strong)

What is SymPy?
==============
**What is SymPy?** SymPy is a Python library for symbolic mathematics. It
aims become a full featured computer algebra system that can compete
directly with commercial alternatives (Mathematica, Maple) 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.

Sympy documentation and packages for installation can be found on
http://sympy.org/

SymPy is a Python library for symbolic mathematics. It aims become a
full featured computer algebra system that can compete directly with
commercial alternatives (Mathematica, Maple) 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.
.. contents:: Chapters contents
:local:
:depth: 4


First Steps with SymPy
Expand Down

0 comments on commit ba5ec93

Please sign in to comment.