Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ is_square()

template<typename EigMat , require_eigen_t< EigMat > * = nullptr>
bool stan::math::is_square ( const EigMat &  y)
inline

Return true if the matrix is square.

This check allows 0x0 matrices.

Template Parameters
EigMatA type derived from EigenBase
Parameters
yMatrix to test
Returns
true if matrix is square

Definition at line 19 of file is_square.hpp.