def fconst(x):
    """Constant function.

    Parameters
    ----------
    x : float, array_like
        Independent variable.

    Returns
    -------
    1 : float, scalar
        Output value, always 1.

    """
    return 1.0
