Aboria

PrevUpHomeNext

Macro ABORIA_UNARY_FUNCTION

ABORIA_UNARY_FUNCTION

Synopsis

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

ABORIA_UNARY_FUNCTION(function_name, function_to_wrap, domain)

Description

a macro to generate a symbolic function taking a single argument 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 a single argument and returns result_type


PrevUpHomeNext