useDynLib(energy, .registration=TRUE)

importFrom(Rcpp, evalCpp)
importFrom("stats", "as.dist", "dist", "dnorm", "hclust", "model.matrix",
           "pnorm", "pt", "rnorm", "rpois", "sd", "var")
importFrom(boot, boot)

export(
  bcdcor,
  D_center,
  Dcenter,
  dcor,
  dcor2d,
  DCOR,
  dcor.t,
  dcor.test,
  dcor.ttest,
  dcov,
  dcov2d,
  dcov.test,
  dcovU,
  dcovU_stats,
  disco,
  disco.between,
  edist,
  energy.hclust,
  eqdist.e,
  eqdist.etest,
  indep.test,
  kgroups,
  ksample.e,
  mvI,
  mvI.test,
  mvnorm.e,
  mvnorm.etest,
  mvnorm.test,
  normal.e,
  normal.test,
  pdcor,
  pdcor.test,
  pdcov,
  pdcov.test,
  poisson.m,
  poisson.mtest,
  sortrank,
  U_center,
  U_product,
  Ucenter
)

S3method(print, disco)
S3method(print, kgroups)
S3method(fitted, kgroups)
