C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::T0oT1oT20T3process< T >::mode4 Struct Reference

#include <exprtk.hpp>

Static Public Member Functions

static T process (const T &t0, const T &t1, const T &t2, const T &t3, const bfunc_t bf0, const bfunc_t bf1, const bfunc_t bf2)
template<typename T0, typename T1, typename T2, typename T3>
static std::string id ()

Detailed Description

template<typename T>
struct exprtk::details::T0oT1oT20T3process< T >::mode4

Definition at line 17411 of file exprtk.hpp.

Member Function Documentation

◆ id()

template<typename T>
template<typename T0, typename T1, typename T2, typename T3>
std::string exprtk::details::T0oT1oT20T3process< T >::mode4::id ( )
inlinestatic

Definition at line 17422 of file exprtk.hpp.

17423 {
17424 static const std::string result = "((" + exprtk_crtype(T0) + ")o(" +
17425 exprtk_crtype(T1) + "o" +
17426 exprtk_crtype(T2) + "))o(" +
17427 exprtk_crtype(T3) + ")" ;
17428 return result;
17429 }
#define exprtk_crtype(Type)
Definition exprtk.hpp:17276

References exprtk_crtype, and exprtk::details::nodetype_T0oT1< T, T0, T1 >::result.

◆ process()

template<typename T>
T exprtk::details::T0oT1oT20T3process< T >::mode4::process ( const T & t0,
const T & t1,
const T & t2,
const T & t3,
const bfunc_t bf0,
const bfunc_t bf1,
const bfunc_t bf2 )
inlinestatic

Definition at line 17413 of file exprtk.hpp.

17416 {
17417 // ((T0 o0 (T1 o1 T2)) o2 T3
17418 return bf2(bf0(t0,bf1(t1,t2)),t3);
17419 }

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