A function that sets the values such that, in dae functions,
values less than it are considered to be zero. The values are stored
in a vector
named daeTolerance
in the daeEnv
environment. The vector
is of length two and, initially, both
values are set to .Machine$double.eps ^ 0.5
(about 1.5E-08).
One value is named element.tol
and is used for elements of
matrices; the second is named element.eigen
and is used for
eigenvalues and quantities based on them, such as efficiency factors.
set.daeTolerance(element.tol=NULL, eigen.tol=NULL)
The vector
daeTolerance
is returned invisibly.
The value to to which the first element of the daeTolerance
vector
is to be set. If more than one value is
supplied, only the first value is used.
The value to to which the second element of the daeTolerance
vector
is to be set. If more than one value is
supplied, only the first value is used.
Chris Brien
get.daeTolerance
.
## set daeTolerance.
set.daeTolerance(1E-04, 1E-08)
Run the code above in your browser using DataLab