Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Check if the specified matrix is square.
This check allows 0x0 matrices.
T | Type of matrix |
function | Function name (for error messages) |
name | Variable name (for error messages) |
y | Matrix to test |
<code>std::invalid_argument</code> | if the matrix is not square |
Definition at line 23 of file check_square.hpp.