Skip to content
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

Implement LinearSpline in Math component #782

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Dec 14, 2023

This PR implements the LinearSpline class in the math component, where LinearSpline is a piecewise linear function of the form.

$$s(t) = a_0 + a_1 t$$

where $t \in [0, T_i]$ and $T_i$ is the duration of the i-th polynomial.

@GiulioRomualdi GiulioRomualdi marked this pull request as ready for review December 14, 2023 16:40
@GiulioRomualdi GiulioRomualdi enabled auto-merge (squash) December 14, 2023 16:40
Copy link
Contributor

@paolo-viceconte paolo-viceconte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@GiulioRomualdi GiulioRomualdi merged commit 026c79f into master Dec 15, 2023
15 checks passed
@GiulioRomualdi GiulioRomualdi deleted the linear_spline branch December 15, 2023 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants