![]() |
![]() |
#1 |
Nov 2011
22·3 Posts |
![]() |
![]() |
![]() |
#2 |
Nov 2011
22·3 Posts |
![]() |
![]() |
![]() |
#3 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
101000001100002 Posts |
![]() Quote:
Maybe you found something like this, that could require a polynomial time, but it would require an exponential space. The best algorithm should be the one that make a good compromise between the time and the space. |
|
![]() |
![]() |
#4 | ||
Jun 2003
22×3×5×7×13 Posts |
![]() Quote:
![]() Quote:
![]() ![]() |
||
![]() |
![]() |
#5 |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
![]()
"requires that any memory location can be accessed in constant time"
Now admittedly, that also requires a multiplication look up table of significant size, which, when counted with the actual multiplication, would create an exponential algorithm |
![]() |
![]() |
#6 | |||
"Bob Silverman"
Nov 2003
North of Boston
11101100001002 Posts |
![]() Quote:
Quote:
False. Integer multiplication also takes just polynomial time. Quote:
Three strikes and you are out! Go back and do some reading. For example, Go read my joint paper with Peter: An FFT Extension to the P-1 Factoring Algorithm. Integer multiplication takes polynomial time. The 'paper/pencil' method is quadratic in the size of the inputs. Integer multiplication via FFT's takes O(n log n loglogn) where n is the size of the numbers. The only essential difference between integer and polynomial multiplication is that for the latter one does not need to handle CARRIES. |
|||
![]() |
![]() |
#7 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
24×643 Posts |
![]()
RDS rulz... Well, you are right... Mea culpa.
![]() I am still waiting for an algorithm with complexity O((log n)^a)), with "a" as big as you want, but fixed... >:P Last fiddled with by LaurV on 2011-11-07 at 13:21 |
![]() |
![]() |
#8 |
"Bob Silverman"
Nov 2003
North of Boston
755610 Posts |
![]() |
![]() |
![]() |
#9 |
Jun 2003
22·3·5·7·13 Posts |
![]()
I am just wondering. What do you think 'n' means in this context? I get the feeling that you consider 'n' to be the number being multiplied rather than the number of bits/digits in the number being multiplied.
Last fiddled with by axn on 2011-11-07 at 14:01 Reason: thing -> think |
![]() |
![]() |
#10 | |
"Bob Silverman"
Nov 2003
North of Boston
22×1,889 Posts |
![]() Quote:
We measure time/space complexity as a function of the size of the inputs..... The size of a number is its length (in whatever radix you choose) (as axn knows) |
|
![]() |
![]() |
#11 |
Romulan Interpreter
"name field"
Jun 2011
Thailand
1028810 Posts |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
random comments, random questions and thread titles made for Google | jasong | Lounge | 46 | 2017-05-09 12:32 |
Request for comments | ET_ | FermatSearch | 5 | 2016-07-03 10:58 |
No Comments? | R.D. Silverman | GMP-ECM | 11 | 2013-06-29 20:34 |
How do you look at previous comments on Youtube? | jasong | jasong | 0 | 2012-08-19 20:02 |
Comments to the "getting started"-thread | opyrt | Prime Sierpinski Project | 7 | 2008-12-15 00:49 |