def poly(var_x, coeffs):
    """ Return linear polynomial with given coefficients.

    var_x :  scalar, vector, or array
        input argument
    coeffs :  float
        vector of polynomial coefficients

    """
    poly_out = coeffs[0] + coeffs[1] * var_x
    return poly_out
