20 #ifndef _BOUNDING_BOX_HPP_ 21 #define _BOUNDING_BOX_HPP_ 24 #include <boost/numeric/ublas/vector.hpp> 35 BoundingBox(
const V &lbound,
const V &ubound):
39 virtual ~BoundingBox(){};
41 inline V unnormalizeVector(
const V &vin )
46 inline V normalizeVector(
const V &vin )
Namespace of the library interface.
V mRangeBound
Range (up-low) of the input space.
V mLowerBound
Lower bound of the input space.
Elementwise operations for ublas vector/matrix.
v1 ublas_elementwise_prod(const v1 &a, const v2 &b)
Computes the elementwise product of two vectors or matrices.
v1 ublas_elementwise_div(const v1 &a, const v2 &b)
Computes the elementwise division of two vectors or matrices.