Model

The first step to solving your system of equations is to implement a Model. Define a class that inherits from it and assign _equations attribute for it. An example is provided in the examples folder

Model

Source code in splitfxm/model.py
class Model:
    def __init__(self):
        """
        Initialize a Model object.
        """
        self._equation = None

    def equation(self):
        """
        Get the equation associated with this model

        Returns
        -------
        list
            The list of equations
        """
        return self._equation

__init__()

Initialize a Model object.

Source code in splitfxm/model.py
def __init__(self):
    """
    Initialize a Model object.
    """
    self._equation = None

equation()

Get the equation associated with this model

Returns:
  • list

    The list of equations

Source code in splitfxm/model.py
def equation(self):
    """
    Get the equation associated with this model

    Returns
    -------
    list
        The list of equations
    """
    return self._equation