Skip to content

implement scipy interpolate? #211

Closed
Closed

Description

@xinqipony

this is an amazing project and any plan to implement scipy interpolate?

Activity

  1. Oceania2018 commented on Mar 12, 2019

    @Oceania2018
    Member

    Will do Interpolate a 1-D function. and 2-D

  2. xinqipony commented on Mar 26, 2019

    @xinqipony
    Author

    yes, this is what I used:
    interpolate.interp1d(x, y, kind='cubic', axis=0),

    in the meantime, I use MathNet now, but its implementation is not so good and not easy to use,

    look forward to your new updates!

  3. self-assigned this
    on Mar 26, 2019
  4. Nucs commented on Sep 7, 2026

    @Nucs
    Member

    @xinqipony, the NumPy piece shipped in 0.70.0 (#628): np.interp (1-D linear, with left/right/period), bit-exact vs NumPy:

    var xp = np.array(new[] {1.0, 2, 3});
    var fp = np.array(new[] {10.0, 20, 30});
    
    Console.WriteLine(np.interp(np.array(new[] {2.5}), xp, fp));   // [25.]
    Console.WriteLine(np.interp(np.array(new[] {0.5}), xp, fp));   // [10.]  (clamped to fp[0])

    Full SciPy interpolation (splines, griddata) is out of scope for a NumPy port. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions