3
���hdZ �
@ s d Z ddlZddlZddlZddlZddddddd d
ddg
ZG d
d� de�ZG dd� de �Z
G dd� de
�ZG dd� d�Zdd� Z
d1dd�Zd2dd�Zdd � Zdd� Zdd
� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd3d+d,�Zd-d.� Zd/d0� ZdS )4aQ
Utility classes and functions for the polynomial modules.
This module provides: error and warning objects; a polynomial base class;
and some routines used in both the `polynomial` and `chebyshev` modules.
Error objects
-------------
.. autosummary::
:toctree: generated/
PolyError base class for this sub-package's errors.
PolyDomainError raised when domains are mismatched.
Warning objects
---------------
.. autosummary::
:toctree: generated/
RankWarning raised in least-squares fit for rank-deficient matrix.
Base class
----------
.. autosummary::
:toctree: generated/
PolyBase Obsolete base class for the polynomial classes. Do not use.
Functions
---------
.. autosummary::
:toctree: generated/
as_series convert list of array_likes into 1-D arrays of common type.
trimseq remove trailing zeros.
trimcoef remove small trailing coefficients.
getdomain return the domain appropriate for a given set of abscissae.
mapdomain maps points between domains.
mapparms parameters of the linear map between domains.
� N�RankWarning� PolyError�PolyDomainError� as_series�trimseq�trimcoef� getdomain� mapdomain�mapparms�PolyBasec @ s e Zd ZdZdS )r z;Issued by chebfit when the design matrix is rank deficient.N)�__name__�
__module__�__qualname__�__doc__� r r �;/tmp/pip-build-5_djhm0z/numpy/numpy/polynomial/polyutils.pyr < |