Skip to content

Commit

Permalink
polish doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed May 20, 2018
1 parent 785e71a commit 9ee5486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cdfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ julia> cdf(1.0)
julia> cdf(-1.0)
0.158494
```
In this example, we collected \$10^6\$ sample from the unit normal distribution. About half of the
In this example, we collected \$10^6\$ samples from the unit normal distribution. About half of the
samples are greater than zero. Approximately the same mass is between zero and one as is between
zero and minus one.
"""
Expand Down Expand Up @@ -211,7 +211,7 @@ Base.rand(cdf::AbstractEmpiricalCDF) = _inverse(cdf,rand())
Return the functional inverse of `cdf`. `cdf` is a callable object.
`finv(cdf)` returns a function that captures `cdf` in a closure.
The following example begins with `cdf` containing `10^6` samples from
The following example begins with `cdf` containing \$10^6\$ samples from
the unit normal distribution.
```julia-repl
Expand Down

0 comments on commit 9ee5486

Please sign in to comment.