![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/err.hpp>#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/prim/fun/divide_columns.hpp>#include <stan/math/prim/fun/squared_distance.hpp>#include <stan/math/prim/fun/exp.hpp>#include <stan/math/prim/fun/square.hpp>#include <cmath>#include <type_traits>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | stan |
| The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
| namespace | stan::math |
| Matrices and templated mathematical functions. | |
| namespace | stan::math::internal |
| A comparator that works for any container type that has the brackets operator. | |
Functions | |
| template<typename T_x , typename T_x_alloc , typename T_sigma , typename T_l > | |
| Eigen::Matrix< return_type_t< T_x, T_sigma, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::internal::gp_exp_quad_cov (const std::vector< T_x, T_x_alloc > &x, const T_sigma &sigma_sq, const T_l &neg_half_inv_l_sq) |
| Returns a squared exponential kernel. | |
| template<typename T_x1 , typename T_x1_alloc , typename T_x2 , typename T_sigma , typename T_l > | |
| Eigen::Matrix< return_type_t< T_x1, T_x2, T_sigma, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::internal::gp_exp_quad_cov (const std::vector< T_x1, T_x1_alloc > &x1, const std::vector< T_x2 > &x2, const T_sigma &sigma_sq, const T_l &neg_half_inv_l_sq) |
| Returns a squared exponential kernel. | |
| template<typename T_x , typename T_x_alloc , typename T_sigma , typename T_l > | |
| Eigen::Matrix< return_type_t< T_x, T_sigma, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::gp_exp_quad_cov (const std::vector< T_x, T_x_alloc > &x, const T_sigma &sigma, const T_l &length_scale) |
| Returns a squared exponential kernel. | |
| template<typename T_x , typename T_x_alloc , typename T_sigma , typename T_l , typename T_l_alloc > | |
| Eigen::Matrix< return_type_t< T_x, T_sigma, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::gp_exp_quad_cov (const std::vector< Eigen::Matrix< T_x, -1, 1 >, T_x_alloc > &x, const T_sigma &sigma, const std::vector< T_l, T_l_alloc > &length_scale) |
| Returns a squared exponential kernel. | |
| template<typename T_x1 , typename T_x1_alloc , typename T_x2 , typename T_x2_alloc , typename T_sigma , typename T_l > | |
| Eigen::Matrix< return_type_t< T_x1, T_x2, T_sigma, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::gp_exp_quad_cov (const std::vector< T_x1, T_x1_alloc > &x1, const std::vector< T_x2, T_x2_alloc > &x2, const T_sigma &sigma, const T_l &length_scale) |
| Returns a squared exponential kernel. | |
| template<typename T_x1 , typename T_x1_alloc , typename T_x2 , typename T_x2_alloc , typename T_s , typename T_l , typename T_l_alloc > | |
| Eigen::Matrix< return_type_t< T_x1, T_x2, T_s, T_l >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::gp_exp_quad_cov (const std::vector< Eigen::Matrix< T_x1, -1, 1 >, T_x1_alloc > &x1, const std::vector< Eigen::Matrix< T_x2, -1, 1 >, T_x2_alloc > &x2, const T_s &sigma, const std::vector< T_l, T_l_alloc > &length_scale) |
| Returns a squared exponential kernel. | |