useDynLib(fastPLS, .registration=TRUE)

importFrom("stats", "median")
importFrom("stats", "pnorm")
importFrom("stats", "predict")
importFrom("stats", "quantile")
importFrom("stats", "rnorm")
importFrom("stats", "sd")
importFrom("stats", "var")
importFrom("methods", "is")
importClassesFrom("float", "float32")
export(evaluate)
export(fastcor)
export(fastPLS_blas)
export(fastsvd)
export(cuda_info)
export(has_cuda)
export(has_metal)
export(pls)
export(pls.double.cv)
export(pls.single.cv)
export(plot.permutation)
export(ViP)


S3method(predict,fastPLS)
S3method(predict,fastPLSKernel)
S3method(predict,fastPLSOpls)
S3method(plot,fastPLS)
S3method(print,fastPLS)
