Sunday, 15 April 2018

algorithms - polynomial representation of binary in computer memory and its efficiency

I have noticed that in some cases 'polynomial representation' of a number is the preferred method to represent numbers in computer programs, especially those involving modular arithmetic and cryptography.



I have read that it allows to simplify the code required to implement the different arithmetic operations and thus is more comfortable to work with. Also it is claimed that polynomial form is the natural way to represent integers modulo something.




Here are my questions:




  1. Would you please elaborate on the available methods of converting between the traditional little-endian/big-endian representation of integers and their polynomial counter-parts?


  2. Why is the polynomial form a natural way to represent number modulo something ?


  3. Why does it lead to code simplification ?


No comments:

Post a Comment

real analysis - How to find $lim_{hrightarrow 0}frac{sin(ha)}{h}$

How to find $\lim_{h\rightarrow 0}\frac{\sin(ha)}{h}$ without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...