scipy.linalg.lapack.clantr#
- scipy.linalg.lapack.clantr(norm, a, uplo='U', diag='N') = <flapack function clantr>#
Norm of a triangular or trapezoidal matrix (LAPACK
clantr).- Parameters:
- normstr
Which norm:
'M'for the largest absolute entry,'1'or'O'for the 1-norm,'I'for the infinity norm,'F'or'E'for the Frobenius norm. Lowercase is accepted.- andarray
Matrix of shape
(m, n); only the triangle named by uplo is read.- uplostr, optional
'U'if a is upper triangular,'L'if lower. Default is'U'.- diagstr, optional
'U'if the matrix has a unit diagonal,'N'otherwise. Default is'N'.
- Returns:
- n2float
The norm. Real for every flavor.