functionhohoTrafoLowerHess

Compute the similarity transformation S*A*S of matrix A with householder matrix S = I - 2u*u' to compute a lower Hessenberg form

Information

This function calculates one step in the calculation of lower Hessenberg form. Therein it calculates the (n-r+1)'th column of the Hessenberg matrix which is of shape {fill(1,n-r-1),x,x}.

Inputs

TypeNameDefaultDescription
Real[:,size(A, 1)]A
Real[size(A, 1)]uhouseholder vector
Integerr

Outputs

TypeNameDefaultDescription
Real[size(A, 1),size(A, 1)]SAS