|
7.7.20.0. isUpperTriangular
Procedure from library ncpreim.lib (see ncpreim_lib).
- Usage:
- isUpperTriangular(M[,k]); M a matrix, k an optional int
- Return:
- int, 1 if the given matrix is upper triangular,
0 otherwise.
- Note:
- If k<>0 is given, it is checked whether M is strictly upper
triangular.
Example:
|