![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
#include <stan/math/prim/meta.hpp>#include <stan/math/prim/fun/Eigen.hpp>#include <stan/math/prim/fun/dims.hpp>#include <stan/math/prim/err/invalid_argument.hpp>#include <sstream>#include <string>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. | |
Functions | |
| template<typename T1 , typename T2 , require_all_not_matrix_t< T1, T2 > * = nullptr, require_all_not_nonscalar_prim_or_rev_kernel_expression_t< T1, T2 > * = nullptr> | |
| void | stan::math::check_matching_dims (const char *function, const char *name1, const T1 &y1, const char *name2, const T2 &y2) |
| Check if the two containers have the same dimensions. | |
| template<bool check_compile, typename Mat1 , typename Mat2 , typename = require_all_eigen_t<Mat1, Mat2>> | |
| void | stan::math::check_matching_dims (const char *function, const char *name1, const Mat1 &y1, const char *name2, const Mat2 &y2) |
| Check if the two matrices are of the same size. | |