Skip to content

Reducing allocations with inplace interpolation outputs #478

@csvance

Description

@csvance

Question❓

Is there a way with the current interface to pre-allocate interpolation outputs? I have a problem where I have 6 different splines of varying degrees (linear, cubic, quintic) and I am getting killed on allocations when using them for ODE applications. I know zero allocations is possible for my problem because I patched Dierckx to support it. But now I need to use autodiff on the same set of splines to solve a non linear optimization problem and Dierckx doesn't seem to work with how autodiff works in Julia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions