BarycentricOperator#
This module contains the concrete implementations of the barycentric operators classes.
The class BarycentricOperator
implements the abstract base class
OperatorABC
and
serves as the parent class for several specialized barycentric transformation
operator classes.
These specialized classes differ in how the decomposition of the transformation matrix is performed and how the transformation is applied:
- class minterpy.schemes.barycentric.operators.BarycentricOperator(transformation, transformation_data)[source]#
Bases:
OperatorABC
Base class for the barycentric transformation operators. Specialized versions (dict, factorised, and piecewise) are derived from this base class.
Properties
Array representation of the global transformation matrix.
Array representation of the sub-transformation matrix transforming only the active monomials.
Reconstructs the global transformation matrix.
Methods
merging_fct
(*args)Abstract method for reconstructing the global matrix from the decomposition.
transformation_fct
(coeffs_in, ...)Abstract method for executing the potentially decomposed linear transformation.
- Parameters:
transformation (TransformationABC)
- abstract static transformation_fct(coeffs_in, coeffs_out_placeholder, *args)[source]#
Abstract method for executing the potentially decomposed linear transformation.
- abstract static merging_fct(*args)[source]#
Abstract method for reconstructing the global matrix from the decomposition.
- __matmul__(other)[source]#
Applies the transformation operator on the input.
- Parameters:
other (OperatorABC | ndarray)
- Return type:
- __init__(transformation, transformation_data)#
- Parameters:
transformation (TransformationABC)
- __weakref__#
list of weak references to the object (if defined)