12#ifndef ARCANE_UTILS_IMATHFUNCTOR_H
13#define ARCANE_UTILS_IMATHFUNCTOR_H
29template<
typename Arg1,
typename Arg2,
typename ReturnType>
40 virtual ReturnType
apply(Arg1 a1,Arg2 a2) =0;
46 result[i] =
apply(a1[i],a2[i]);
Fichier de configuration d'Arcane.
Vue modifiable d'un tableau d'un type T.
constexpr Integer size() const noexcept
Retourne la taille du tableau.
Vue constante d'un tableau de type T.
Interface d'une fonction mathématique binaire.
virtual void apply(ConstArrayView< Arg1 > a1, ConstArrayView< Arg2 > a2, ArrayView< ReturnType > result)
Exécute la méthode associé
virtual ~IBinaryMathFunctor()
Libère les ressources.
virtual ReturnType apply(Arg1 a1, Arg2 a2)=0
Exécute la méthode associé
Int32 Integer
Type représentant un entier.