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

Go to the source code of this file.

Namespaces

namespace  CppUtils
 
namespace  CppUtils::Math
 

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 auto CppUtils::Math::forwardDifferenceMethod (IteratorX x_begin, IteratorX x_end, IteratorY y_begin, IteratorY y_end)
 
template<typename ContainerX, typename ContainerY = ContainerX, typename = std::enable_if_t<std::conjunction_v<std::is_default_constructible<typename ContainerX::value_type>, std::is_default_constructible<typename ContainerY::value_type>>>>
constexpr auto CppUtils::Math::forwardDifferenceMethod (const ContainerX &x, const ContainerY &y)