Skip to content
Snippets Groups Projects

Feature function1 limit range

Merged Andrew Heather requested to merge feature-function1-limit-range into develop

Function1 wrapper that limits the input range of another Function1

Example usage for limiting a polynomial:

limitedPolyTest        limitRange;
limitedPolyTestCoeffs
{
    min         0.4;
    max         1.4;

    value       polynomial
    (
        (5 1)
        (-2 2)
        (-2 3)
        (1 4)
    );
}

Here the return value will be:

  • poly(0.4) for x <= 0.4;
  • poly(1.4) for x >= 1.4; and
  • poly(x) for 0.4 < x < 1.4.

Merge request reports

Approval is optional

Merged by Mattijs JanssensMattijs Janssens 4 years ago (Dec 16, 2020 3:25pm UTC)

Merge details

  • Changes merged into develop with 062fad46.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply