Skip to content

Tutorial: Refactor MathFunctions code

This MR intends to propagate the Step 10 MathFunctions refactor through all of the steps. This aims to reduce the complexity of Step 10 and demonstrate more consistent coding practices through the tutorial.

This MR is a proof of concept code refactor for Step 2 and its solution, Step 3. These changes will need to be done for all steps 2-10 and each step's prose will need changes before it will be considered a safe change. Because the proposed change is large and involves so many files, it might be better to review this in smaller, incomplete commits which will then be compiled at the end.

Refactor: Use MathFunctions/Mathfunctions.cxx to determine which sqrt library is called. This pulls that logic out of Tutorial.cxx. This also has .h files directly correspond to their .cxx files by name.

Edited by Markus Ferrell

Merge request reports