Skip to content

Commit

Permalink
Update NEWS and docs for JuliaLang#5811
Browse files Browse the repository at this point in the history
  • Loading branch information
simonster committed Feb 16, 2014
1 parent 321e7fe commit bffa6c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Library improvements

* `isempty` now works for any iterable collection ([#5827]).

* `unique` now accepts an optional `dim` argument for finding
unique rows or columns of a matrix or regions of a
multidimensional array ([#5811]).

* `Number` improvements

* The `ImaginaryUnit` type no longer exists. Instead, `im` is of type
Expand Down Expand Up @@ -241,6 +245,7 @@ Deprecated or removed
[#5526]: https://github.com/JuliaLang/julia/pull/5526
[#5538]: https://github.com/JuliaLang/julia/pull/5538
[#5726]: https://github.com/JuliaLang/julia/pull/5726
[#5811]: https://github.com/JuliaLang/julia/pull/5811

Julia v0.2.0 Release Notes
==========================
Expand Down
3 changes: 2 additions & 1 deletion doc/stdlib/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,11 @@ Iterable Collections

Returns the indices of elements in collection ``a`` that appear in collection ``b``

.. function:: unique(itr)
.. function:: unique(itr[, dim])

Returns an array containing only the unique elements of the iterable ``itr``, in
the order that the first of each set of equivalent elements originally appears.
If ``dim`` is specified, returns unique regions of the array ``itr`` along ``dim``.

.. function:: reduce(op, v0, itr)

Expand Down

0 comments on commit bffa6c0

Please sign in to comment.