BayesOpt
ublas_extra.hpp File Reference

Extra functions for Ublas library. More...

#include <typeinfo>
#include <boost/numeric/ublas/vector.hpp>
+ Include dependency graph for ublas_extra.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 bayesopt
 Namespace of the library interface.
 
 bayesopt::utils
 Extra utils: math functions, ublas helpers, etc.
 

Functions

template<class V , class D >
void bayesopt::utils::append (V &vect, D element)
 
template<class V , class I >
void bayesopt::utils::erase (V &vect, I begin)
 
template<class M >
void bayesopt::utils::erase_column (M &mat, size_t pos)
 
template<class M , class V >
void bayesopt::utils::add_to_diagonal (M &mat, const V &vec)
 
boost::numeric::ublas::vector< double > bayesopt::utils::array2vector (const double array[], const size_t n)
 

Detailed Description

Extra functions for Ublas library.

Definition in file ublas_extra.hpp.