-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve docs of linspace, range, logspace, geomspace
This includes a few corrections and clarifications: * The old docs used interval notation in some cases, which was confusing in the case that `start > end`. * `linspace` now has a note describing the difference in behavior from `std::ops::RangeInclusive` for the case that `start > end`. * Panics in conversions from `usize` to `A` are now mentioned. * The docs now say that the element type must implement `Float` instead of saying that it must be `f32` or `f64`.
- Loading branch information
1 parent
95ce9e7
commit 0295d46
Showing
4 changed files
with
49 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters