Skip to content

identity

Identity

Bases: Affine

Copy series by applying Affine tranformation with slope taken to 1 and y-intercept taken to 0.

Source code in eki_mmo_equations/one_to_one_transformations/mathematical_functions/identity.py
class Identity(Affine):
    """Copy series by applying Affine tranformation with slope taken to 1 and y-intercept taken to 0.

    ```math
        1 \\times serie + 0
    ```

    """

    def __init__(self) -> None:
        super().__init__(1, 0)

    @property
    def parameters(self) -> dict[str, float]:
        return {}