Jean-Guillaume Pyraksos
2010-03-04 07:26:25 UTC
Say that you have computed a factorial function fac(n) with a given
complexity.
Let proj(x,y) := x and f(n) := proj(0,fac(n)).
What is the complexity of the function f ?
Most books use a pseudo-language without saying anything on the
semantics of its function call, as if algorithmics was completely
disconnected from programming. A pseudo-language is a programming
language.
JG
complexity.
Let proj(x,y) := x and f(n) := proj(0,fac(n)).
What is the complexity of the function f ?
Most books use a pseudo-language without saying anything on the
semantics of its function call, as if algorithmics was completely
disconnected from programming. A pseudo-language is a programming
language.
JG