File: abs_convergence.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\name{abs_convergence}
\alias{abs_convergence}
\docType{methods}
\title{Absolute Convergence Check.}
\description{
    Compare two values to tell whether an optimization process has converged.
}
\usage{
    abs_convergence( p_now, p_prev, epsilon = 1e-6 )
}
\arguments{
    \item{p_now}{function value of \emph{i}-th iteration.}
    \item{p_prev}{function value of \emph{i-1}-th iteration.}
    \item{epsilon}{convergence criterion}
}
\value{TRUE if deemed to have converged, FALSE otherwise}
\author{Andrius Merkys}