[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NVHPA25BZ87QFF7PDQ2HR7":3,"skill-same:01M6NVHPA25BZ87QFF7PDQ2HR7":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":14,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6NVHPA25BZ87QFF7PDQ2HR7","interpolation",null,"Problem-solving strategies for interpolation in numerical methods","rubicanjr\u002FFinCognis","rubicanjr","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F234912519?v=4","01M6NT156NND8J474G34SB3923","Rubi","01M6NT15B70RWXE1N3YV0BZY8A",0,"MIT","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fmath\u002Fnumerical-methods\u002Finterpolation\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26],"Bash","read","methods","problem-solving","strategies","problem","for","numerical","2026-11-10 10:12:30",false,"---\nname: interpolation\ndescription: \"Problem-solving strategies for interpolation in numerical methods\"\nallowed-tools: [Bash, Read]\n---\n\n# Interpolation\n\n## When to Use\n\nUse this skill when working on interpolation problems in numerical methods.\n\n## Decision Tree\n\n\n1. **Assess Data Characteristics**\n   - How many data points? Spacing uniform or non-uniform?\n   - Is data smooth or noisy?\n   - Need derivatives at endpoints?\n\n2. **Select Interpolation Method**\n   - Few points (\u003C10): Polynomial (Lagrange, Newton)\n   - Many points, smooth data: Cubic splines\n   - Noisy data: Smoothing splines or least squares\n   - High dimensions: Use simplex-based (n+1 neighbors vs 2^n)\n\n3. **Implement with SciPy**\n   - `scipy.interpolate.CubicSpline(x, y)` - natural cubic spline\n   - `scipy.interpolate.make_interp_spline(x, y, k=3)` - B-spline\n   - `scipy.interpolate.interp1d(x, y, kind='cubic')` - 1D interpolation\n\n4. **Validate Results**\n   - Check for Runge's phenomenon at boundaries (high-degree polynomials)\n   - Cross-validate: leave-one-out error estimation\n   - Visual inspection of interpolated curve\n   - `sympy_compute.py limit \"interp_error\" --at boundaries`\n\n5. **High-Dimensional Considerations**\n   - Coxeter-Freudenthal-Kuhn triangulation for O(n log n) point location\n   - Barycentric subdivision for balanced performance\n\n\n## Tool Commands\n\n### Scipy_Cubic_Spline\n```bash\nuv 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))\"\n```\n\n### Scipy_Bspline\n```bash\nuv 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))\"\n```\n\n### Sympy_Lagrange\n```bash\nuv run python -m runtime.harness scripts\u002Fsympy_compute.py interpolate \"[(0,0),(1,1),(2,4)]\" --var x\n```\n\n## Key Techniques\n\n*From indexed textbooks:*\n\n- [An Introduction to Numerical Analysis... (Z-Library)] DISCUSSION OF THE LITERATURE Discussion of the Literature As noted in the introduction, interpolation theory is a foundation for the development of methods in numerical integration and differentiation, approxima tion theory, and the numerical solution of differential equations. Each of these· topics is developed in the following chapters, and the associated literature is discussed at that point. Additional results on interpolation theory are given in de Boor (1978), Davis (1963), Henrici (1982, chaps.\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] The most commonly used form of interpolation is piecewise-polynomial interpolation. If function and derivative values are available, piecewise cubic Hermite interpolation is recommended. This is the preferred method for interpolating values of a function that is the solution to a differential equation.\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] Copyright 2010 Cengage Learning. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and\u002For eChapter(s).\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] Galerkin and Rayleigh-Ritz methods are both determined by Eq. However, this is not the case for an arbitrary boundary-value problem. A treatment of the similarities and differences in the two methods and a discussion of the wide application of the Galerkin method can be found in [Schul] and in [SF].\n- [An Introduction to Numerical Analysis... (Z-Library)] Polynomial interpolation theory has a number of important uses. In this text, its primary use is to furnish some mathematical tools that are used in developing methods in the areas of approximation theory, numerical integration, and the numerical solution of differential equations. A second use is in developing means - for working with functions that are stored in tabular form.\n\n## Cognitive Tools Reference\n\nSee `.claude\u002Fskills\u002Fmath-mode\u002FSKILL.md` for full tool documentation.\n","# Interpolation\n\n## When to Use\n\nUse this skill when working on interpolation problems in numerical methods.\n\n## Decision Tree\n\n\n1. **Assess Data Characteristics**\n   - How many data points? Spacing uniform or non-uniform?\n   - Is data smooth or noisy?\n   - Need derivatives at endpoints?\n\n2. **Select Interpolation Method**\n   - Few points (\u003C10): Polynomial (Lagrange, Newton)\n   - Many points, smooth data: Cubic splines\n   - Noisy data: Smoothing splines or least squares\n   - High dimensions: Use simplex-based (n+1 neighbors vs 2^n)\n\n3. **Implement with SciPy**\n   - `scipy.interpolate.CubicSpline(x, y)` - natural cubic spline\n   - `scipy.interpolate.make_interp_spline(x, y, k=3)` - B-spline\n   - `scipy.interpolate.interp1d(x, y, kind='cubic')` - 1D interpolation\n\n4. **Validate Results**\n   - Check for Runge's phenomenon at boundaries (high-degree polynomials)\n   - Cross-validate: leave-one-out error estimation\n   - Visual inspection of interpolated curve\n   - `sympy_compute.py limit \"interp_error\" --at boundaries`\n\n5. **High-Dimensional Considerations**\n   - Coxeter-Freudenthal-Kuhn triangulation for O(n log n) point location\n   - Barycentric subdivision for balanced performance\n\n\n## Tool Commands\n\n### Scipy_Cubic_Spline\n```bash\nuv 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))\"\n```\n\n### Scipy_Bspline\n```bash\nuv 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))\"\n```\n\n### Sympy_Lagrange\n```bash\nuv run python -m runtime.harness scripts\u002Fsympy_compute.py interpolate \"[(0,0),(1,1),(2,4)]\" --var x\n```\n\n## Key Techniques\n\n*From indexed textbooks:*\n\n- [An Introduction to Numerical Analysis... (Z-Library)] DISCUSSION OF THE LITERATURE Discussion of the Literature As noted in the introduction, interpolation theory is a foundation for the development of methods in numerical integration and differentiation, approxima tion theory, and the numerical solution of differential equations. Each of these· topics is developed in the following chapters, and the associated literature is discussed at that point. Additional results on interpolation theory are given in de Boor (1978), Davis (1963), Henrici (1982, chaps.\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] The most commonly used form of interpolation is piecewise-polynomial interpolation. If function and derivative values are available, piecewise cubic Hermite interpolation is recommended. This is the preferred method for interpolating values of a function that is the solution to a differential equation.\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] Copyright 2010 Cengage Learning. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and\u002For eChapter(s).\n- [Numerical analysis (Burden R.L., Fair... (Z-Library)] Galerkin and Rayleigh-Ritz methods are both determined by Eq. However, this is not the case for an arbitrary boundary-value problem. A treatment of the similarities and differences in the two methods and a discussion of the wide application of the Galerkin method can be found in [Schul] and in [SF].\n- [An Introduction to Numerical Analysis... (Z-Library)] Polynomial interpolation theory has a number of important uses. In this text, its primary use is to furnish some mathematical tools that are used in developing methods in the areas of approximation theory, numerical integration, and the numerical solution of differential equations. A second use is in developing means - for working with functions that are stored in tabular form.\n\n## Cognitive Tools Reference\n\nSee `.claude\u002Fskills\u002Fmath-mode\u002FSKILL.md` for full tool documentation.\n",{"name":5,"description":7,"allowed-tools":32},[19,33],"Read","main","70e1c350500ee750987420bbae48837afa906b7e","skills\u002Fmath\u002Fnumerical-methods\u002Finterpolation","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis","https:\u002F\u002Fgithub.com\u002Frubicanjr","linktr.ee\u002Ffinanskodu","Industrial Engineer & CIO @FinansKodu. Architecting AI-driven financial agents and autonomous workflows. 🏗️ Building systems, not just prompts.","2026-06-09 13:50:15",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add rubicanjr\u002FFinCognis --skill interpolation",{"tool":48,"command":49},"bunx","bunx skills add rubicanjr\u002FFinCognis --skill interpolation",{"tool":51,"command":52},"pnpm","pnpm dlx skills add rubicanjr\u002FFinCognis --skill interpolation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fmath\u002Fnumerical-methods\u002Finterpolation\u002FSKILL.md",true,[],[57,78,87,106,135,154],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":68,"publishedAt":27},"01M6NWS9DAXJTADT4T5MB49X8W","workflow-router","Goal-based workflow orchestration - routes tasks to specialist agents based on user goals","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow-router\u002FSKILL.md",[63],{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[69,70,71,72,73,74,75,76,77],"workflow router","workflow","router","orchestration","goals","goal","user","workflow orchestration","tasks",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":27},"01M6NWS3RETSC0SHP16HP66E14","wiring","Wiring Verification","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwiring\u002FSKILL.md",[],[80,85,86],"verification","false",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":96,"publishedAt":27},"01M6NWS0XW9CVQZBDA1EGW0TWC","websocket-patterns","Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fwebsocket-patterns\u002Fskill.md",[93],{"categoryNo":94,"categoryName":95,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000015","视觉设计",[97,98,99,100,101,102,103,23,104,105],"websocket","patterns","websocket patterns","design","protocol","management","message","binary","connection",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":116,"publishedAt":27},"01M6NWRDQDX9ZNETAWRRMQWV52","visual-verdict","Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS\u002FREVISE\u002FFAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvisual-verdict\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":66,"taxonomyTypeDesc":67},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":64,"categoryName":65,"taxonomyType":66,"taxonomyTypeDesc":67},[117,118,119,120,121,122,123,124,125,25,126,127,128,100,129,130,131,132,133,134],"visual","verdict","visual verdict","ui","across","revise","comparison","correctness","implementing","fixes","dimensions","frontend","development","qa","screenshot","returns","use","frontend development",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":27},"01M6NWR8HSNRS7MNDK2J02QYMN","verification-loop","Comprehensive verification system covering build, types, lint, tests, security, and diff review before a PR.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[142,143,85,144,145,146,147,148,149,150,151,152,153],"verification loop","loop","lint","review","security","pr","system","diff","build","tests","diff review","types",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":27},"01M6NWR4HHSFR0VR5EXFRWA747","vector-db-patterns","Embedding strategies, ANN algorithms, hybrid search, RAG chunking strategies, and reranking for semantic search and retrieval.","https:\u002F\u002Fgithub.com\u002Frubicanjr\u002FFinCognis\u002Fblob\u002Fmain\u002Fskills\u002Fvector-db-patterns\u002Fskill.md",[],[161,162,163,164,98,165,166,167,168,23,169,170,171,172,173,25,174,175],"vector db patterns","vector db","db","vector","semantic search","search","embedding strategies","algorithms","chunking","semantic","retrieval","embedding","Hybrid Search","hybrid","rag"]