Parallel Algorithm for Addition of Two Digit Numbers

Click For Summary

Discussion Overview

The discussion revolves around the parallel algorithm for the addition of two-digit numbers, specifically focusing on the time complexity expressed as log n / log 2. Participants seek clarification on the meaning of this time complexity and the specifics of the algorithm being referenced.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the meaning of log n / log 2 in the context of adding two-digit numbers and requests an explanation.
  • Another participant seeks clarification on what n represents, suggesting it may refer to the total number of digits of both numbers.
  • A participant reiterates the time complexity of log n / log 2 and expresses confusion about its derivation.
  • There are inquiries about the specific algorithm being used for this addition.
  • One participant mentions that many algorithms are parallel and emphasizes the need for a description of the algorithm in question.
  • A later reply suggests that the time complexity might involve overhead work required for processors to collaborate effectively.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the specifics of the algorithm or the interpretation of the time complexity. Multiple viewpoints and questions remain unresolved.

Contextual Notes

There is ambiguity regarding the definition of n and the specific algorithm being referenced, which may affect the understanding of the time complexity. The discussion lacks clarity on the assumptions underlying the claims made.

Who May Find This Useful

This discussion may be of interest to individuals studying parallel algorithms, computational complexity, or those seeking to understand the mathematical foundations of algorithmic time complexity.

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
5K
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K