Skip to content

num::scalar_function

Defined in header <algebra/concepts.hpp>

template <class F, class T = real>
concept scalar_function = field<T> && std::invocable<F, T> && requires(F f, T x) {
  { f(x) } -> std::convertible_to<T>;
};

Scalar function \(f: \mathbb{K} \to \mathbb{K}\), any callable.