Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Add a single table as summary to cmath documentation#131887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
12 commits Select commit Hold shift + click to select a range
769c65f gh-125957: sync argument naming in sphinx docs of the cmath and help()
skirpichev f34de6a + allow cmath.sin(z=1) syntax
skirpichev 680e7bf Merge branch 'master' into fix-cmath-sig-125957
skirpichev 57cc455 Revert second commit
skirpichev ec3754e Apply suggestions from code review
skirpichev ab38770 Merge branch 'master' into fix-cmath-sig-125957
skirpichev 7878c08 Add a single table as summary to cmath documentation
skirpichev eac84ff Apply suggestions from code review
skirpichev 2660f9d Merge branch 'main' into cmath.rst-tables
skirpichev 3877f29 Remove backslash
hugovk bc04593 tau spacing
AA-Turner 18c6098 remove full stop
AA-Turner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -38,6 +38,57 @@ the function is then applied to the result of the conversion. | ||
| 1.4142135623730951j | ||
| ==================================================== ============================================ | ||
| **Conversions to and from polar coordinates** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :func:`phase(z) <phase>` Return the phase of *z* | ||
| :func:`polar(z) <polar>` Return the representation of *z* in polar coordinates | ||
| :func:`rect(r, phi) <rect>` Return the complex number *z* with polar coordinates *r* and *phi* | ||
| **Power and logarithmic functions** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :func:`exp(z) <exp>` Return *e* raised to the power *z* | ||
| :func:`log(z[, base]) <log>` Return the logarithm of *z* to the given *base* (*e* by default) | ||
| :func:`log10(z) <log10>` Return the base-10 logarithm of *z* | ||
| :func:`sqrt(z) <sqrt>` Return the square root of *z* | ||
| **Trigonometric functions** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :func:`acos(z) <acos>` Return the arc cosine of *z* | ||
| :func:`asin(z) <asin>` Return the arc sine of *z* | ||
| :func:`atan(z) <atan>` Return the arc tangent of *z* | ||
| :func:`cos(z) <cos>` Return the cosine of *z* | ||
| :func:`sin(z) <sin>` Return the sine of *z* | ||
| :func:`tan(z) <tan>` Return the tangent of *z* | ||
| **Hyperbolic functions** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :func:`acosh(z) <acosh>` Return the inverse hyperbolic cosine of *z* | ||
| :func:`asinh(z) <asinh>` Return the inverse hyperbolic sine of *z* | ||
| :func:`atanh(z) <atanh>` Return the inverse hyperbolic tangent of *z* | ||
| :func:`cosh(z) <cosh>` Return the hyperbolic cosine of *z* | ||
| :func:`sinh(z) <sinh>` Return the hyperbolic sine of *z* | ||
| :func:`tanh(z) <tanh>` Return the hyperbolic tangent of *z* | ||
| **Classification functions** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :func:`isfinite(z) <isfinite>` Check if all components of *z* are finite | ||
| :func:`isinf(z) <isinf>` Check if any component of *z* is infinite | ||
| :func:`isnan(z) <isnan>` Check if any component of *z* is a NaN | ||
| :func:`isclose(a, b, *, rel_tol, abs_tol) <isclose>` Check if the values *a* and *b* are close to each other | ||
| **Constants** | ||
| -------------------------------------------------------------------------------------------------- | ||
| :data:`pi` *π* = 3.141592... | ||
| :data:`e` *e* = 2.718281... | ||
| :data:`tau` *τ* = 2\ *π* = 6.283185... | ||
AA-Turner marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page.
hugovk marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| :data:`inf` Positive infinity | ||
| :data:`infj` Pure imaginary infinity | ||
| :data:`nan` "Not a number" (NaN) | ||
| :data:`nanj` Pure imaginary NaN | ||
| ==================================================== ============================================ | ||
| Conversions to and from polar coordinates | ||
| ----------------------------------------- | ||
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.