From e70a35303947680b29b1f32e5af99e5539bd77bc Mon Sep 17 00:00:00 2001 From: bn Date: Wed, 13 Mar 2024 18:20:10 +0100 Subject: [PATCH] Fix typos. --- eastereig/fpoly/__init__.py | 2 +- eastereig/fpoly/_fpoly.py | 2 +- eastereig/fpoly/_fpolyval_full_py.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eastereig/fpoly/__init__.py b/eastereig/fpoly/__init__.py index f6c32ea..2880922 100644 --- a/eastereig/fpoly/__init__.py +++ b/eastereig/fpoly/__init__.py @@ -17,7 +17,7 @@ # along with Eastereig. If not, see . """ -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. diff --git a/eastereig/fpoly/_fpoly.py b/eastereig/fpoly/_fpoly.py index 92d39c5..a4e7beb 100755 --- a/eastereig/fpoly/_fpoly.py +++ b/eastereig/fpoly/_fpoly.py @@ -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. """ diff --git a/eastereig/fpoly/_fpolyval_full_py.py b/eastereig/fpoly/_fpolyval_full_py.py index 9d83eb6..6c0ec27 100644 --- a/eastereig/fpoly/_fpolyval_full_py.py +++ b/eastereig/fpoly/_fpolyval_full_py.py @@ -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. """ @@ -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 ----------