HMLP: High-performance Machine Learning Primitives
|
#include <root.hpp>
Public Member Functions | |
Newton (FUNC *func) | |
std::pair< T, T > | Initialize () |
std::pair< T, T > | Iterate () |
![]() | |
virtual std::pair< T, T > | Solve (T user_x_lower, T user_x_upper) |
void | SetupTerminationCriteria (size_t niter, T tol) |
bool | ReachMaximumIteration (size_t iter) |
bool | Terminate (size_t iter, std::pair< T, T > &now, std::pair< T, T > &previous) |
Additional Inherited Members | |
![]() | |
T | x = 0.0 |
T | x_lower = 0.0 |
T | x_upper = 0.0 |
end class Bisection
|
inlinevirtual |
initialize the guess
Implements hmlp::root::RootFinderBase< T >.
|
inlinevirtual |
gradient decent
Implements hmlp::root::RootFinderBase< T >.