Function

NumCosmoMathlapack_dgeqlf

Declaration [src]

gint
ncm_lapack_dgeqlf (
  gint m,
  gint n,
  gdouble* a,
  gint lda,
  gdouble* tau,
  NcmLapackWS* ws
)

Description [src]

Computes the QL factorization $A = Q L$ of the row-major a by calling LAPACK DGERQF on the transpose that LAPACK reads; a is overwritten by the factors, as described by LAPACK DGERQF. Aborts without LAPACK.

Parameters

m

Type: gint

Number of rows seen by LAPACK, the columns of the row-major a.

n

Type: gint

Number of columns seen by LAPACK, the rows of the row-major a.

a

Type: gdouble*

The matrix.

The data is owned by the caller of the function.
lda

Type: gint

Its leading dimension.

tau

Type: gdouble*

The scalar factors of the elementary reflectors.

The data is owned by the caller of the function.
ws

Type: NcmLapackWS

A NcmLapackWS.

The data is owned by the caller of the function.

Return value

Type: gint

The LAPACK info: zero on success, $-i$ if argument $i$ is invalid, positive for the failure described in the LAPACK documentation.