diff options
author | Peter Creasey <p.e.creasey.00@gmail.com> | 2016-05-10 21:20:58 -0700 |
---|---|---|
committer | Peter Creasey <p.e.creasey.00@gmail.com> | 2016-05-12 13:58:58 -0700 |
commit | 6aa21ad951e8334ba3d3ac677390f7afe76cd242 (patch) | |
tree | 0b79ef2ae35d85b6fe08ef52b23ac08a5e1b9f02 /doc | |
parent | 383d800042769fc5aa159ff33988a3972e6d577f (diff) | |
download | numpy-6aa21ad951e8334ba3d3ac677390f7afe76cd242.tar.gz |
ENH: linear interpolation of complex values in lib.interp
lib.interp function now allows interpolation of complex fp with
complex128 precision (i.e. equivalent to lib.interp on the real and
imaginary parts). Tests are added for the non-periodic and periodic
cases.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.12.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.12.0-notes.rst b/doc/release/1.12.0-notes.rst index 98dd3b316..07871c10c 100644 --- a/doc/release/1.12.0-notes.rst +++ b/doc/release/1.12.0-notes.rst @@ -132,6 +132,11 @@ New nanfunctions ``nancumsum`` and ``nancumprod`` added Nanfunctions ``nancumsum`` and ``nancumprod`` have been added to compute ``cumsum`` and ``cumprod`` by ignoring nans. +``np.interp`` can now interpolate complex values +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``np.lib.interp(x, xp, fp)`` now allows the interpolated array ``fp`` +to be complex and will interpolate at ``complex128`` precision. + Improvements ============ |