This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / dlantr

lapack_function

scipy.linalg._flapack:dlantr

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def dlantr(norm, a, uplo = U, diag = N)

Summary

Norm of a triangular or trapezoidal matrix (LAPACK dlantr).

Parameters

norm : str

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.

a : ndarray

Matrix of shape (m, n); only the triangle named by uplo is read.

uplo : str, optional

'U' if a is upper triangular, 'L' if lower. Default is 'U'.

diag : str, optional

'U' if the matrix has a unit diagonal, 'N' otherwise. Default is 'N'.

Returns

n2 : float

The norm. Real for every flavor.

Aliases

  • scipy.linalg._flapack.dlantr