Scalar Givens row and column loops
Library · Source module
Scalar Givens row and column loops
Interleaved matrix entries use the existing pair layout in column-major order. One scoped scratch block is reused by every entry-pair rotation in a row or column loop.
Main results
* NLAlib.rotateRowsWithScratch: a scalar loop on two adjacent rows. * NLAlib.rotateColumnsWithScratch: a scalar loop on two adjacent columns. * NLAlib.rotateRowsOn, NLAlib.rotateColumnsOn: the loops on a range of columns or rows, storing NLAlib.machineRowRotationOn, NLAlib.machineColRotationOn (NLAlib.rotateRowsOn_writes_word, NLAlib.rotateColumnsOn_writes_word). * NLAlib.machineRowRotation, NLAlib.machineColRotation: the rotations the loops compute on any machine; in exact arithmetic the Givens products (NLAlib.machineRowRotation_eq, NLAlib.machineColRotation_eq). * NLAlib.rotateRows_writes_word, NLAlib.rotateColumns_writes_word: the loops on any machine; the exact theorems are their corollaries. * NLAlib.rotateRows_writes: the exact left Givens product with scoped scratch. * NLAlib.rotateColumns_writes: the exact right adjoint product with scoped scratch. * NLAlib.rotateRowsRoutine, NLAlib.rotateColumnsRoutine: the two scoped rotations as routines [n, k] (A : 2 n n, C : 2, S : 2) → (A), with their judgments NLAlib.rotateRowsRoutine_meets, NLAlib.rotateColumnsRoutine_meets on any machine.
Declarations
- NLAlib.machineColRotation
- NLAlib.machineColRotationOn
- NLAlib.machineColRotation_apply_left
- NLAlib.machineColRotation_apply_of_ne
- NLAlib.machineColRotation_apply_right
- NLAlib.machineColRotation_eq
- NLAlib.machineRowRotation
- NLAlib.machineRowRotationOn
- NLAlib.machineRowRotation_apply_left
- NLAlib.machineRowRotation_apply_of_ne
- NLAlib.machineRowRotation_apply_right
- NLAlib.machineRowRotation_eq
- NLAlib.rotateColumns
- NLAlib.rotateColumnsOn
- NLAlib.rotateColumnsOn_writes_word
- NLAlib.rotateColumnsRoutine
- NLAlib.rotateColumnsRoutine_meets
- NLAlib.rotateColumnsSpec
- NLAlib.rotateColumnsWithScratch
- NLAlib.rotateColumnsWithScratch_writes
- NLAlib.rotateColumnsWithScratch_writes_word
- NLAlib.rotateColumns_writes
- NLAlib.rotateColumns_writes_word
- NLAlib.rotateRows
- NLAlib.rotateRowsOn
- NLAlib.rotateRowsOn_writes_word
- NLAlib.rotateRowsRoutine
- NLAlib.rotateRowsRoutine_meets
- NLAlib.rotateRowsSpec
- NLAlib.rotateRowsWithScratch
- NLAlib.rotateRowsWithScratch_writes
- NLAlib.rotateRowsWithScratch_writes_word
- NLAlib.rotateRows_writes
- NLAlib.rotateRows_writes_word
- NLAlib.rotationEntry