Skip to content

Add method for spline from "left-edge" #23

@florence-bockting

Description

@florence-bockting

The idea here would be to add a class method to SplineScipy, something like from_normal_coefficients (terrible name, I can't think of how to name it better). The idea would be that, you given in say, "[1, 0]" and a domain of [-10, 20] and it translates the coefficients so they will work with scipy (so the coefficients would need to be "[1, -10]" in this trivial case). It's super annoying to always have to do this translation to x=0 being the left-edge of the domain by hand every time, this class method would try and solve that.

Originally posted by @znichollscr in #20 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions