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

Go to the source code of this file.

Namespaces

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

Functions

template<std::size_t N, 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::details::nPointStencilMethod (const ContainerX &x, const ContainerY &y)
 
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::fivePointStencilMethod (const ContainerX &x, const ContainerY &y)
 
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::sevenPointStencilMethod (const ContainerX &x, const ContainerY &y)
 
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::ninePointStencilMethod (const ContainerX &x, const ContainerY &y)