checkNEvalPts: Check number of numeric integration intervals
Description
Check that number of integration intervals is odd and
sufficiently large. Plus, compute and store the Simpson's Composite
rule coefficients.
Usage
checkNEvalPts(nEvalPts)
Value
The first element of nEvalPts is returned if it is acceptable.
If nEvalPts is not acceptable, an error is thrown. Simpson's composite
coefficients are store in options()