powered by
For example: take the integer 5. In binary this is 101. Then, this representation in base 4 is 16+1 =17.
This function is used by accessD.wpst to help it access coefficients.
accessD.wpst
c2to4(index)
c2to4(5)
Run the code above in your browser using DataLab