NLA-lib Explorer

Rounded rows of a product of matrices

Library · Source module

Rounded rows of a product of matrices

A row vector multiplied by k matrices \mathbf{A}_0, \dots, \mathbf{A}_{k-1} in turn, with a relative error \eta in each product, ends within ((1 + \eta)^k - 1)\prod_j a_j \|\mathbf{x}_0\| of the e\mathbf{x}act \mathbf{x}_0^{\mathsf T}\mathbf{A}_0 \cdots \mathbf{A}_{k-1}, for bounds \|\mathbf{A}_j\|_2 \le a_j (NLAlib.norm_toLp_sub_vecMul_prod_le). The errors committed at each step are propagated by the later factors, which do not amplify them by more than their norms.

The case of a shift polynomial: the last row \mathbf{e}_n^{\mathsf{T}}p(\mathbf{H}), p(z) = \prod_j (z - s_j), computed by the recurrence \widehat{\mathbf{r}}_{j+1} = \mathrm{fl}(\widehat{\mathbf{r}}_j^{\mathsf T}(\mathbf{H} - s_j)) from \widehat{\mathbf{r}}_0 = \mathbf{e}_n, with shifts \lvert s_j\rvert \le C\|\mathbf{H}\|_2 and a relative error \eta \le 1 per step, is within \tfrac12 k\eta\,((2 + 2C)\|\mathbf{H}\|_2)^k of the exact row (NLAlib.norm_toLp_sub_aeval_shiftPoly_row_le). [BanksGarzaVargasSrivastava2022, Lemma 4.5] computes the same quantity with the conjugate recurrence \widehat{\mathbf{v}}_{j+1} = \mathrm{fl}((\mathbf{H} - s_{j+1})^{\mathsf{H}}\widehat{\mathbf{v}}_j) and \eta = n^{3/2}\boldsymbol{u}.

Main results

* NLAlib.norm_toLp_sub_vecMul_prod_le: a row through k rounded products. * NLAlib.norm_toLp_sub_aeval_shiftPoly_row_le: the rounded last row of a shift polynomial.

Declarations