/home/ntakagi/work/STLport-5.1.5/stlport/stl/_numeric.h File Reference#include <stl/_function_base.h>
#include <stl/_iterator_base.h>
#include <stl/_numeric.c>
Go to the source code of this file.
|
Functions |
template<class _InputIterator, class _Tp> |
_STLP_BEGIN_NAMESPACE _STLP_INLINE_LOOP
_Tp | accumulate (_InputIterator __first, _InputIterator __last, _Tp _Init) |
template<class _InputIterator, class _Tp, class _BinaryOperation> |
_STLP_INLINE_LOOP _Tp | accumulate (_InputIterator __first, _InputIterator __last, _Tp _Init, _BinaryOperation __binary_op) |
template<class _InputIterator1, class _InputIterator2, class _Tp> |
_STLP_INLINE_LOOP _Tp | inner_product (_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp _Init) |
template<class _InputIterator1, class _InputIterator2, class _Tp, class _BinaryOperation1, class _BinaryOperation2> |
_STLP_INLINE_LOOP _Tp | inner_product (_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp _Init, _BinaryOperation1 __binary_op1, _BinaryOperation2 __binary_op2) |
template<class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOperation> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_OutputIterator | __partial_sum (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp *, _BinaryOperation __binary_op) |
template<class _InputIterator, class _OutputIterator> |
_STLP_MOVE_TO_STD_NAMESPACE
_OutputIterator | partial_sum (_InputIterator __first, _InputIterator __last, _OutputIterator __result) |
template<class _InputIterator, class _OutputIterator, class _BinaryOperation> |
_OutputIterator | partial_sum (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) |
template<class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOperation> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_OutputIterator | __adjacent_difference (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp *, _BinaryOperation __binary_op) |
template<class _InputIterator, class _OutputIterator> |
_STLP_MOVE_TO_STD_NAMESPACE
_OutputIterator | adjacent_difference (_InputIterator __first, _InputIterator __last, _OutputIterator __result) |
template<class _InputIterator, class _OutputIterator, class _BinaryOperation> |
_OutputIterator | adjacent_difference (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op) |
template<class _Tp, class _Integer, class _MonoidOperation> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_Tp | __power (_Tp __x, _Integer __n, _MonoidOperation __opr) |
template<class _Tp, class _Integer> |
_STLP_MOVE_TO_STD_NAMESPACE
_STLP_MOVE_TO_PRIV_NAMESPACE
_Tp | __power (_Tp __x, _Integer __n) |
template<class _Tp, class _Integer, class _MonoidOperation> |
_STLP_MOVE_TO_STD_NAMESPACE
_Tp | power (_Tp __x, _Integer __n, _MonoidOperation __opr) |
template<class _Tp, class _Integer> |
_Tp | power (_Tp __x, _Integer __n) |
template<class _ForwardIterator, class _Tp> |
_STLP_INLINE_LOOP void | iota (_ForwardIterator __first, _ForwardIterator __last, _Tp __val) |
Function Documentation
template<class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOperation>
_STLP_MOVE_TO_PRIV_NAMESPACE _OutputIterator __adjacent_difference |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result, |
|
|
_Tp * |
, |
|
|
_BinaryOperation |
__binary_op | |
|
) |
| | |
template<class _InputIterator, class _OutputIterator, class _Tp, class _BinaryOperation>
_STLP_MOVE_TO_PRIV_NAMESPACE _OutputIterator __partial_sum |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result, |
|
|
_Tp * |
, |
|
|
_BinaryOperation |
__binary_op | |
|
) |
| | |
template<class _Tp, class _Integer>
_STLP_MOVE_TO_STD_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE _Tp __power |
( |
_Tp |
__x, |
|
|
_Integer |
__n | |
|
) |
| | [inline] |
template<class _Tp, class _Integer, class _MonoidOperation>
_STLP_MOVE_TO_PRIV_NAMESPACE _Tp __power |
( |
_Tp |
__x, |
|
|
_Integer |
__n, |
|
|
_MonoidOperation |
__opr | |
|
) |
| | |
template<class _InputIterator, class _Tp, class _BinaryOperation>
_STLP_INLINE_LOOP _Tp accumulate |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_Tp |
_Init, |
|
|
_BinaryOperation |
__binary_op | |
|
) |
| | |
template<class _InputIterator, class _Tp>
_STLP_BEGIN_NAMESPACE _STLP_INLINE_LOOP _Tp accumulate |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_Tp |
_Init | |
|
) |
| | |
template<class _InputIterator, class _OutputIterator, class _BinaryOperation>
_OutputIterator adjacent_difference |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result, |
|
|
_BinaryOperation |
__binary_op | |
|
) |
| | |
template<class _InputIterator, class _OutputIterator>
_STLP_MOVE_TO_STD_NAMESPACE _OutputIterator adjacent_difference |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result | |
|
) |
| | [inline] |
template<class _InputIterator1, class _InputIterator2, class _Tp, class _BinaryOperation1, class _BinaryOperation2>
_STLP_INLINE_LOOP _Tp inner_product |
( |
_InputIterator1 |
__first1, |
|
|
_InputIterator1 |
__last1, |
|
|
_InputIterator2 |
__first2, |
|
|
_Tp |
_Init, |
|
|
_BinaryOperation1 |
__binary_op1, |
|
|
_BinaryOperation2 |
__binary_op2 | |
|
) |
| | |
template<class _InputIterator1, class _InputIterator2, class _Tp>
_STLP_INLINE_LOOP _Tp inner_product |
( |
_InputIterator1 |
__first1, |
|
|
_InputIterator1 |
__last1, |
|
|
_InputIterator2 |
__first2, |
|
|
_Tp |
_Init | |
|
) |
| | |
template<class _ForwardIterator, class _Tp>
_STLP_INLINE_LOOP void iota |
( |
_ForwardIterator |
__first, |
|
|
_ForwardIterator |
__last, |
|
|
_Tp |
__val | |
|
) |
| | |
template<class _InputIterator, class _OutputIterator, class _BinaryOperation>
_OutputIterator partial_sum |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result, |
|
|
_BinaryOperation |
__binary_op | |
|
) |
| | [inline] |
template<class _InputIterator, class _OutputIterator>
_STLP_MOVE_TO_STD_NAMESPACE _OutputIterator partial_sum |
( |
_InputIterator |
__first, |
|
|
_InputIterator |
__last, |
|
|
_OutputIterator |
__result | |
|
) |
| | [inline] |
template<class _Tp, class _Integer>
_Tp power |
( |
_Tp |
__x, |
|
|
_Integer |
__n | |
|
) |
| | [inline] |
template<class _Tp, class _Integer, class _MonoidOperation>
_STLP_MOVE_TO_STD_NAMESPACE _Tp power |
( |
_Tp |
__x, |
|
|
_Integer |
__n, |
|
|
_MonoidOperation |
__opr | |
|
) |
| | [inline] |
Generated on Mon Mar 10 15:32:49 2008 by
1.5.1
|