Aboria

PrevUpHomeNext

Macro ABORIA_BINARY_FUNCTION

ABORIA_BINARY_FUNCTION

Synopsis

// In header: </home/travis/build/martinjrobins/Aboria/src/Functions.h>

ABORIA_BINARY_FUNCTION(function_name, function_to_wrap, domain)

Description

a macro to generate a symbolic function taking two arguments using a given functor

Parameters:

domain

the domain of the symbolic function (normally SymbolicDomain)

function_name

the name of the symbolic function to generate

function_to_wrap

a functor that defines a typedef result_type with the returned type, and a operator() that takes two arguments and returns result_type


PrevUpHomeNext