XACC
Public Member Functions | Protected Attributes | List of all members
xacc::MLPACKFunction Class Reference

Public Member Functions

 MLPACKFunction (OptFunction &optF)
 
std::size_t NumFunctions () const
 
void Shuffle ()
 
double Evaluate (const arma::mat &x)
 
double Evaluate (const arma::mat &coordinates, const size_t begin, const size_t batchSize)
 
double EvaluateWithGradient (const arma::mat &coordinates, arma::mat &gradient)
 
double EvaluateWithGradient (const arma::mat &coordinates, std::size_t bb, arma::mat &gradient, std::size_t b)
 
void Gradient (const arma::mat &x, arma::mat &gradient)
 

Protected Attributes

std::vector< double > grad
 
OptFunctionopt_function
 

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