C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::T0oT1oT20T3process< T >::mode2 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 >::mode2

Definition at line 17369 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 >::mode2::id ( )
inlinestatic

Definition at line 17380 of file exprtk.hpp.

17381 {
17382 static const std::string result = "(" + exprtk_crtype(T0) + ")o((" +
17383 exprtk_crtype(T1) + "o" +
17384 exprtk_crtype(T2) + ")o(" +
17385 exprtk_crtype(T3) + "))" ;
17386 return result;
17387 }
#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 >::mode2::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 17371 of file exprtk.hpp.

17374 {
17375 // (T0 o0 ((T1 o1 T2) o2 T3)
17376 return bf0(t0,bf2(bf1(t1,t2),t3));
17377 }

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