DOC: https://numpy.org/doc/stable/reference/routines.math.html
See original GitHub issueThere are inconsistencies in the short descriptions here. Sometimes the definite article is used and sometimes not, which makes it hard to see whether two functions do the same job or not, because the texts don’t align:
fmod(x1, x2, /[, out, where, casting, …]) | Return the element-wise remainder of division.
mod(x1, x2, /[, out, where, casting, order, …]) | Return element-wise remainder of division
Then some of the descriptions say “return …”, some say “returns”, and some say neither. Isn’t the “return(s)” always redundant? Obviously the function returns what it has computed.
Finally, the indefinite article in “Returns a true division of the inputs, element-wise” suggests that there is more than one true division. Is this really the case?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Mathematical functions — NumPy v1.24 Manual
Trigonometric functions# · Hyperbolic functions# · Rounding# · Sums, products, differences# · Exponents and logarithms# · Other special functions# · Floating point ...
Read more >math — Mathematical functions — Python 3.11.1 documentation
This module provides access to the mathematical functions defined by the C standard. These functions cannot be used with complex numbers; use the...
Read more ><math> - MathML - MDN Web Docs
The <math> MathML element is the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content ......
Read more >Math (Java Platform SE 8 ) - Oracle Help Center
The class Math contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric ...
Read more >JavaScript Math Object - W3Schools
The JavaScript Math object allows you to perform mathematical tasks on numbers. ... Unlike other objects, the Math object has no constructor.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Working on this as part of the PyDataGlobal 2021 NumPy-SciPy sprint
I think this will need a PR with a concrete proposal to push it forward. I’ll leave it open for now, but will close in the near future if there’s no proposal to move forward. Please feel free to contribute suggestions!