Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
gp_dot_prod_cov.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/dot_product.hpp>
#include <stan/math/prim/mat/fun/dot_self.hpp>
#include <stan/math/prim/scal/err/check_finite.hpp>
#include <stan/math/prim/scal/err/check_nonnegative.hpp>
#include <stan/math/prim/scal/err/check_not_nan.hpp>
#include <stan/math/prim/scal/fun/square.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_x , typename T_sigma >
Eigen::Matrix< typename return_type< T_x, T_sigma >::type, Eigen::Dynamic, Eigen::Dynamic > stan::math::gp_dot_prod_cov (const std::vector< Eigen::Matrix< T_x, Eigen::Dynamic, 1 >> &x, const T_sigma &sigma)
 Returns a dot product covariance matrix. More...
 
template<typename T_x , typename T_sigma >
Eigen::Matrix< typename return_type< T_x, T_sigma >::type, Eigen::Dynamic, Eigen::Dynamic > stan::math::gp_dot_prod_cov (const std::vector< T_x > &x, const T_sigma &sigma)
 Returns a dot product covariance matrix. More...
 
template<typename T_x1 , typename T_x2 , typename T_sigma >
Eigen::Matrix< typename return_type< T_x1, T_x2, T_sigma >::type, Eigen::Dynamic, Eigen::Dynamic > stan::math::gp_dot_prod_cov (const std::vector< Eigen::Matrix< T_x1, Eigen::Dynamic, 1 >> &x1, const std::vector< Eigen::Matrix< T_x2, Eigen::Dynamic, 1 >> &x2, const T_sigma &sigma)
 Returns a dot product covariance matrix of differing x's. More...
 
template<typename T_x1 , typename T_x2 , typename T_sigma >
Eigen::Matrix< typename return_type< T_x1, T_x2, T_sigma >::type, Eigen::Dynamic, Eigen::Dynamic > stan::math::gp_dot_prod_cov (const std::vector< T_x1 > &x1, const std::vector< T_x2 > &x2, const T_sigma &sigma)
 Returns a dot product covariance matrix of differing x's. More...
 

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