BayesOpt
|
Elementwise operations for ublas vector/matrix. More...
#include <algorithm>
#include <boost/numeric/ublas/vector.hpp>
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... | |
Elementwise operations for ublas vector/matrix.
Definition in file ublas_elementwise.hpp.