Matrix-vector oracles with bounded error
Library · Source module
Matrix-vector oracles with bounded error
NLAlib.MatvecOracle A is a total approximate action of a fixed matrix, with a nonnegative relative tolerance. Its output need not be linear in the input. The error contract is \|\mathbf{A}\mathbf{x} - f(\mathbf{x})\| \le \varepsilon\|\mathbf{A}\|_2\|\mathbf{x}\| for every vector. This is mathematical data for an analysis, not a certificate about encoded execution.
Main definitions
* NLAlib.MatvecOracle: the action and its accuracy certificate. * NLAlib.MatvecOracle.ofMatrix: exact multiplication, with zero tolerance.
Main results
* NLAlib.MatvecOracle.mulVec_zero: zero is mapped to zero. * NLAlib.MatvecOracle.mulVec_eq_of_ε_eq_zero: zero tolerance gives exact multiplication.