fact: Definition rasterize2 (n m:positive) (t l b r:Q) (p:Q*Q) : Z*Z := pair (Zpos m -1 - (Z.min (Zpos m -1) (Z.max 0 (rasterize1 b t m (snd p)))))%Z (Z.min (Zpos n -1) (Z.max 0 (rasterize1 l r n (fst p)))).
imports: CoRN.algebra.RSetoid CoRN.metric2.Metric CoRN.metric2.UniformContinuity CoRN.reals.fast.RasterQ CoRN.reals.fast.Interval CoRN.logic.Classic CoRN.model.totalorder.QposMinMax Coq.QArith.Qabs Coq.QArith.Qround