#include <fixed.hpp>
|
| constexpr | Fixed (Float<> const stepSize=defaultStepSize()) |
| |
| template<class T = Float<>> |
| constexpr decltype(auto) | stepSize () const |
| |
template<IsTensor X, IsFloat T = Value<X>, class F , class FC >
requires IsInvocable<F, X const &, X &> && IsFloat<ResultOf<F, X const &, X &>> && IsInvocable<FC, X const &> && IsConvertible<ResultOf<FC, X const &>, X> |
| constexpr auto | operator() (X &x, ResultOf< F, X const &, X & > &f, X &g, typename ResultOf< ScalarProduct, X, X >::Type &d, F &&function, FC &&constraint, X const &p, T alpha=identity< T >(), T const alphaMin=zero< T >(), T const alphaMax=identity< T >(NumericLimits< T >::max())) const |
| |
template<IsTensor X, IsFloat T = Value<X>, class F >
requires IsInvocable<F, X const &, X &> && IsFloat<ResultOf<F, X const &, X &>> |
| constexpr auto | operator() (X &x, ResultOf< F, X const &, X & > &f, X &g, typename ResultOf< ScalarProduct, X, X >::Type &d, F &&function, X const &p, T alpha=identity< T >(), T const alphaMin=zero< T >(), T const alphaMax=identity< T >(NumericLimits< T >::max())) const |
| |
◆ Fixed()
| pRC::Optimizer::LineSearch::Fixed::Fixed |
( |
Float<> const | stepSize = defaultStepSize() | ) |
|
|
inlineconstexpr |
◆ operator()() [1/2]
template<IsTensor X, IsFloat T = Value<X>, class F , class FC >
requires IsInvocable<F, X const &, X &> && IsFloat<
ResultOf<F, X const &, X &>> && IsInvocable<FC, X const &> && IsConvertible<
ResultOf<FC, X const &>, X>
| auto pRC::Optimizer::LineSearch::Fixed::operator() |
( |
X & | x, |
|
|
ResultOf< F, X const &, X & > & | f, |
|
|
X & | g, |
|
|
typename ResultOf< ScalarProduct, X, X >::Type & | d, |
|
|
F && | function, |
|
|
FC && | constraint, |
|
|
X const & | p, |
|
|
T | alpha = identity<T>(), |
|
|
T const | alphaMin = zero<T>(), |
|
|
T const | alphaMax = identity<T>(NumericLimits<T>::max()) ) const |
|
inlineconstexpr |
◆ operator()() [2/2]
template<IsTensor X, IsFloat T = Value<X>, class F >
requires IsInvocable<F, X const &, X &> && IsFloat<
ResultOf<F, X const &, X &>>
| auto pRC::Optimizer::LineSearch::Fixed::operator() |
( |
X & | x, |
|
|
ResultOf< F, X const &, X & > & | f, |
|
|
X & | g, |
|
|
typename ResultOf< ScalarProduct, X, X >::Type & | d, |
|
|
F && | function, |
|
|
X const & | p, |
|
|
T | alpha = identity<T>(), |
|
|
T const | alphaMin = zero<T>(), |
|
|
T const | alphaMax = identity<T>(NumericLimits<T>::max()) ) const |
|
inlineconstexpr |
◆ stepSize()
template<class
T = Float<>>
| decltype(auto) pRC::Optimizer::LineSearch::Fixed::stepSize |
( |
| ) |
const |
|
inlineconstexpr |
The documentation for this struct was generated from the following file:
- pRC/prc/algorithms/optimizer/line_search/fixed.hpp