C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::function_N_node< T, IFunction, N >::evaluate_branches< T_, BranchCount > Struct Template Reference

#include <exprtk.hpp>

Static Public Member Functions

static void execute (T_(&v)[BranchCount], const branch_t(&b)[BranchCount])

Detailed Description

template<typename T, typename IFunction, std::size_t N>
template<typename T_, std::size_t BranchCount>
struct exprtk::details::function_N_node< T, IFunction, N >::evaluate_branches< T_, BranchCount >

Definition at line 14750 of file exprtk.hpp.

Member Function Documentation

◆ execute()

template<typename T, typename IFunction, std::size_t N>
template<typename T_, std::size_t BranchCount>
void exprtk::details::function_N_node< T, IFunction, N >::evaluate_branches< T_, BranchCount >::execute ( T_(&) v[BranchCount],
const branch_t(&) b[BranchCount] )
inlinestatic

Definition at line 14752 of file exprtk.hpp.

14753 {
14754 for (std::size_t i = 0; i < BranchCount; ++i)
14755 {
14756 v[i] = b[i].first->value();
14757 }
14758 }

Referenced by exprtk::details::function_N_node< T, IFunction, N >::value().

Here is the caller graph for this function:

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