diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-05 20:03:39 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2014-09-07 14:14:22 +0200 |
commit | e7a837086e2cf304deff43c5eaf06132de2608a5 (patch) | |
tree | 50dbee824056fc9792298242990e7cf5cc71a082 /doc | |
parent | f137171136bd8ea244dcd9dc73278f6201f24dd6 (diff) | |
download | numpy-e7a837086e2cf304deff43c5eaf06132de2608a5.tar.gz |
ENH: add cube root function np.cbrt for real floats
wraps the C99 cube root function cbrt.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.10.0-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.10.0-notes.rst b/doc/release/1.10.0-notes.rst index 3f52bd5af..b26e02363 100644 --- a/doc/release/1.10.0-notes.rst +++ b/doc/release/1.10.0-notes.rst @@ -25,6 +25,12 @@ NPY_RELAXED_STRIDE_CHECKING is now true by default. New Features ============ +`np.cbrt` to compute cube root for real floats +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +`np.cbrt` wraps the C99 cube root function `cbrt`. +Compared to `np.power(x, 1./3.)` it is well defined for negative real floats +and a bit faster. + Improvements ============ |