.claude/skills/chebfun-operations/SKILL.md
Perform mathematical operations on chebfuns including integration, differentiation, and other calculus operations. Use when computing integrals, derivatives, or applying functions to chebfuns.
npx skillsauth add ShaneLogic/SolarLab chebfun-operationsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
sum(f) % Integral over entire domain
sum(f, a, b) % Integral over subdomain [a, b]
Method: Clenshaw-Curtis quadrature on the polynomial representation
fint = cumsum(f) % Indefinite integral starting at 0 at left endpoint
fint = fint - fint(0) % Make value 0 at t=0
Important Notes:
f is a fun of length n, cumsum(f) returns a fun of length n+1Over 200 commands apply to chebfuns. View them with:
methods chebfun
sum(f) - Definite integraldiff(f) - Derivativeroots(f) - Find zerosabs(f), acos(f), norm(f) - Standard math functionsmean(f) - Average valueAll standard MATLAB operators are overloaded:
f + g % Addition
f * g % Multiplication
f.^2 % Power
1 ./ (1 + 25*x.^2) % Uses rdivide, plus, power, times
y = f(x) % Evaluate chebfun at point x
development
Understand and comply with Driftfusion software licensing terms, including the open-source AGPL v3.0 frontend and proprietary MATLAB pdepe solver backend. Use when using, modifying, or distributing Driftfusion code.
development
Initialize the Driftfusion simulation environment and create parameter objects. Use this skill when starting a new MATLAB session or setting up device properties for simulation.
development
Define device layer structure, configure spatial and time meshes, and build device structures with interface grading. Use this skill when setting up the physical geometry and discretization of a simulation device.
research
Analyze simulation solutions, calculate physical quantities, and generate plots. Use this skill when processing completed simulations, extracting currents/densities, or visualizing results.