Data Structures and Algorithms with Object-Oriented Design Patterns in Python
next up previous index

An Asymptotic Upper Bound-Big Oh

In 1892, P. Bachmann  invented a notation for characterizing the asymptotic behavior of functions. His invention has come to be known as big oh notation:

Definition (Big Oh)     Consider a function f(n) which is non-negative for all integers tex2html_wrap_inline58503. We say that ``f(n) is big oh g(n),'' which we write f(n)=O(g(n)), if there exists an integer tex2html_wrap_inline58491 and a constant c>0 such that for all integers tex2html_wrap_inline58525, tex2html_wrap_inline58527.



next up previous index

Bruno Copyright © 2003, 2004 by Bruno R. Preiss, P.Eng. All rights reserved.