check_convergence.Rd
Check convergence of variational algorithm
check_convergence(L, iter, tol, maxiter, verbose)
L | Lower bound |
---|---|
iter | Iteration number |
tol | Tolerance |
maxiter | Maximum number of iterations |
verbose | Boolean flag that, if TRUE, prints the outcome of the convergence check |
Boolean flag that indicates if algorithm has converged