import(stats)
import(utils)

import(PolynomF)
importFrom(rootSolve, uniroot.all)
importFrom(numDeriv, grad)

useDynLib(sdprisk, .registration = TRUE)

S3method(mean, claiminfo)
S3method(is.hypoexp, claiminfo)
S3method(is.hypoexp, riskproc)

export(
    adjcoef,
    boundsRuinprob,
    claiminfo,
    dhypoexp,
    fftRuinprob,
    hypoexpRuinprob,
    hypoexpSensitivity,
    hypoexpTvaru,
    hypoexpVaru,
    is.claiminfo,
    is.hypoexp,
    is.riskproc,
    mgfhypoexp,
    phypoexp,
    qhypoexp,
    rhypoexp,
    riskproc,
    ruinprob,
    saddlepointRuinprob,
    saddlepointSensitivity,
    saddlepointTvaru,
    saddlepointVaru,
    sensitivity,
    tvaru,
    varu
)
