File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 3654
3654
for the overloads with both parameters \tcode {pred} and \tcode {proj1}.
3655
3655
\end {itemize }
3656
3656
3657
+ \pnum
3658
+ Let $ N$ be $ \min (\tcode {last1 - first1}, \ \tcode {last2 - first2})$ .
3659
+
3657
3660
\pnum
3658
3661
\returns
3659
3662
\tcode {\{ first1 + n, first2 + n \} },
3660
- where \tcode {n} is the smallest integer such that $ E$ holds,
3661
- or $ \min (\tcode {last1 - first1}, \ \tcode {last2 - first2})$
3662
- if no such integer exists.
3663
+ where \tcode {n} is the smallest integer in \range {0}{$ N$ } such that $ E$ holds,
3664
+ or $ N$ if no such integer exists.
3663
3665
3664
3666
\pnum
3665
3667
\complexity
3666
- At most $ \min (\tcode {last1 - first1}, \ \tcode {last2 - first2})$
3667
- applications of the corresponding predicate and any projections.
3668
+ At most $ N$ applications of the corresponding predicate and any projections.
3668
3669
\end {itemdescr }
3669
3670
3670
3671
\rSec 2[alg.equal]{Equal}
You can’t perform that action at this time.
0 commit comments