scipy.linalg.lapack.stzrzf#

scipy.linalg.lapack.stzrzf(a, lwork=max(m, 1), overwrite_a=0) = <flapack function stzrzf>#

Reduce an upper trapezoidal matrix to upper triangular form (LAPACK stzrzf).

Factors a as (R 0) @ Z with Z orthogonal/unitary; ormrz applies the Z this produces.

Parameters:
andarray

Upper trapezoidal matrix of shape (m, n) with n >= m.

lworkint, optional

Workspace size, at least m. Default is max(m, 1).

overwrite_aint, optional

If nonzero, a may be overwritten in place. Default is 0.

Returns:
rzndarray

R in the leading triangle; the rest describes Z.

taundarray

Reflector scalars, length m.

infoint

0 on success; if negative, the -info-th argument had an illegal value.