Template Struct EvaluatorTraits

Struct Documentation

template<typename model_type>
struct EvaluatorTraits

Exposes the scalar, index, and real types of any model that publicly derives from Evaluator.

Model classes keep their own type aliases private, so generic code (for example the Enzyme Jacobian evaluators) obtains the types through this trait instead of through the model class.

Template Parameters:

model_type – Model type derived from Evaluator