diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2018-12-06 11:32:35 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-06 11:32:35 -0800 |
| commit | 2970e41fcd33b20fecba5c089b24650836d24a7d (patch) | |
| tree | 361e2f59b7dc7d63c70f41338c42d27dbb98b66c /doc | |
| parent | 45cef38cda80868355a920b5e94211dcf662ea07 (diff) | |
| parent | abf62624f7e2ea41029c0dbaeef9c2851429a07a (diff) | |
| download | numpy-2970e41fcd33b20fecba5c089b24650836d24a7d.tar.gz | |
Merge pull request #12388 from mhvk/linspace-allow-array
ENH: allow arrays for start and stop in {lin,log,geom}space
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/release/1.16.0-notes.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/release/1.16.0-notes.rst b/doc/release/1.16.0-notes.rst index 791cbe731..8d176c3ea 100644 --- a/doc/release/1.16.0-notes.rst +++ b/doc/release/1.16.0-notes.rst @@ -20,7 +20,7 @@ New functions ============= * New functions in the `numpy.lib.recfunctions` module to ease the structured - assignment changes: `assign_fields_by_name`, `structured_to_unstructured`, + assignment changes: `assign_fields_by_name`, `structured_to_unstructured`, `unstructured_to_structured`, `apply_along_fields`, and `require_fields`. See the user guide at <https://docs.scipy.org/doc/numpy/user/basics.rec.html> for more info. @@ -389,6 +389,13 @@ overlapping fields and padding. implementation has also changed, ensuring it uses the same BLAS routines as `numpy.dot`, ensuring its performance is similar for large matrices. +Start and stop arrays for ``linspace``, ``logspace`` and ``geomspace`` +---------------------------------------------------------------------- +These functions used to be limited to scalar stop and start values, but can +now take arrays, which will be properly broadcast and result in an output +which has one axis prepended. This can be used, e.g., to obtain linearly +interpolated points between sets of points. + Changes ======= |
