module LeastSquares

export curve_fit, estimate_errors, estimate_covar
export lsfit, @afuns

#using Optim
using Calculus
##TODO: not clear I need Distributions
#import Distributions: quantile
import Optim: OptimizationState, MultivariateOptimizationResults, OptimizationTrace
include("levenberg_marquardt.jl")
include("curve_fit.jl")
include("lsfit.jl")

end # module
