Stan Math Library  2.20.0
reverse mode automatic differentiation
Namespaces | Functions
is_matching_dims.hpp File Reference
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/scal/err/is_size_match.hpp>

Go to the source code of this file.

Namespaces

 stan
 
 stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T1 , typename T2 , int R1, int C1, int R2, int C2>
bool stan::math::is_matching_dims (const Eigen::Matrix< T1, R1, C1 > &y1, const Eigen::Matrix< T2, R2, C2 > &y2)
 Return true if the two matrices are of the same size. More...
 
template<bool check_compile, typename T1 , typename T2 , int R1, int C1, int R2, int C2>
bool stan::math::is_matching_dims (const Eigen::Matrix< T1, R1, C1 > &y1, const Eigen::Matrix< T2, R2, C2 > &y2)
 Return true if the two matrices are of the same size. More...
 

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