Rectangular blocks of a stored square matrix
Library · Source module
Rectangular blocks of a stored square matrix
A square matrix of order N stored column-major (NLAlib.HoldsMatrix) has its rectangular block with corner (r_0, c_0), m rows and q columns at the strided view of offset 2(c_0 N + r_0) and leading dimension N. This file reads such a block entry by entry, copies a dense block into it (NLAlib.Ops.copyStrided) and describes the result, and bounds the error of replacing a block of columns: the column block of \mathbf{U} is the product by the column selection of the identity, which has orthonormal columns.
Main definitions
* NLAlib.subRect: the rectangular block of a square matrix. * NLAlib.setRect: a square matrix with a rectangular block replaced.
Main results
* NLAlib.HoldsMatrix.readBlock_rect: the entries of a block through its strided view. * NLAlib.copyStrided_writes_rect: copying a dense block into a rectangular block. * NLAlib.subRect_cols_eq_mul, NLAlib.hasOrthonormalCols_subRect_one: a column block is a product by a column selection. * NLAlib.mul_embedBlock_eq_setRect: the product by an embedded block replaces a column block. * NLAlib.specNorm_setRect_matMulWord_sub_le: a column block replaced by its stored product with a near-unitary block, against the product by the embedded unitary.
Declarations
- NLAlib.HoldsMatrix.readBlock_rect
- NLAlib.copyStrided_writes_rect
- NLAlib.hasOrthonormalCols_subRect_one
- NLAlib.matMul_growth_le_pow
- NLAlib.mul_embedBlock_eq_setRect
- NLAlib.rectFp_le
- NLAlib.setRect
- NLAlib.setRect_sub_setRect
- NLAlib.setRect_zero_cols_eq_mul
- NLAlib.specNorm_setRect_matMulWord_sub_le
- NLAlib.specNorm_setRect_zero_cols_le
- NLAlib.specNorm_subRect_cols_le
- NLAlib.subRect
- NLAlib.subRect_cols_eq_mul