minterpy.utils#
The utility sub-package used across Minterpy.
The utility functions are organized into modules based on the context
in which they are used.
For example, utilities related to the Newton polynomial are located
in the minterpy.utils.polynomials.newton
module.
This organization prevents utility modules from being scattered across various Minterpy sub-packages. Although a utility module may suggest that the functions within are generic, they are usually specific to a particular context.
Moreover, these functions are organized not only because they may be used
in multiple places, but also to represent a distinct layer of abstraction.
These functions operate on lower-level data structures,
predominantly NumPy arrays, and do not assume any knowledge of higher-level
constructs from the Minterpy abstraction,
such as instances of concrete polynomials
,
MultiIndexSet
, or Grid
.
Module |
Description |
---|---|
Common and relevant numerical routines that operate on arrays |
|
Numerical routines relevant to multi-indices of exponents |
|
Numerical routines relevant to the Lagrange basis |
|
Numerical routines relevant to the Newton basis |
|
Numerical routines relevant to the canonical basis |
|
Numerical routines relevant to the Chebyshev basis |
|
Numerical routines relevant to quadrature |
|
Utility functions to verify a given value |