NLA-lib Explorer

NLAlib.matMulOn

Library · def

The product of two stored complex matrices on strided views: for c = 0, \mathbf{Z} = \mathbf{X}\mathbf{Y} with \mathbf{X} of size m \times p (leading dimension ldx), \mathbf{Y} of size p \times q (ldy) and \mathbf{Z} of size m \times q (ldz); for c \ge 1, \mathbf{Z} = \mathbf{X}^{\mathsf{H}}\mathbf{Y} with \mathbf{X} of size p \times m. Entry (i, j) is accumulated from 0 by p rounded complex multiply–adds. The interface is [m, p, q, ldx, ldy, ldz, c] (X, Y) → (Z); the output is apart from the inputs, and the four scratch pairs are scoped.

NLAlib.matMulOn {O Q : Type} [Ops.Has Ops.ScalarOp O] : Ops.Stmt O Q

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.StoredProducts.