8000 ENH: Add gcd and lcm ufuncs by eric-wieser · Pull Request #8774 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: Add gcd and lcm ufuncs #8774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 13, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
DOC: Add release notes for lcm and gcd
  • Loading branch information
eric-wieser committed Dec 13, 2017
commit 58998a87f4231ea7ede6352df949c8b746830df6
9 changes: 9 additions & 0 deletions doc/release/1.15.0-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Highlights
New functions
=============

* `np.gcd` and `np.lcm`, to compute the greatest common divisor and least
common multiple.


Deprecations
============
Expand Down Expand Up @@ -40,6 +43,12 @@ C API changes
New Features
============

``np.gcd`` and ``np.lcm`` ufuncs added for integer and objects types
--------------------------------------------------------------------
These compute the greatest common divisor, and lowest common multiple,
respectively. These work on all the numpy integer types, as well as the
builtin arbitrary-precision `Decimal` and `long` types.


Improvements
============
Expand Down
0