Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
check_consistent_size_mvt.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/err/invalid_argument.hpp>
#include <sstream>
#include <string>
#include <type_traits>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T >
void stan::math::check_consistent_size_mvt (const char *function, const char *name, const T &x, size_t expected_size)
 Check if the dimension of x is consistent, which is defined to be expected_size if x is a vector of vectors or 1 if x is a single vector. More...
 

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