numerical-integration
Problem-solving strategies for numerical integration in numerical methods
npx skills add parcadei/Continuous-Claude-v3 --skill numerical-integration --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Numerical Integration ## When to Use Use this skill when working on numerical-integration problems in numerical methods. ## Decision Tree 1. **Identify Integral Type** - Definite integral over finite interval? - Improper integral (infinite bounds or singularities)? - Multiple dimensions? 2. **Select Quadrature Method** - Smooth function, finite interval: Gaussian quadrature - Oscillatory integrand: specialized methods (Filon, Levin) - Singularity at endpoint: adaptive methods - `scipy.integrate.quad(f, a, b)` for general 1D 3. **Adaptive Integration** - Let algorithm subdivide where needed - Specify error tolerances (rtol, atol) - `scipy.integrate.quad(f, a, b, epsabs=1e-8, epsrel=1e-8)` 4. **Multiple Dimensions** - `scipy.integrate.dblquad` for 2D - `scipy.integrate.tplquad` for 3D - Monte Carlo for higher dimensions 5. **Verify Accuracy** - Compare with known analytic solutions - Check convergence by refining tolerance - `sympy_compute.py integrate "f(x)" --var x --from a --to b` ## Tool Commands ### Scipy_Quad ```bash uv run python -c "from scipy.integrate import quad; import numpy as np; result, err = quad(lambda x: np.sin(x), 0, np.pi); print('Integral:', result, 'Error:', e
- When to Use
- Decision Tree
- Tool Commands
- ScipyQuad
- ScipyDblquad
- SympyIntegrate
- Key Techniques
- Cognitive Tools Reference
uv run python -c "from scipy.integrate import dblquad; result, err = dblquad(lambda y, x: x*y, 0, 1, 0, 1); print('Integral:', result)"
uv run python -m runtime.harness scripts/sympy_compute.py integrate "sin(x)" --var x --from 0 --to "pi"What does the numerical-integration skill do?
Problem-solving strategies for numerical integration in numerical methods
How do I install it?
Run `npx skills add parcadei/Continuous-Claude-v3 --skill numerical-integration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From parcadei/Continuous-Claude-v3, a repository with 3,885 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.