C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::loop_unroll::details Struct Reference

#include <exprtk.hpp>

Public Member Functions

 details (const std::size_t &vsize, const unsigned int loop_batch_size=global_loop_batch_size)

Public Attributes

unsigned int batch_size
int remainder
int upper_bound

Detailed Description

Definition at line 5270 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ details()

exprtk::details::loop_unroll::details::details ( const std::size_t & vsize,
const unsigned int loop_batch_size = global_loop_batch_size )
inlineexplicit

Definition at line 5272 of file exprtk.hpp.

5274 : batch_size(loop_batch_size )
5275 , remainder (vsize % batch_size)
5276 , upper_bound(static_cast<int>(vsize - (remainder ? loop_batch_size : 0)))
5277 {}

References batch_size, exprtk::details::loop_unroll::global_loop_batch_size, remainder, and upper_bound.

Member Data Documentation

◆ batch_size

◆ remainder

◆ upper_bound


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