useDynLib(lfe,.registration=TRUE, .fixes='C_')

export(felm,getfe,demeanlist,compfactor,kaczmarz,btrap,
       is.estimable,efactory,bccorr,fevcov,varvars,waldtest,
       condfstat, cgsolve, mctrace, makeDmatrix, ..oldfelm)

import('Formula')
#import('methods')
import('Matrix')
#importFrom('Matrix', nnzero, Cholesky, Matrix, rankMatrix, rBind, cBind,
#           band, t, diag, crossprod, tcrossprod)
importFrom('compiler', cmpfun)
importFrom('xtable', xtable)
S3method(print,felm)
S3method(print,summary.felm)
S3method(summary,felm)
S3method(coef,felm)
S3method(vcov,felm)
S3method(residuals,felm)
S3method(update,felm)

S3method(xtable, felm)
S3method(xtable, summary.felm)

# S3method(fixef,felm)
