/BasicAlgorithm

Some Basic Algorithm Code

Primary LanguageC++

Some Basic Algorithm

Content

  1. Hanmming Distance
    Calculate the count of "1" of an unsigned integer in binary expression.
  2. Cubic Spline
    Use cubic spline to fit data and evaluate value using interpolation and extrapolation. More detail
  3. Polynominal Roots
    Calculate the polynominal roots. Ref: http://mathworld.wolfram.com/PolynomialRoots.html