Skip to content

Commit

Permalink
Merge pull request JuliaLang#76 from goretkin/patch-1
Browse files Browse the repository at this point in the history
Update sampling.rst
  • Loading branch information
lindahua committed Jun 23, 2014
2 parents 3ac64e6 + bf951c1 commit 3e3698a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/sampling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Here are a list of algorithms implemented in the package. The functions below ar
- ``x``: the destination array
- ``wv``: the weight vector (of type ``WeightVec``), for weighted sampling
- ``n``: the length of ``a``
- ``k``: the length of ``k``. For sampling without replacement, ``k`` must not exceed ``n``.
- ``k``: the length of ``x``. For sampling without replacement, ``k`` must not exceed ``n``.

All following functions write results to ``x`` (pre-allocated) and return ``x``.

Expand Down

0 comments on commit 3e3698a

Please sign in to comment.