Conversation
Coverage Report
The above coverage report was generated for the changes in this PR. |
Signed-off-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
Signed-off-by: Athan <kgryte@gmail.com>
kgryte
left a comment
There was a problem hiding this comment.
Apart from the commented examples, this PR is looking good.
| var meanors = require( './../lib' ); | ||
|
|
||
| // Generate an array of random numbers: | ||
| var xbuf = uniform( 25, 0.0, 20.0 ); |
There was a problem hiding this comment.
In general, for the top-level APIs, prefer using other high-level (i.e., ndarray) APIs in examples (e.g., random/uniform, blas/ext/linspace, etc).
There was a problem hiding this comment.
@kgryte So the previous APIs already have the discrete uniform functions. Do we need to update or change that format as well?
There was a problem hiding this comment.
@Orthodox-64 Which previous APIs? Are you referring to stats/base/ndarray or top-level stats/* packages?
There was a problem hiding this comment.
Of the top-level stats APIs, the only ones where we effectively need to perform manual ndarray creation is for the nan* variants, as we don't have PRNGs which support ndarray creation with missing values.
There was a problem hiding this comment.
The top-level stats/* packages
There was a problem hiding this comment.
You have a particular API in mind? If so, mind sharing a link?
kgryte
left a comment
There was a problem hiding this comment.
Left another round of comments.
Resolves None.
Description
This pull request:
stats/meanorsRelated Issues
This pull request has the following related issues:
Questions
No.
Other
No.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
{{TODO: add disclosure if applicable}}
@stdlib-js/reviewers