importFrom("stats", "mad", "pnorm", "sd", "t.test", "median", "pf", "runif")

importFrom("stats", "cov", "manova", "pchisq", "pf", "predict",

CSTR2in, CSTR2, CSTRfitLS, CSTRfn, CSTRres, CSTRsse,

#       dayOfYear, dayOfYearShifted, day.5, daysPerMonth,
#       monthBegin.5, monthEnd, monthEnd.5, monthMid, month.abb, monthLetters,

"locator", "matlines", "mtext", "par", "plot", "points",
importFrom("stats", "approx", "coef", "cov", "dist", "fitted",
"model.matrix", "na.fail", "na.pass", "optimize", "predict",

importFrom("stats", "approx", "coef", "cov", "deriv", "dist", "fitted",
"formula", "integrate", "knots", "lsfit", "model.frame",

useDynLib(fda.usc, .registration = TRUE, .fixes = "C_")

importFrom("graphics", "abline", "boxplot", "contour", "curve",
"filled.contour", "image", "legend", "lines", "matlines",
"pairs", "par", "persp", "plot", "points", "polygon", "rug",

#corSigma,simul.arma, filter.arima, corUnstruc, cor.AR, cor.ARMA, corExpo, cor.Exp, corCloud

#useDynLib(fda.usc, .registration = TRUE, .fixes = "C_")

importFrom(graphics, abline, plot, hist, lines, par, grid, legend, title, axis,image,points,text)
importFrom(stats, cor, var, printCoefmat, kmeans, setNames,cov2cor)
## importFrom("graphics", "grid", "legend", "title")
#importFrom(parallel, parLapply, parSapply, makeCluster, detectCores, stopCluster)
#import(fda)  ## imports all exported variables from fda package

export(create.FEM.basis, smooth.FEM.basis, smooth.FEM.PDE.basis, smooth.FEM.PDE.sv.basis, FEM, eval.FEM)
export(R_elementProperties, R_mass, R_stiff, R_smooth.FEM.basis, R_eval.FEM.basis, R_eval.FEM)
#export(CPP_smooth.FEM.basis, CPP_smooth.FEM.PDE.basis, CPP_smooth.FEM.PDE.SV.basis, CPP_eval.FEM.fd, CPP_get_evaluations_points)

export(create.FEM.basis, smooth.FEM, FEM, eval.FEM, FPCA.FEM)
export(R_eval.FEM, R_eval.FEM.basis, R_mass, R_smooth.FEM.basis, R_stiff)

importFrom("graphics", "grid", "legend", "lines", "matplot")
importFrom("stats", "approx", "integrate", "spline", "splinefun", "fitted")

useDynLib(fdaoutlier, .registration = TRUE, .fixes = "C_")