Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IBinaryMathFunctor< Arg1, Arg2, ReturnType > Class Template Referenceabstract

Interface of a binary mathematical function. More...

#include <arcane/utils/IMathFunctor.h>

Collaboration diagram for Arcane::IBinaryMathFunctor< Arg1, Arg2, ReturnType >:

Public Member Functions

virtual ~IBinaryMathFunctor ()
 Releases resources.
virtual ReturnType apply (Arg1 a1, Arg2 a2)=0
 Executes the associated method.
virtual void apply (ConstArrayView< Arg1 > a1, ConstArrayView< Arg2 > a2, ArrayView< ReturnType > result)
 Executes the associated method.

Detailed Description

template<typename Arg1, typename Arg2, typename ReturnType>
class Arcane::IBinaryMathFunctor< Arg1, Arg2, ReturnType >

Interface of a binary mathematical function.

Definition at line 32 of file IMathFunctor.h.

Constructor & Destructor Documentation

◆ ~IBinaryMathFunctor()

template<typename Arg1, typename Arg2, typename ReturnType>
virtual Arcane::IBinaryMathFunctor< Arg1, Arg2, ReturnType >::~IBinaryMathFunctor ( )
inlinevirtual

Releases resources.

Definition at line 37 of file IMathFunctor.h.

Member Function Documentation

◆ apply()

template<typename Arg1, typename Arg2, typename ReturnType>
virtual void Arcane::IBinaryMathFunctor< Arg1, Arg2, ReturnType >::apply ( ConstArrayView< Arg1 > a1,
ConstArrayView< Arg2 > a2,
ArrayView< ReturnType > result )
inlinevirtual

Executes the associated method.

Definition at line 45 of file IMathFunctor.h.

References apply(), and Arcane::ArrayView< T >::size().

Here is the call graph for this function:

The documentation for this class was generated from the following file: