stochasticTableauValidation
-
namespace stochastic_tableau
Constructor-time checks shared by explicit stochastic RK tableau families. These validate finite coefficients and explicit stage dependencies, not the mathematical order conditions or applicability of a method to a particular SDE.
Functions
-
template<size_t numberStages>
void validateFinite(const std::array<double, numberStages> &coefficients) Reject a nonfinite entry before coefficients can enter stage arithmetic.
-
template<size_t numberStages>
void validateExplicitMatrix(const std::array<std::array<double, numberStages>, numberStages> &matrix) Require finite coefficients and zero diagonal/upper triangle for explicit stages.
-
template<size_t numberStages>