Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
nennigb committed Mar 13, 2024
1 parent 9219f37 commit e70a353
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion eastereig/fpoly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# along with Eastereig. If not, see <https://www.gnu.org/licenses/>.

"""
Select the the good polynomial module (fast fortran full python fallback version).
Select the good polynomial module (fast fortran full python fallback version).
Neither `_fpolyval_full_py.py`, nor `_fpolyval.cpython-xxx.so`
are supposed to be imported directly. One must use the `fpoly` module.
Expand Down
2 changes: 1 addition & 1 deletion eastereig/fpoly/_fpoly.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
is provided.
All evaluations are performed for *complex* argument nu.
In all cases the coefficients given in the array a
In all cases the coefficients given in the array `a`
the variable nu[0] is associated the `a` 1st dimension, nu[1] the second,
and nu[2] the third.
"""
Expand Down
6 changes: 3 additions & 3 deletions eastereig/fpoly/_fpolyval_full_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
speed up polynomial evalations (see README for details).
All evaluations are performed for *complex* argument nu.
In all cases the coefficients given in the array a
In all cases the coefficients given in the array `a`
the variable nu[0] is associated the `a` 1st dimension, nu[1] the second,
and nu[2] the third.
"""
Expand All @@ -38,9 +38,9 @@ def polyvalnd(nu, a):
This module uses the series' convention, ie considering a polynomial such
P = sum_{i,...,k} a_i..k nu[0]**i ... nu[k]**k, the term a_00 is the
constant and a[-1,..., -1] is the highest degree term.
The ordering is the same as numpy.polynomial.polynomial.
The ordering is the same as `numpy.polynomial.polynomial`.
It uses Horner method from `numpy.polynomial.polynomial`.
It uses Horner's method from `numpy.polynomial.polynomial`.
Parameters
----------
Expand Down

0 comments on commit e70a353

Please sign in to comment.