Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
Public Member Functions | Public Attributes | List of all members
hdnum::oc::OpCounter< F >::Counters Struct Reference

Struct storing the number of operations. More...

#include <opcounter.hh>

Public Member Functions

void reset ()
 
template<typename Stream >
void reportOperations (Stream &os, bool doReset=false)
 Report operations to stream object.
 
size_type totalOperationCount (bool doReset=false)
 Get total number of operations.
 
Countersoperator+= (const Counters &rhs)
 
Counters operator- (const Counters &rhs)
 

Public Attributes

size_type addition_count
 
size_type multiplication_count
 
size_type division_count
 
size_type exp_count
 
size_type pow_count
 
size_type sin_count
 
size_type sqrt_count
 
size_type comparison_count
 

Detailed Description

template<typename F>
struct hdnum::oc::OpCounter< F >::Counters

Struct storing the number of operations.


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