VCTR
Loading...
Searching...
No Matches
vctr::ReductionExpression Class Reference

A collection of static functions used to evaluate reduction expressions. More...

Static Public Member Functions

template<is::reductionExpression Expression>
static VCTR_FORCEDINLINE constexpr auto reduce (const Expression &e)
 Returns the reduction result of the expression passed in.
 

Detailed Description

A collection of static functions used to evaluate reduction expressions.

You should usually not need to use this yourself, it's rather called internally in an ExpressionChainBuilder instance when a reduction expression terminates an expression chain.

Member Function Documentation

◆ reduce()

template<is::reductionExpression Expression>
static VCTR_FORCEDINLINE constexpr auto vctr::ReductionExpression::reduce ( const Expression &  e)
inlinestaticconstexpr

Returns the reduction result of the expression passed in.

The implementation tries to use accelerated evaluation options if available.


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