Skip to content

piecewise polynomial in one dimension #34456

@NicoleYueqiLi

Description

@NicoleYueqiLi

Implement real value piecewise polynomial function over the real set. For the polynomial function, we adopted code from the polynomial ring of SageMath. For piecewise function, we adopted code by Matthias Köppe et al., at https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/cutgeneratingfunctionology/igp/fast_piecewise.py and code by David Joyner et al. at SageMath piecewise function.

This code can do general piecewise add, subtraction, multiplication, divide the real number, equal, detect pieces with discontinuity, and compute limits at certain points. we are currently working on plotting piecewise functions.

Depends on #11225

CC: @yuan-zhou

Component: geometry

Keywords: piecewise

Author: Yueqi Li

Branch/Commit: u/gh-NicoleYueqiLi/piecewise_polynomial_in_one_dimension @ e185e1d

Issue created by migration from https://trac.sagemath.org/ticket/34456

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions