Coverage for src / chebpy / __init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-20 05:55 +0000

1"""ChebPy: A Python implementation of Chebfun. 

2 

3ChebPy is a Python package for computing with functions using Chebyshev series 

4approximations. It provides tools for function approximation, differentiation, 

5integration, rootfinding, and more, inspired by the MATLAB Chebfun package. 

6 

7This package contains the core classes and functions that implement ChebPy's functionality, 

8including fundamental data structures for representing functions, algorithms for numerical 

9operations, and utilities for working with these objects. 

10 

11Main components and modules: 

12- chebfun: Main class for representing functions and creating Chebfun objects 

13- pwc: Function for creating piecewise-constant Chebfun objects 

14- UserPreferences: Class for configuring package preferences 

15- bndfun: Functions on bounded intervals 

16- chebtech: Chebyshev technology for approximating functions 

17- algorithms: Numerical algorithms used throughout the package 

18- utilities: Helper functions and classes 

19""" 

20 

21import importlib.metadata 

22 

23from .api import chebfun, pwc 

24from .settings import ChebPreferences as UserPreferences 

25 

26__all__ = ["chebfun", "pwc", "UserPreferences"] 

27__version__ = importlib.metadata.version("chebpy")