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

◆ is_lower_triangular()

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

Return true is matrix is lower triangular.

A matrix x is not lower triangular if there is a non-zero entry x[m, n] with m < n. This function only inspect the upper and triangular portion of the matrix, not including the diagonal.

Template Parameters
EigMatA type derived from EigenBase with dynamic rows and columns
Parameters
yMatrix to test
Returns
true is matrix is lower triangular

Definition at line 21 of file is_lower_triangular.hpp.