Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #17263: remove empty lines between doctests
Browse files Browse the repository at this point in the history
and other minimal changes
  • Loading branch information
cheuberg committed Jul 11, 2015
1 parent fa9b5c0 commit 31e33ac
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/sage/combinat/fsm_fourier.pyx
Expand Up @@ -409,24 +409,21 @@ def _reduce_resolution_(data, x_min, x_max, resolution):
such that `y_\mathrm{min}\le y\le y_\mathrm{max}` and
`0\le x-x'< (x_\mathrm{max}-x_\mathrm{min})/\mathit{resolution}`.
A list plot of the original list thus corresponds to plot of the vertical line
segments defined by the output.
A list plot of the original list thus corresponds to plot of the
vertical line segments defined by the output.
EXAMPLE::
EXAMPLES::
sage: from sage.combinat.fsm_fourier import _reduce_resolution_ # optional - arb
sage: _reduce_resolution_(((i/10, i) for i in range(10)), # optional - arb
....: 0, 1, 2)
[(0.0, 0, 4), (0.5, 5, 9)]
sage: _reduce_resolution_(((1 - i/10, i) for i in range(1, 11)), # optional - arb
....: 0, 1, 2)
[(0.0, 6, 10), (0.5, 1, 5)]
sage: _reduce_resolution_(((0, 2), (0.2, 1), (0.4, 0), # optional - arb
....: (0.6, 1.5), (0.8, 3)), 0, 1, 2)
[(0.0, 0, 2), (0.5, 1.50000000000000, 3)]
sage: _reduce_resolution_([(0, 10)], # optional - arb
....: 0, 1, 2)
[(0.0, 10, 10)]
Expand Down

0 comments on commit 31e33ac

Please sign in to comment.