AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ inline_sum()

template<typename T , Tsize N>
T aff::inline_sum ( const SimpleRigidArray< T, N > &  array)
inline

Sum of all elements.

Examples:
tests/simplearraytest.cc.

Definition at line 183 of file simplearray.h.

References aff::SimpleRigidArray< T, N >::pointer(), and aff::util::Inline< T, I >::sum().

Referenced by main().

184  { return Inline<T, N>::sum(array.pointer()); }
C::Tvalue sum(const C &c)
Definition: sum.h:89
Here is the call graph for this function:
Here is the caller graph for this function: