Skip to content

Support for multi-dimensional output #8

@RRiva

Description

@RRiva

Hi @jacobwilliams, thanks for the great work! I was wondering if it would be possible to support multi-dimensional outputs. For now, I think that the API requires to initialize a different interpolator per output, which is inefficient, since it requires to find the grid points multiple times.

One way to implement this would be to declare f as assumed-rank, and then place the interpolation algorithm inside select rank. Obviously, the linear interpolation formula stays the same, and to reduce code duplication you might include a file.

What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions