cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pRC::Optimizer::LBFGS< LS, M > Class Template Reference

#include <lbfgs.hpp>

Public Member Functions

constexpr LBFGS (LS const &lineSearch, Size const maxIterations=defaultMaxIterations())
 
constexpr LBFGS (Size const maxIterations=defaultMaxIterations())
 
constexpr autolineSearch () const
 
constexpr auto maxIterations () const
 
template<class XX , class RX = RemoveReference<XX>, class TX = typename RX::Type, class VX = typename TX::Value, If< IsTensorish< RX > > = 0, class RXE = RemoveConstReference<ResultOf<Eval, XX>>, class FF , If< IsInvocable< FF, RXE const &, RXE & > > = 0, If< IsFloat< ResultOf< FF, RXE const &, RXE & > > > = 0, class FC , If< IsInvocable< FC, RXE > > = 0, class VT = VX, If< All< IsFloat< VX >, IsFloat< VT > > > = 0, If< IsInvocable< LS, RXE &, ResultOf< FF, RXE const &, RXE & > &, RXE &, VX &, FF, RXE const & > > = 0>
constexpr auto operator() (XX &&x0, FF &&function, FC &&callback, VT const &tolerance=NumericLimits< VT >::tolerance()) const
 

Constructor & Destructor Documentation

◆ LBFGS() [1/2]

template<class LS = LineSearch::Bracketing, Size M = 5>
constexpr pRC::Optimizer::LBFGS< LS, M >::LBFGS ( LS const & lineSearch,
Size const maxIterations = defaultMaxIterations() )
inlineconstexpr

◆ LBFGS() [2/2]

template<class LS = LineSearch::Bracketing, Size M = 5>
constexpr pRC::Optimizer::LBFGS< LS, M >::LBFGS ( Size const maxIterations = defaultMaxIterations())
inlineconstexpr

Member Function Documentation

◆ lineSearch()

template<class LS = LineSearch::Bracketing, Size M = 5>
constexpr auto & pRC::Optimizer::LBFGS< LS, M >::lineSearch ( ) const
inlineconstexpr

◆ maxIterations()

template<class LS = LineSearch::Bracketing, Size M = 5>
constexpr auto pRC::Optimizer::LBFGS< LS, M >::maxIterations ( ) const
inlineconstexpr

◆ operator()()

template<class LS = LineSearch::Bracketing, Size M = 5>
template<class XX , class RX = RemoveReference<XX>, class TX = typename RX::Type, class VX = typename TX::Value, If< IsTensorish< RX > > = 0, class RXE = RemoveConstReference<ResultOf<Eval, XX>>, class FF , If< IsInvocable< FF, RXE const &, RXE & > > = 0, If< IsFloat< ResultOf< FF, RXE const &, RXE & > > > = 0, class FC , If< IsInvocable< FC, RXE > > = 0, class VT = VX, If< All< IsFloat< VX >, IsFloat< VT > > > = 0, If< IsInvocable< LS, RXE &, ResultOf< FF, RXE const &, RXE & > &, RXE &, VX &, FF, RXE const & > > = 0>
constexpr auto pRC::Optimizer::LBFGS< LS, M >::operator() ( XX && x0,
FF && function,
FC && callback,
VT const & tolerance = NumericLimits<VT>::tolerance() ) const
inlineconstexpr

The documentation for this class was generated from the following file: