NLA-lib Explorer

NLAlib.Ops.Hermitian.averagePair

Library · def

Add the real words, subtract the imaginary words, and divide both results by a stored scalar. Inputs are two word pairs and one scalar cell; output is one word pair.

NLAlib.Ops.Hermitian.averagePair {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] : Ops.Stmt Op Tst

Full source on GitHub

Import NLAlib.Ops.Blas.HermitianEntry.