![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Check if the matrix_cl is either upper triangular or lower triangular. 
| function | Function name (for error messages) | 
| name | Variable name (for error messages) | 
| A | matrix_cl to test | 
| <code>std::invalid_argument</code> | if the matrix_cl is not triangular  | 
Definition at line 23 of file check_triangular.hpp.