DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
quadraticLeastSquaresFitting.hpp File Reference
#include <cstddef>
#include <iterator>
#include <type_traits>
#include "common-utils/math/statistics/statistics.hpp"
#include "common-utils/math/utils/mathExceptions.hpp"

Go to the source code of this file.

Classes

struct  CppUtils::Math::details::QuadraticLeastSquaresResult< T_a, T_b, T_c, typename >
 

Namespaces

namespace  CppUtils
 
namespace  CppUtils::Math
 
namespace  CppUtils::Math::details
 

Functions

template<typename IteratorX, typename IteratorY = IteratorX, typename Tx = typename std::iterator_traits<IteratorX>::value_type, typename Ty = typename std::iterator_traits<IteratorY>::value_type, typename = std::enable_if_t<std::conjunction_v<std::is_default_constructible<Tx>, std::is_default_constructible<Ty>>>>
constexpr decltype(auto) CppUtils::Math::quadraticLeastSquaresFitting (IteratorX x_begin, IteratorX x_end, IteratorY y_begin, IteratorY y_end)