Expand description
§Calculus operations with dodecet encoding
Provides derivatives, integrals, and other calculus operations optimized for 12-bit encoding.
Functions§
- decode_
function - Decode and interpolate a dodecet lookup table
- derivative
- Numerical derivative using finite differences
- encode_
function - Encode a function as dodecet lookup table
- encode_
taylor_ series - Encode a Taylor series as dodecets
- evaluate_
taylor_ series - Evaluate a Taylor series from dodecet encoding
- fourier_
coefficients - Calculate Fourier coefficients
- gradient
- Gradient (vector derivative) of a scalar function
- gradient_
descent - Optimize using gradient descent
- integral
- Numerical integral using trapezoidal rule
- laplacian
- Laplacian (sum of second derivatives)
- ode_
euler - Numerical solution to ODE using Euler’s method