NLA-lib Explorer

NLAlib.twoSidedMulVec

Library Β· def

The two-sided matrix–vector oracle of \mathbf{A} \in \Bbbk^{m \times n}: the query (\mathbf{x}, \mathbf{y}) returns (\mathbf{A}\mathbf{x}, \mathbf{A}^{\mathsf{H}}\mathbf{y}), one product with \mathbf{A} (the right part) and one with \mathbf{A}^{\mathsf{H}} (the left part). A zero part returns zero and costs nothing (QueryAlgorithm.rightCount, QueryAlgorithm.leftCount).

NLAlib.twoSidedMulVec.{u_1, u_2, u_3} {π•œ : Type u_1} {m : Type u_2} {n : Type u_3} [Fintype m]
  [Fintype n] [NonUnitalNonAssocSemiring π•œ] [Star π•œ] (A : Matrix m n π•œ) (v : (n β†’ π•œ) Γ— (m β†’ π•œ)) :
  (m β†’ π•œ) Γ— (n β†’ π•œ)

Full source on GitHub

Import NLAlib.LowerBounds.QueryModel.Basic.