Say we want to apply a Householder transformation to a vector or a matrix , e.g. or . In this case, we do not form the matrix:

with and then compute the product. This is very inefficient.

Instead, say we are given a vector and want to compute . We can follow these steps:

Cost:

Time: ; space .

For a matrix, if we want to compute , the cost goes up to .

Householder transformation