Skip to content

Commit

Permalink
Doctest changes from JuliaLang#17113
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Jun 29, 2016
1 parent ebef007 commit eb97af3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions base/docs/helpdb/Base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9397,10 +9397,7 @@ on the `permute` and `scale` keyword arguments. The eigenvectors are returned co
```jldoctest
julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
([1.0,3.0,18.0],
3×3 Array{Float64,2}:
1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0)
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])
```
`eig` is a wrapper around [`eigfact`](:func:`eigfact`), extracting all parts of the
Expand Down
2 changes: 1 addition & 1 deletion doc/devdocs/reflection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ the macro will be evaluated and the result will be passed instead!). For example
.. doctest::

julia> macroexpand( :(@edit println("")) )
:(Base.edit(println,(Base.typesof)("")))
:((Base.edit)(println,(Base.typesof)("")))

The functions :func:`Base.Meta.show_sexpr` and :func:`dump` are used to display S-expr style views
and depth-nested detail views for any expression.
Expand Down
5 changes: 1 addition & 4 deletions doc/stdlib/linalg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,7 @@ Linear algebra functions in Julia are largely implemented by calling functions f

julia> eig([1.0 0.0 0.0; 0.0 3.0 0.0; 0.0 0.0 18.0])
([1.0,3.0,18.0],
3×3 Array{Float64,2}:
1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0)
[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0])

``eig`` is a wrapper around :func:`eigfact`\ , extracting all parts of the factorization to a tuple; where possible, using :func:`eigfact` is recommended.

Expand Down

0 comments on commit eb97af3

Please sign in to comment.