Skip to content

Conversation

@pasabanov
Copy link
Member

Types of changes

  • Feature
  • Testing
  • Refactoring, reformatting, cleanup

Related: #5

Description

  1. Added classes StepSpline, LinearSpline, and QuadraticSpline.

  2. Added a function simple_spline in ALFI/ALFI/spline/util.h, which returns the coefficients of a spline equivalent to a polynomial constructed with no more than three points.

  3. Added a new file ALFI/ALFI/util.h containing the class SimpleScopeGuard and the function first_leq_or_begin.

  4. Integrated all three splines into the demo application interpolation located in the examples directory, with refactoring and optimization applied.

  5. Added basic tests for all three splines.

1. Added classes `StepSpline`, `LinearSpline`, and `QuadraticSpline`.
2. Added a function `simple_spline` in `ALFI/ALFI/spline/util.h`,
   which returns the coefficients of a spline equivalent to a polynomial
   constructed with no more than three points.
3. Added a new file `ALFI/ALFI/util.h` containing the class `SimpleScopeGuard`
   and the function `first_leq_or_begin`.

4. Integrated all three splines into the demo application `interpolation`
   located in the `examples` directory, with refactoring and optimization applied.

5. Added basic tests for all three splines.
@pasabanov pasabanov added feature New feature or request perf Improve performance, speed, or resource usage refactor Improving code structure without adding new functionality tests Adding or changing tests examples labels Dec 13, 2024
@pasabanov pasabanov self-assigned this Dec 13, 2024
@pasabanov pasabanov merged commit b5b3cd8 into main Dec 13, 2024
@pasabanov pasabanov deleted the spline branch December 13, 2024 14:44
@pasabanov pasabanov added this to the First Release Version milestone Jan 26, 2025
@pasabanov pasabanov linked an issue Jan 26, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples feature New feature or request perf Improve performance, speed, or resource usage refactor Improving code structure without adding new functionality tests Adding or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants