![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
#include <stan/math/prim/scal/err/invalid_argument.hpp>#include <stan/math/prim/scal/meta/size_of.hpp>#include <sstream>#include <string>Go to the source code of this file.
Namespaces | |
| stan | |
| stan::math | |
| Matrices and templated mathematical functions. | |
Functions | |
| template<typename T > | |
| bool | stan::math::check_consistent_size (const char *function, const char *name, const T &x, size_t expected_size) |
Return true if the dimension of x is consistent, which is defined to be expected_size if x is a vector or 1 if x is not a vector. More... | |