diff options
author | Jonathan Helmus <jjhelmus@gmail.com> | 2013-06-28 12:19:25 -0500 |
---|---|---|
committer | Jonathan Helmus <jjhelmus@gmail.com> | 2013-09-13 16:25:12 -0500 |
commit | f8cdbbaee1967011d98aa454b14232488df451d3 (patch) | |
tree | 5cabdc04b3df90d020a80cbcd546546e008f7f89 /doc | |
parent | ad3f60156d244471ad86d57bb92b2b4e32c22324 (diff) | |
download | numpy-f8cdbbaee1967011d98aa454b14232488df451d3.tar.gz |
ENH: Add dtype parameter to linspace and logspace functions.
Many NumPy functions such as arange allow users to define the dtype of the
returned type with a dtype parameter. This adds this same functionality
to the logspace and linspace functions.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/1.9.0-notes.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release/1.9.0-notes.rst b/doc/release/1.9.0-notes.rst index 0b1ab77f1..b78211d24 100644 --- a/doc/release/1.9.0-notes.rst +++ b/doc/release/1.9.0-notes.rst @@ -31,6 +31,10 @@ functions (ufuncs), ``numpy.core._dotblas.dot``, and ``numpy.core.multiarray.dot`` (the numpy.dot functions). By defining a ``__numpy_ufunc__`` method. +Dtype parameter added to `np.linspace` and `np.logspace` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The returned data type from the `linspace` and `logspace` functions +can now be specificed using the dtype parameter. Improvements ============ @@ -39,6 +43,7 @@ Improvements Changes ======= + C-API ~~~~~ |