Interpolation

From vibeeval/vibecosystem · View interactive version

Interpolation is an AI agent skill from the GitHub repository vibeeval/vibecosystem. Problem-solving strategies for interpolation in numerical methods

How to use this skill

Skill file

Interpolation

When to Use

Use this skill when working on interpolation problems in numerical methods.

Decision Tree

  1. Assess Data Characteristics
  1. Select Interpolation Method
  1. Implement with SciPy
  1. Validate Results
  1. High-Dimensional Considerations

Tool Commands

Scipy_Cubic_Spline

uv run python -c "from scipy.interpolate import CubicSpline; import numpy as np; x = np.array([0,1,2,3]); y = np.array([0,1,4,9]); cs = CubicSpline(x, y); print(cs(1.5))"

Scipy_Bspline

uv run python -c "from scipy.interpolate import make_interp_spline; import numpy as np; x = np.array([0,1,2,3]); y = np.array([0,1,4,9]); bspl = make_interp_spline(x, y, k=3); print(bspl(1.5))"

Sympy_Lagrange

uv run python -m runtime.harness scripts/sympy_compute.py interpolate "[(0,0),(1,1),(2,4)]" --var x

Key Techniques

From indexed textbooks:

Cognitive Tools Reference

See .claude/skills/math-mode/SKILL.md for full tool documentation.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.