autodoc.git
/
onepage.xml
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/onepage.xml:1:
<?xml version='1.0' encoding='utf-8'?>
-
<manual time-stamp='2018-09-
23
' version='Pike v8.1.13'>
+
<manual time-stamp='2018-09-
26
' version='Pike v8.1.13'>
<dir name='./onepage'> <file name='./onepage/manual.html'> <chapter number='1' title='Control Structures'> <p>In this chapter all the control structures in Pike will be explained. Control structures are used to control the flow of the program execution. Note that functions that make the program pause and simple function calls are not qualified as control structures.</p> <section number='1' title='Conditions'>
autodoc.git/onepage.xml:17383:
</docgroup> <docgroup homogen-name='sum' homogen-type='method'><doc><text><p>Sum the elements of an array using `+. The empty array results in 0.</p> </text></doc> <method name='sum'> <arguments><argument name='a'><type><array/></type></argument></arguments> <returntype><mixed/></returntype> </method> </docgroup> <docgroup homogen-name='sum_arrays' homogen-type='method'><doc><text><p>Applies the function <ref resolved='predef::Array.sum_arrays.sum'>sum</ref> columnwise on the elements in the
-
provided arrays. E.g. <expr>sum_
array
(`+,a,b,c)</expr> does the same
+
provided arrays. E.g. <expr>sum_
arrays
(`+,a,b,c)</expr> does the same
as <expr>`+(a[*],b[*],c[*])</expr>.</p> </text></doc> <method name='sum_arrays'> <arguments><argument name='sum'><type><function><argtype><varargs><int><min>0</min><max>0</max></int></varargs></argtype><returntype><mixed/></returntype></function></type></argument><argument name='args'><type><varargs><array/></varargs></type></argument></arguments> <returntype><array/></returntype> </method> </docgroup> <docgroup homogen-name='transpose' homogen-type='method'><doc><text><p>Takes an array of equally sized arrays (essentially a matrix of size M*N) and returns the transposed (N*M) version of it, where rows and columns are exchanged for one another.</p>