nworm
- 31
- 0
Can you write an example where a space complexity of any number-theoretic algorithm is calculated? Thanks In Advance.
The discussion revolves around the space complexity of number-theoretic algorithms, with participants seeking examples and clarifications on how to calculate and understand space complexity in this context. The conversation includes references to specific algorithms, models of computation, and theoretical frameworks.
Participants express differing views on the appropriate models for discussing space complexity, with some favoring the logarithmic cost criterion while others highlight the limitations of the unit cost RAM model. The discussion remains unresolved regarding the best approach to defining space complexity in the context of number-theoretic algorithms.
There are unresolved assumptions regarding the definitions of space complexity and the models of computation being referenced. The discussion also reflects varying levels of familiarity with the theoretical frameworks involved.
Yes.nworm said:Thank you.
If I understand rightly then you mean "the uniform cost criterion" and "the logarithmic cost criterion" from
http://www.cse.ohio-state.edu/~gurari/theory-bk/theory-bk-fivese1.html"
Sort of close but not completely. Our computers are known to simulate Turing Machines. As i said earlier, the unit cost RAM model is far more powerful than our Turing Machine. That is, a unit cost RAM model can outperform our computers at certain things and obviously, since we are looking at things that our computers are capable of doing, we wouldn't want to work with unit cost RAM model.I deal with big numbers. So I think to use the logarithmic cost criterion, i.e. O(log N) units of space for a number N (or O(log N) bits for a number N). Am I right?