Automatic Differentiation
 
Loading...
Searching...
No Matches
check_size_match.hpp File Reference
#include <stan/math/prim/meta.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 T_size1 , typename T_size2 >
void stan::math::check_size_match (const char *function, const char *name_i, T_size1 i, const char *name_j, T_size2 j)
 Check if the provided sizes match.
 
template<typename T_size1 , typename T_size2 >
void stan::math::check_size_match (const char *function, const char *expr_i, const char *name_i, T_size1 i, const char *expr_j, const char *name_j, T_size2 j)
 Check if the provided sizes match.