num::scalar_fn¶ Defined in header <core/types.hpp> using scalar_fn = std::function<real(real)>; Scalar function: \(f : \mathbb{R} \to \mathbb{R}\).