Stan Math Library  2.14.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
cov_exp_quad.hpp File Reference
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/scal/fun/value_of.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/scal/err/check_not_nan.hpp>
#include <stan/math/prim/scal/err/check_positive.hpp>
#include <stan/math/prim/scal/fun/square.hpp>
#include <stan/math/prim/scal/fun/squared_distance.hpp>
#include <stan/math/prim/scal/fun/exp.hpp>
#include <stan/math/prim/scal/meta/scalar_type.hpp>
#include <boost/math/tools/promotion.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp>
#include <vector>
#include <cmath>

Go to the source code of this file.

Classes

class  stan::math::cov_exp_quad_vari< T_x, T_sigma, T_l >
 This is a subclass of the vari class for precomputed gradients of cov_exp_quad. More...
 
class  stan::math::cov_exp_quad_vari< T_x, double, T_l >
 This is a subclass of the vari class for precomputed gradients of cov_exp_quad. More...
 

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_x >
boost::enable_if_c< boost::is_same< typename scalar_type< T_x >::type, double >::value, Eigen::Matrix< var, -1, -1 > >::type stan::math::cov_exp_quad (const std::vector< T_x > &x, const var &sigma, const var &l)
 Returns a squared exponential kernel. More...
 
template<typename T_x >
boost::enable_if_c< boost::is_same< typename scalar_type< T_x >::type, double >::value, Eigen::Matrix< var, -1, -1 > >::type stan::math::cov_exp_quad (const std::vector< T_x > &x, double sigma, const var &l)
 Returns a squared exponential kernel. More...
 

     [ Stan Home Page ] © 2011–2016, Stan Development Team.