NLAlib.QueryAlgorithm.resample
Library ยท def
The resampled matrix of an algorithm with q pair queries to twoSidedMulVec X, \mathbf{X} \in \Bbbk^{d \times k}: with \mathbf{E} = \mathbf{I} - \mathbf{P}_{\mathbf{U}} and \mathbf{F} = \mathbf{I} - \mathbf{P}_{\mathbf{W}}, where the columns of \mathbf{U} and \mathbf{W} are the left parts and the right parts of the queries made on \mathbf{X} (QueryAlgorithm.leftQueryMatrix, QueryAlgorithm.rightQueryMatrix), \mathsf{resample}(\mathbf{X}, \mathbf{X}') = \mathbf{X} - \mathbf{E}\mathbf{X}\mathbf{F} + \mathbf{E}\mathbf{X}'\mathbf{F}\,. It agrees with \mathbf{X} on every query, so the algorithm cannot tell them apart (QueryAlgorithm.transcript_resample).
NLAlib.QueryAlgorithm.resample.{u_1, u_2, u_3, u_4} {๐ : Type u_1} [RCLike ๐] {d : Type u_2}
{k : Type u_3} {ฮฒ : Type u_4} [Fintype d] [Fintype k] [DecidableEq d] [DecidableEq k] {q : โ}
(alg : QueryAlgorithm ((k โ ๐) ร (d โ ๐)) ((d โ ๐) ร (k โ ๐)) q ฮฒ) (X X' : Matrix d k ๐) :
Matrix d k ๐Import NLAlib.LowerBounds.QueryModel.DeferredDecision.