BayesOpt
ublas_elementwise.hpp File Reference

Elementwise operations for ublas vector/matrix. More...

#include <algorithm>
#include <boost/numeric/ublas/vector.hpp>
+ Include dependency graph for ublas_elementwise.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 v1 , class v2 >
v1 bayesopt::utils::ublas_elementwise_prod (const v1 &a, const v2 &b)
 Computes the elementwise product of two vectors or matrices. More...
 
template<class v1 , class v2 >
v1 bayesopt::utils::ublas_elementwise_div (const v1 &a, const v2 &b)
 Computes the elementwise division of two vectors or matrices. More...
 

Detailed Description

Elementwise operations for ublas vector/matrix.

Definition in file ublas_elementwise.hpp.