30 template <
typename ComputeObject,
typename Container>
33 return co.
compute(std::begin(c), std::end(c));
43 template <
typename ComputeObject,
typename IteratorBegin,
typename IteratorEnd>
45 const IteratorEnd& end)
const
57 template <
typename ComputeObject,
typename IndexRange,
typename Po
intContainer>
59 const PointContainer& points)
const
This Source Code Form is subject to the terms of the Mozilla Public License, v.
FIT_RESULT
Enum corresponding to the state of a fitting method (and what the finalize function returns)
ComputeObject is a virtual object that represents an algorithm which can be used with the compute fun...
FIT_RESULT computeWithIds(IndexRange, const PointContainer &)
Convenience function to iterate over a subset of samples in a PointContainer.
FIT_RESULT compute(const Container &c)
Convenience function for STL-like container.
FIT_RESULT compute(ComputeObject &co, const Container &c) const
Convenience function for STL-like container.
FIT_RESULT compute(ComputeObject &co, const IteratorBegin &begin, const IteratorEnd &end) const
Convenience function for STL-like iterators.
FIT_RESULT computeWithIds(ComputeObject &co, IndexRange ids, const PointContainer &points) const
[SingleEvaluationScheme Compute Definition]