Lines Matching refs:vector2
46 class vector2 { class
59 vector2 operator+(vector2 const & other) const { in operator +()
60 vector2 r; in operator +()
66 vector2 operator-(vector2 const & other) const { in operator -()
67 vector2 r; in operator -()
80 vector2 operator*(matrix2 const & m, vector2 const & v) { in operator *()
81 vector2 r; in operator *()
90 double dot(vector2 const & v1, vector2 const & v2) { in dot()
101 vector2 const & get_mu() const { return _mu; } in get_mu()
108 double operator()(vector2 const & p) const { in operator ()()
109 vector2 u = _cholesky * (p - _mu); in operator ()()
117 vector2 p; in operator ()()
126 bivariate_gaussian(vector2 const & mu, matrix2 const & sigma) in bivariate_gaussian()
149 vector2 _mu;
180 vector2 const & mu = bp::extract<bivariate_gaussian const &>(self)().get_mu(); in py_get_mu()
211 static void copy_ndarray_to_mv2(bn::ndarray const & array, vector2 & vec) { in copy_ndarray_to_mv2()
293 mv2_from_python< vector2, 1 >(); in BOOST_PYTHON_MODULE()
296 typedef double (bivariate_gaussian::*call_vector)(vector2 const &) const; in BOOST_PYTHON_MODULE()
301 .def(bp::init< vector2 const &, matrix2 const & >()) in BOOST_PYTHON_MODULE()