def linear(X, A, B):
    """
    Linear function

    Parameters
    ----------
    X: numpy array, float, int
        independent variable
    A, B: float
        Quadratic function parameters.

    Returns
    -------
    Operation on X
    """
    return A * X + B