Parallel Algorithm for Addition of Two Digit Numbers

Click For Summary
SUMMARY

The discussion focuses on the parallel algorithm for adding two-digit numbers, which requires n/2 processors and operates in a time complexity of log n / log 2, equivalent to log2 n. Participants seek clarification on the meaning of 'n' and the underlying algorithm. The consensus indicates that the logarithmic time complexity arises from the overhead of coordinating multiple processors during the addition process.

PREREQUISITES
  • Understanding of parallel algorithms
  • Basic knowledge of logarithmic time complexity
  • Familiarity with processor architecture
  • Concept of overhead in parallel computing
NEXT STEPS
  • Research the specifics of parallel algorithms for arithmetic operations
  • Learn about time complexity analysis in parallel computing
  • Explore the role of overhead in multi-processor systems
  • Study the implementation of log2 n in computational algorithms
USEFUL FOR

Computer scientists, software engineers, and students interested in parallel computing and algorithm optimization will benefit from this discussion.

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.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K