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

bundles / scipy latest / scipy / linalg / _flapack / stpqrt

lapack_function

scipy.linalg._flapack:stpqrt

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

Signature

def stpqrt(l, nb, a, b, overwrite_a = 0, overwrite_b = 0)

Summary

Blocked QR factorization of a triangular-pentagonal matrix (LAPACK stpqrt).

Extended Summary

The operand is the square upper triangular a stacked on the pentagonal b.

Parameters

l : int

Order of the trapezoidal part of b; 0 makes b rectangular.

nb : int

Block size, at least 1 and no larger than the factorization allows.

a : ndarray

Square upper triangular block, shape (n, n).

b : ndarray

Pentagonal block, shape (m, n).

overwrite_a : int, optional

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

overwrite_b : int, optional

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

Returns

a : ndarray

The triangular block of the factorization.

b : ndarray

The reflectors, overwriting b.

t : ndarray

The upper triangular block reflectors.

info : int

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

Aliases

  • scipy.linalg._flapack.stpqrt