LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc::ArraySumFunctor Struct Reference

#include <arraysumfunctor.hxx>

Public Member Functions

 ArraySumFunctor (const double *pArray, size_t nSize)
 
double operator() ()
 

Private Member Functions

double executeSSE2 (size_t &i, const double *pCurrent) const
 
double executeUnrolled (size_t &i, const double *pCurrent) const
 

Private Attributes

const double * mpArray
 
size_t mnSize
 

Detailed Description

Definition at line 23 of file arraysumfunctor.hxx.

Constructor & Destructor Documentation

sc::ArraySumFunctor::ArraySumFunctor ( const double *  pArray,
size_t  nSize 
)
inline

Definition at line 30 of file arraysumfunctor.hxx.

Member Function Documentation

double sc::ArraySumFunctor::executeSSE2 ( size_t &  i,
const double *  pCurrent 
) const
private

Definition at line 16 of file arraysumSSE2.cxx.

References mnSize, and void().

Referenced by operator()().

double sc::ArraySumFunctor::executeUnrolled ( size_t &  i,
const double *  pCurrent 
) const
inlineprivate

Definition at line 91 of file arraysumfunctor.hxx.

Referenced by operator()().

double sc::ArraySumFunctor::operator() ( void  )
inline

Member Data Documentation

size_t sc::ArraySumFunctor::mnSize
private

Definition at line 27 of file arraysumfunctor.hxx.

Referenced by executeSSE2(), and operator()().

const double* sc::ArraySumFunctor::mpArray
private

Definition at line 26 of file arraysumfunctor.hxx.

Referenced by operator()().


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