Expand description
Small validation helpers for custom rules.
Functionsยง
- assert_
close - Asserts approximate equality using combined absolute and relative tolerances.
- assert_
scalar_ adjoint_ identity - Checks the defining adjoint identity
<Jv, w> = <v, J^T w>for scalars. - central_
difference - Estimates a scalar directional derivative with a central difference.