Parallel Algorithm for Addition of Two Digit Numbers

AI Thread Summary
The discussion centers on the time complexity of a parallel algorithm for adding two-digit numbers, which is stated to be proportional to log n / log 2. Participants seek clarification on what n represents, with suggestions that it refers to the total number of digits involved. The conversation highlights that the algorithm requires n/2 processors and emphasizes the overhead associated with coordinating multiple processors. It is noted that the time complexity can be interpreted as log2n, indicating that the logarithmic time is due to the parallel processing structure. The overall focus remains on understanding the mathematical reasoning behind the time complexity in the context of parallel computing.
teng125
Messages
416
Reaction score
0
by means of the parallel
algorithm , let says addition of two digits number in each row requiring n/2
processors and taking time proportional to log n / log 2 .

for the ques above, i do not understand why it takes time of log n / log 2 .

can smby pls explain to me

thanx
 
Physics news on Phys.org
This isn't very clear. What is n? (the total number of digits of both numbers?) What is this algorithm used?
 
let says addition of any two digits number in each row(n) requiring n/2
processors
and taking time proportional to log n / log 2 .


i do not understand why it takes time of log n / log 2 .
 
What is the algorithm used?
 
parallel algorithm, but i think it doesn't matter.i just want to sought out from the poit of maths or comp ,how to get log n / log 2
 
Well, many algorithms are parallel. What is the description of the one you are using?

The only clue from log n / log 2 is that this is the same as log2n.
 
it just says the adding or two digits or numbers in each row.then by performing nth rows , taking time proportional to log2n.
 
I imagine that it is because it requires some overhead work to get two processors working together in the first place.
 
Back
Top