Lines Matching full:cost
36 // To get an auto differentiated cost function, you must define a class with a
37 // templated operator() (a functor) that computes the cost function in terms of
54 // for a series of measurements, where there is an instance of the cost function
57 // The actual cost added to the total problem is e^2, or (k - x'k)^2; however,
60 // To write an auto-differentiable cost function for the above model, first
82 // Then given this class definition, the auto differentiated cost function for
99 // AutoDiffCostFunction also supports cost functions with a
113 // The framework can currently accommodate cost functions of up to 10
122 // WARNING #2: A common beginner's error when first using autodiff cost
140 // A cost function which computes the derivative of the cost with respect to
147 // The constructors take ownership of the cost functor.
153 // of residuals for a single autodiff cost function at runtime.
182 // This allows for having autodiff cost functions which return varying
197 // Implementation details follow; clients of the autodiff cost function should
200 // To handle varardic cost functions, some template magic is needed. It's