HMLP: High-performance Machine Learning Primitives
hmlp::FunctionBase< PARAM, T > Class Template Reference

#include <VirtualFunction.hpp>

Inheritance diagram for hmlp::FunctionBase< PARAM, T >:
hmlp::VirtualFunction< T >

Public Member Functions

F (T x)
 
dF (T x)
 
std::pair< T, T > FdF (T x)
 
void SetupParameters (PARAM *user_params)
 
void SetupF (T(*f)(T x, PARAM *user_params))
 
void SetupdF (T(*df)(T x, PARAM *user_params))
 
void SetupFdF (T(*fdf)(T x, PARAM *user_params, T *Fx, T *dFX))
 
bool HasdF ()
 
bool HasFdF ()
 

Detailed Description

template<typename PARAM, typename T>
class hmlp::FunctionBase< PARAM, T >

end class VirtualFunction

Member Function Documentation

template<typename PARAM , typename T >
std::pair<T, T> hmlp::FunctionBase< PARAM, T >::FdF ( x)
inlinevirtual

return Fx and dFx

Implements hmlp::VirtualFunction< T >.


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