Skip to content
Specular Differentiation

User Guide

Mathematical Background

References on specular differentiation and its applications.

LaTeX Macro

Write specular notation in LaTeX and Markdown.

Installation

Install the package and check your setup.

Backends

Choose NumPy, Numba, or JAX and configure precision.

Calculation

Compute specular derivatives, gradients, and Jacobians.

ODE

Solve scalar ODEs with the specular ellipse method.

Optimization

Use SPEG with direction and step size rules.