CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ExpressionTraits::NumberOfActiveTypeArguments< JacobianExpression< size > > Struct Template Reference

Specialization for manual statement pushes of the used expression type. More...

#include <primalValueBaseTape.hpp>

Inheritance diagram for codi::ExpressionTraits::NumberOfActiveTypeArguments< JacobianExpression< size > >:

Public Types

using Base
 Abbreviation for the base class type.
 
- Public Types inherited from codi::CompileTimeTraversalLogic< T_ResultType, T_Impl >
using Impl = T_Impl
 See CompileTimeTraversalLogic.
 
using ResultType = T_ResultType
 See CompileTimeTraversalLogic.
 

Public Member Functions

inlinestatic size_t constexpr leaf ()
 Called for all leaf nodes in the expression.
 
- Public Member Functions inherited from codi::CompileTimeTraversalLogic< T_ResultType, T_Impl >
template<typename Node, typename... Args>
inlinestatic ResultType constexpr eval (Args &&... args)
 Start the evaluation of the logic on the given expression.
 
template<typename Node, typename... Args>
inlinestatic ResultType constexpr toLinks (Args &&... args)
 Helper method which calls the method 'link' on all links of the node and reduces the results.
 
inlinestatic ResultType constexpr reduce (ResultType a, ResultType b)
 Reduction operation for the results of two links.
 
template<typename Node, typename... Args>
inlinestatic ResultType constexpr node (Args &&... args)
 Called for each node in the expression.
 
template<typename Node, typename... Args>
inlinestatic ResultType constexpr leaf (Args &&...)
 Called for all leaf nodes in the expression.
 
template<size_t ChildNumber, typename Child, typename Root, typename... Args>
inlinestatic ResultType constexpr link (Args &&... args)
 Called for all links in the expression.
 

Static Public Attributes

static size_t constexpr value = size
 Number of arguments.
 
static size_t constexpr value
 See NumberOfActiveTypeArguments.
 
- Static Public Attributes inherited from codi::CompileTimeTraversalLogic< T_ResultType, T_Impl >
static ResultType constexpr NeutralElement = {}
 Neutral element of the reduction.
 

Additional Inherited Members

- Protected Member Functions inherited from codi::CompileTimeTraversalLogic< T_ResultType, T_Impl >
template<typename Node, typename... Args>
inlinestatic ResultType constexpr toNode (Args &&... args)
 Helper method to distinguish between leaf nodes and normal nodes.
 

Detailed Description

template<size_t size>
struct codi::ExpressionTraits::NumberOfActiveTypeArguments< JacobianExpression< size > >

Specialization for manual statement pushes of the used expression type.

Member Function Documentation

◆ leaf()

inlinestatic size_t constexpr codi::ExpressionTraits::NumberOfActiveTypeArguments< JacobianExpression< size > >::leaf ( )
inlineconstexpr

Called for all leaf nodes in the expression.

Must be a constexpr.

Default: Returns NeutralElement.


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