X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fmanual%2Fext_numerics.html;fp=libstdc%2B%2B-v3%2Fdoc%2Fhtml%2Fmanual%2Fext_numerics.html;h=437658d623d404816cdf534f15b77acc9f6b201e;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=0000000000000000000000000000000000000000;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/libstdc++-v3/doc/html/manual/ext_numerics.html b/libstdc++-v3/doc/html/manual/ext_numerics.html new file mode 100644 index 00000000..437658d6 --- /dev/null +++ b/libstdc++-v3/doc/html/manual/ext_numerics.html @@ -0,0 +1,20 @@ + + +
26.4, the generalized numeric operations such as accumulate, are extended + with the following functions: +
+ power (x, n); + power (x, n, moniod_operation);
Returns, in FORTRAN syntax, "x ** n" where n>=0. In the + case of n == 0, returns the identity element for the + monoid operation. The two-argument signature uses multiplication (for + a true "power" implementation), but addition is supported as well. + The operation functor must be associative. +
The iota
function wins the award for Extension With the
+ Coolest Name. It "assigns sequentially increasing values to a range.
+ That is, it assigns value to *first, value + 1 to *(first + 1) and so
+ on." Quoted from SGI documentation.
+
+ void iota(_ForwardIter first, _ForwardIter last, _Tp value);