Stan Math Library  2.20.0
reverse mode automatic differentiation
Classes | Namespaces | Functions
gp_periodic_cov.hpp File Reference
#include <stan/math/rev/meta.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/constants.hpp>
#include <stan/math/prim/scal/fun/square.hpp>
#include <stan/math/prim/scal/fun/squared_distance.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/scal/fun/value_of.hpp>
#include <cmath>
#include <vector>
#include <type_traits>

Go to the source code of this file.

Classes

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

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_x >
std::enable_if< std::is_same< typename scalar_type< T_x >::type, double >::value, Eigen::Matrix< var, Eigen::Dynamic, Eigen::Dynamic > >::type stan::math::gp_periodic_cov (const std::vector< T_x > &x, const var &sigma, const var &l, const var &p)
 Returns a periodic covariance matrix $ \mathbf{K} $ using the input $ \mathbf{X} $. More...
 
template<typename T_x >
std::enable_if< std::is_same< typename scalar_type< T_x >::type, double >::value, Eigen::Matrix< var, Eigen::Dynamic, Eigen::Dynamic > >::type stan::math::gp_periodic_cov (const std::vector< T_x > &x, double sigma, const var &l, const var &p)
 Returns a periodic covariance matrix $ \mathbf{K} $ using the input $ \mathbf{X} $. More...
 

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