Complex division by actual scalar operations
Library · Source module
Complex division by actual scalar operations
The denominator is its sum of two real squares. Both numerators are computed before either output word is overwritten, permitting exact aliases with either input pair. A nonzero complex denominator is the mathematical hypothesis ensuring the real divisions are valid.
Main results
* NLAlib.ShiftedQR.complexDivideWithScratch: eleven scalar instructions and four scratch words. * NLAlib.ShiftedQR.complexDivideWithScratch_writes: exact quotient under the exact scalar model.