Task 3 – extending the crate (part 1)

You will have noticed that, in the example library, there is no code at all for the regression_analysis module. This is deliberate.

Back in Chapter 6Creating Your Own Rust Applications, one of the tasks was to create code that enabled you to perform a regression analysis based on formulae provided. The code created can now be firmly split into two parts:

  • The equation for the straight line, y = mx + c, which will also give the intercepts on the x and y axis
  • The standard deviation and regression analysis
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset