qform Subroutine

private subroutine qform(m, n, q, ldq)

Produces the explicit QR factorization of a matrix.

The QR factorization of a matrix is usually accumulated in implicit form, that is, as a series of orthogonal transformations of the original matrix. This routine carries out those transformations, to explicitly exhibit the factorization constructed by QRFAC.

Arguments

Type IntentOptional Attributes Name
integer :: m

In - number of rows of A and the order of Q

integer :: n

In - number of columns of A

real(kind=dp) :: q(ldq,m)

In/Out - lower trapezoid in the first min(M,N) / accumulated into a square matrix

On input the full lower trapezoid in the first min(M,N) columns of Q contains the factored form. On output, Q has been accumulated into a square matrix.

integer :: ldq

In - not less than M which specifies the leading dimension of the array Q


Called by

proc~~qform~~CalledByGraph proc~qform qform proc~hybrd hybrd proc~hybrd->proc~qform proc~fsolve fsolve proc~fsolve->proc~hybrd proc~solve_junction solve_junction proc~solve_junction->proc~fsolve proc~junction_resolution_from_and_to_ports Junction_resolution_from_and_to_ports proc~junction_resolution_from_and_to_ports->proc~solve_junction proc~main_loop main_loop proc~main_loop->proc~junction_resolution_from_and_to_ports program~reims_p reims_p program~reims_p->proc~main_loop