Standard Extensions
[Numeric]


Detailed Description

Note:
These extensions reside in the adobe:: namespace, not the std:: namespace.


Functions

template<typename InputRange, typename T, typename BinaryOperation>
accumulate (const InputRange &range, T init, BinaryOperation binary_op)
template<typename InputIterator, typename T, typename BinaryOperation>
accumulate (InputIterator first, InputIterator last, T init, BinaryOperation binary_op)
template<typename InputRange, typename T>
accumulate (const InputRange &range, T init)
template<typename InputRange, typename OutputIterator, typename BinaryOperation>
OutputIterator adjacent_difference (const InputRange &range, OutputIterator result, BinaryOperation binary_op)
template<typename InputIterator, typename OutputIterator, typename BinaryOperation>
OutputIterator adjacent_difference (InputIterator first, InputIterator last, OutputIterator result, BinaryOperation binary_op)
template<typename InputRange, typename OutputIterator>
OutputIterator adjacent_difference (const InputRange &range, OutputIterator result)
template<typename InputRange, typename InputIterator, typename T, typename BinaryOperation1, typename BinaryOperation2>
inner_product (const InputRange &range, InputIterator first, T init, BinaryOperation1 binary_op1, BinaryOperation2 binary_op2)
template<typename InputIterator1, typename InputIterator2, typename T, typename BinaryOperation1, typename BinaryOperation2>
inner_product (InputIterator1 first1, InputIterator1 last1, InputIterator2 first2, T init, BinaryOperation1 binary_op1, BinaryOperation2 binary_op2)
template<typename InputRange, typename InputIterator, typename T>
inner_product (const InputRange &range, InputIterator first, T init)
template<typename ForwardRange>
boost::range_const_iterator<
ForwardRange >::type 
max_adjacent_difference (const ForwardRange &range)
template<typename ForwardRange>
boost::range_iterator< ForwardRange
>::type 
max_adjacent_difference (ForwardRange &range)
template<typename ForwardIterator>
ForwardIterator max_adjacent_difference (ForwardIterator first, ForwardIterator last)
template<typename InputRange, typename OutputIterator, typename BinaryOperation>
OutputIterator partial_sum (const InputRange &range, OutputIterator result, BinaryOperation binary_op)
template<typename InputIterator, typename OutputIterator, typename BinaryOperation>
OutputIterator partial_sum (InputIterator first, InputIterator last, OutputIterator result, BinaryOperation binary_op)
template<typename InputRange, typename OutputIterator>
OutputIterator partial_sum (const InputRange &range, OutputIterator result)

Function Documentation

T accumulate ( const InputRange &  range,
init,
BinaryOperation  binary_op 
)

See also:
STL documentation for accumulate

Definition at line 100 of file numeric.hpp.

T accumulate ( InputIterator  first,
InputIterator  last,
init,
BinaryOperation  binary_op 
)

See also:
STL documentation for accumulate

Definition at line 94 of file numeric.hpp.

T accumulate ( const InputRange &  range,
init 
)

See also:
STL documentation for accumulate

Definition at line 88 of file numeric.hpp.

OutputIterator adjacent_difference ( const InputRange &  range,
OutputIterator  result,
BinaryOperation  binary_op 
)

See also:
STL documentation for adjacent_difference

Definition at line 163 of file numeric.hpp.

OutputIterator adjacent_difference ( InputIterator  first,
InputIterator  last,
OutputIterator  result,
BinaryOperation  binary_op 
)

See also:
STL documentation for adjacent_difference

Definition at line 156 of file numeric.hpp.

OutputIterator adjacent_difference ( const InputRange &  range,
OutputIterator  result 
)

See also:
STL documentation for adjacent_difference

Definition at line 150 of file numeric.hpp.

T inner_product ( const InputRange &  range,
InputIterator  first,
init,
BinaryOperation1  binary_op1,
BinaryOperation2  binary_op2 
)

See also:
STL documentation for inner_product

Definition at line 122 of file numeric.hpp.

T inner_product ( InputIterator1  first1,
InputIterator1  last1,
InputIterator2  first2,
init,
BinaryOperation1  binary_op1,
BinaryOperation2  binary_op2 
)

See also:
STL documentation for inner_product

Definition at line 113 of file numeric.hpp.

T inner_product ( const InputRange &  range,
InputIterator  first,
init 
)

See also:
STL documentation for inner_product

Definition at line 106 of file numeric.hpp.

typename boost::range_const_iterator< ForwardRange >::type max_adjacent_difference ( const ForwardRange &  range  ) 

Todo:
Document me.

Definition at line 76 of file numeric.hpp.

typename boost::range_iterator< ForwardRange >::type max_adjacent_difference ( ForwardRange &  range  ) 

Todo:
Document me.

Definition at line 69 of file numeric.hpp.

ForwardIterator max_adjacent_difference ( ForwardIterator  first,
ForwardIterator  last 
)

Todo:
Document me.

Definition at line 35 of file numeric.hpp.

OutputIterator partial_sum ( const InputRange &  range,
OutputIterator  result,
BinaryOperation  binary_op 
)

See also:
STL documentation for partial_sum

Definition at line 143 of file numeric.hpp.

OutputIterator partial_sum ( InputIterator  first,
InputIterator  last,
OutputIterator  result,
BinaryOperation  binary_op 
)

See also:
STL documentation for partial_sum

Definition at line 136 of file numeric.hpp.

OutputIterator partial_sum ( const InputRange &  range,
OutputIterator  result 
)

See also:
STL documentation for partial_sum

Definition at line 130 of file numeric.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google