tfel
Loading...
Searching...
No Matches
ScalarNewtonRaphson.hxx File Reference
#include <tuple>
#include <limits>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/Math/NonLinearSolvers/ScalarNewtonRaphson.ixx"

Classes

struct  tfel::math::ScalarNewtonRaphsonParameters< NumericType, IndexType >
 structure holding parameters of the scalarNewtonRaphson function. More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.
namespace  tfel::math
 This namespace contains various classes and functions défining mathematical objects and numerical algorithms.

Functions

template<typename Function, typename Criterion, typename NumericType, typename IndexType>
TFEL_HOST_DEVICE std::tuple< bool, NumericType, IndexType > tfel::math::scalarNewtonRaphson (const Function &, const Criterion &, const NumericType, const IndexType)
 find the root of the given function.
template<typename Function, typename Criterion, typename NumericType, typename IndexType>
TFEL_HOST_DEVICE std::tuple< bool, NumericType, IndexType > tfel::math::scalarNewtonRaphson (const Function &, const Criterion &, const ScalarNewtonRaphsonParameters< NumericType, IndexType > &)
 find the root of the given function.

Detailed Description

Author
Thomas Helfer
Date
31/03/2020