exportPattern("^[[:alpha:]]+")
export("0form")
export("0tensor")
export("%^%")
export("%X%")

import("spray")
import("mathjaxr")

importFrom(partitions,blockparts)

importFrom(permutations,allperms)
importFrom(permutations,sgn)
importFrom(permutations,word)
importFrom(permutations,as.word)
importFrom(permutations,is.id)

importFrom(methods, new)  # not needed but is included to suppress a pointless R CMD check warning

importFrom(disordR,elements)
importFrom(disordR,is.disord)
importFrom(disordR,hash)
importFrom(disordR,consistent)
importFrom(disordR,drop)

S3method("as.function",ktensor)
S3method("as.function",kform)
S3method(Ops,kform)
S3method(Ops,ktensor)
S3method("lose",kform)
S3method("lose",ktensor)
S3method("zap",kform)
S3method("zap",ktensor)

S3method("print",kform)
S3method("print",ktensor)

S3method("coeffs<-",kform)
S3method("coeffs<-",ktensor)

S3method("summary",kform)
S3method("print",summary.kform)
S3method("summary",ktensor)
S3method("print",summary.ktensor)
