def __init__(self, **keywords): IterativeAlgorithm.__init__( self, a=1, b=1/np.sqrt(2), t=1/4, p=1, p_dtype=int, inplace_recursion=True, normal_stop_condition= MaxIterationStopCondition(10), **keywords)
def __init__(self, **keywords): IterativeAlgorithm.__init__(self, x_old=0, x=1, **keywords)
def __init__(self, **keywords): IterativeAlgorithm.__init__( self, a=1, b=1/np.sqrt(2), t=1/4, p=1, p_dtype=int, allocate_new_state=False, normal_stop_condition= MaxIterationStopCondition(10), **keywords)
def func(keywords, expected): a = IterativeAlgorithm(**keywords) assert_eq(a._get_suffix(), expected)