-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(utils): Add function to compute linear coefficients #228
(utils): Add function to compute linear coefficients #228
Conversation
e398686
to
8cf29b6
Compare
Codecov Report
@@ Coverage Diff @@
## develop #228 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 44 47 +3
Lines 673 746 +73
=========================================
+ Hits 673 746 +73
Continue to review full report at Codecov.
|
float y_intercept {0.f}; | ||
}; | ||
|
||
auto computeLinearCoefficients(Point p1, Point p2) -> LinearCoefficients; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Après quelques recherches, je comprends l'usage du trailing pour map mais pas pour ici.
De ce que j'ai pu lire, il était utilisé soit
- Pour des types passés en paramètres
- Pour des types de retour complexe (association de plusieurs types)
Je viens de lire qu'il est parfois utilisé lorsque le type est long et qu'on souhaite améliorer la lisibilité. Est-ce le cas ici?
588b4be
to
f0819bc
Compare
Adds: - Point struct - LinearCoefficients struct - compute function - unit tests closes #225
f0819bc
to
645f86f
Compare
Code Climate has analyzed commit 645f86f and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! |
Adds:
closes #225