Skip to content

generalized interpolation function #64

Description

@syclik

From @bob-carpenter on January 12, 2015 19:20

Jan Scholz (via e-mail) suggested implementing the general form of interpolation used in SciPy.

https://github.com/scipy/scipy/blob/v0.15.0/scipy/ndimage/interpolation.py#L230

It should be able to handle 2D and 3D structures. Jan says the linear form (order 1) should be enough for his purposes.

For background, BUGS provides an interp.lin function for the 1D case:

http://www.mrc-bsu.cam.ac.uk/wp-content/uploads/manual14.pdf

The goal would be to get the derivatives working properly in a way that encapsulates the index-fiddling relative to the user and takes care of error conditions.

This would be a nice standalone project.

  • example for model-examples
  • documentation using example
  • C++ function with tests
  • plumbing into Stan's language
  • tests in Stan programs to ensure compilability

Copied from original issue: stan-dev/stan#1214

Activity

  1. bgoodri commented on Mar 4, 2016

    @bgoodri
    Contributor

    Is this different from #58?

  2. bob-carpenter commented on Mar 4, 2016

    @bob-carpenter
    Member

    No. I'm adding the notes here to that issue and closing this one.

  3. modified the milestone: on Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions