bundles / scipy latest / scipy / linalg / _flapack / ctpqrt
lapack_function
scipy.linalg._flapack:ctpqrt
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def ctpqrt(l, nb, a, b, overwrite_a = 0, overwrite_b = 0)Summary
Blocked QR factorization of a triangular-pentagonal matrix (LAPACK ctpqrt).
Extended Summary
The operand is the square upper triangular a stacked on the pentagonal b.
Parameters
l: intOrder of the trapezoidal part of
b; 0 makesbrectangular.nb: intBlock size, at least 1 and no larger than the factorization allows.
a: ndarraySquare upper triangular block, shape
(n, n).b: ndarrayPentagonal block, shape
(m, n).overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
a: ndarrayThe triangular block of the factorization.
b: ndarrayThe reflectors, overwriting
b.t: ndarrayThe upper triangular block reflectors.
info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.ctpqrt