Project: CockroachDB (App Definition and Development / Database)
File: aggregates.md

<table> <thead><tr><th>Function &rarr; Returns</th><th>Description</th><th>Volatility</th></tr></thead> <tbody> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="date.html">date</a>) &rarr; <a href="date.html">date</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="date.html">date</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="inet.html">inet</a>) &rarr; <a href="inet.html">inet</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="inet.html">inet</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="interval.html">interval</a>) &rarr; <a href="interval.html">interval</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="string.html">string</a>) &rarr; <a href="string.html">string</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="string.html">string</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="time.html">time</a>) &rarr; <a href="time.html">time</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="time.html">time</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="timestamp.html">timestamp</a>) &rarr; <a href="timestamp.html">timestamp</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="timestamp.html">timestamp</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="timestamp.html">timestamptz</a>) &rarr; <a href="timestamp.html">timestamptz</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="timestamp.html">timestamptz</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="uuid.html">uuid</a>) &rarr; <a href="uuid.html">uuid</a>[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: <a href="uuid.html">uuid</a></code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: anyenum) &rarr; anyenum[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: anyenum</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: box2d) &rarr; box2d[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: box2d</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: geography) &rarr; geography[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: geography</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: geometry) &rarr; geometry[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: geometry</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: jsonb) &rarr; jsonb[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: jsonb</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: oid) &rarr; oid[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: oid</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: pglsn) &rarr; pglsn[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: pg_lsn</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: refcursor) &rarr; refcursor[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an

</span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: refcursor</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: timetz) &rarr; timetz[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: timetz</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: tuple) &rarr; tuple[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: tuple</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: varbit) &rarr; varbit[]</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arrayagg"></a><code>arrayagg(arg1: varbit</code></td><td><span class="funcdesc"><p>Aggregates the selected values into an array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="bool.html">bool</a>[]) &rarr; <a href="bool.html">bool</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="bytes.html">bytes</a>[]) &rarr; <a href="bytes.html">bytes</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="date.html">date</a>[]) &rarr; <a href="date.html">date</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="decimal.html">decimal</a>[]) &rarr; <a href="decimal.html">decimal</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="float.html">float</a>[]) &rarr; <a href="float.html">float</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="inet.html">inet</a>[]) &rarr; <a href="inet.html">inet</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="int.html">int</a>[]) &rarr; <a href="int.html">int</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="interval.html">interval</a>[]) &rarr; <a href="interval.html">interval</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="string.html">string</a>[]) &rarr; <a href="string.html">string</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="time.html">time</a>[]) &rarr; <a href="time.html">time</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="timestamp.html">timestamp</a>[]) &rarr; <a href="timestamp.html">timestamp</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="timestamp.html">timestamptz</a>[]) &rarr; <a href="timestamp.html">timestamptz</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: <a href="uuid.html">uuid</a>[]) &rarr; <a href="uuid.html">uuid</a>[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: anyenum[]) &rarr; anyenum[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: box2d[]) &rarr; box2d[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: geography[]) &rarr; geography[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: geometry[]) &rarr; geometry[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: jsonb[]) &rarr; jsonb[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: oid[]) &rarr; oid[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: pglsn[]) &rarr; pglsn[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: refcursor[]) &rarr; refcursor[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: timetz[]) &rarr; timetz[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single

</span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: tuple[]) &rarr; tuple[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="arraycatagg"></a><code>arraycatagg(arg1: varbit[]) &rarr; varbit[]</code></td><td><span class="funcdesc"><p>Unnests the selected arrays into elements that are then aggregated into a single array.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="avg"></a><code>avg(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the average of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="avg"></a><code>avg(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="avg"></a><code>avg(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the average of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="avg"></a><code>avg(arg1: <a href="interval.html">interval</a>) &rarr; <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Calculates the average of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="bitand"></a><code>bitand(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the bitwise AND of all non-null input values, or null if none.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="bitand"></a><code>bitand(arg1: varbit) &rarr; varbit</code></td><td><span class="funcdesc"><p>Calculates the bitwise AND of all non-null input values, or null if none.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="bitor"></a><code>bitor(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the bitwise OR of all non-null input values, or null if none.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="bitor"></a><code>bitor(arg1: varbit) &rarr; varbit</code></td><td><span class="funcdesc"><p>Calculates the bitwise OR of all non-null input values, or null if none.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="booland"></a><code>booland(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Calculates the boolean value of <code>AND</code>ing all selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="boolor"></a><code>boolor(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Calculates the boolean value of <code>OR</code>ing all selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="concatagg"></a><code>concatagg(arg1: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Concatenates all selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="concatagg"></a><code>concatagg(arg1: <a href="string.html">string</a>) &rarr; <a href="string.html">string</a></code></td><td><span class="funcdesc"><p>Concatenates all selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="corr"></a><code>corr(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the correlation coefficient of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="count"></a><code>count(arg1: anyelement) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the number of selected elements.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="countrows"></a><code>countrows() &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the number of rows.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a

class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarpop"></a><code>covarpop(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="covarsamp"></a><code>covarsamp(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sample covariance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="every"></a><code>every(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Calculates the boolean value of <code>AND</code>ing all selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="jsonagg"></a><code>jsonagg(arg1: anyelement) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Aggregates values as a JSON or JSONB array.</p> </span></td><td>Stable</td></tr> <tr><td><a name="jsonobjectagg"></a><code>jsonobjectagg(arg1: <a href="string.html">string</a>, arg2: anyelement) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Aggregates values as a JSON or JSONB object.</p> </span></td><td>Stable</td></tr> <tr><td><a name="jsonbagg"></a><code>jsonbagg(arg1: anyelement) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Aggregates values as a JSON or JSONB array.</p> </span></td><td>Stable</td></tr> <tr><td><a name="jsonbobjectagg"></a><code>jsonbobjectagg(arg1: <a href="string.html">string</a>, arg2: anyelement) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Aggregates values as a JSON or JSONB object.</p> </span></td><td>Stable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="date.html">date</a>) &rarr; <a href="date.html">date</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="inet.html">inet</a>) &rarr; <a href="inet.html">inet</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="interval.html">interval</a>) &rarr; <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="string.html">string</a>) &rarr; <a href="string.html">string</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="time.html">time</a>) &rarr; <a href="time.html">time</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="timestamp.html">timestamp</a>) &rarr; <a href="timestamp.html">timestamp</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="timestamp.html">timestamptz</a>) &rarr; <a href="timestamp.html">timestamptz</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: <a href="uuid.html">uuid</a>) &rarr; <a href="uuid.html">uuid</a></code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: anyenum) &rarr; anyenum</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: box2d) &rarr; box2d</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: collatedstring{}) &rarr; collatedstring{}</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: geography) &rarr; geography</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Identifies the maximum selected

</span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: jsonb) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: oid) &rarr; oid</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: pglsn) &rarr; pglsn</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: timetz) &rarr; timetz</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="max"></a><code>max(arg1: varbit) &rarr; varbit</code></td><td><span class="funcdesc"><p>Identifies the maximum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="bool.html">bool</a>) &rarr; <a href="bool.html">bool</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="date.html">date</a>) &rarr; <a href="date.html">date</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="inet.html">inet</a>) &rarr; <a href="inet.html">inet</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="interval.html">interval</a>) &rarr; <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="string.html">string</a>) &rarr; <a href="string.html">string</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="time.html">time</a>) &rarr; <a href="time.html">time</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="timestamp.html">timestamp</a>) &rarr; <a href="timestamp.html">timestamp</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="timestamp.html">timestamptz</a>) &rarr; <a href="timestamp.html">timestamptz</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: <a href="uuid.html">uuid</a>) &rarr; <a href="uuid.html">uuid</a></code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: anyenum) &rarr; anyenum</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: box2d) &rarr; box2d</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: collatedstring{}) &rarr; collatedstring{}</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: geography) &rarr; geography</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: jsonb) &rarr; jsonb</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: oid) &rarr; oid</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: pglsn) &rarr; pglsn</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: timetz) &rarr; timetz</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="min"></a><code>min(arg1: varbit) &rarr; varbit</code></td><td><span class="funcdesc"><p>Identifies the minimum selected value.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentilecont"></a><code>percentilecont(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Continuous percentile: returns a float corresponding to the specified fraction in the ordering, interpolating between adjacent input floats if needed.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentilecont"></a><code>percentilecont(arg1: <a href="float.html">float</a>) &rarr; <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Continuous percentile: returns an interval corresponding to the specified fraction in the ordering, interpolating between adjacent input intervals if needed.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentilecont"></a><code>percentilecont(arg1: <a href="float.html">float</a>[]) &rarr; <a href="float.html">float</a>[]</code></td><td><span class="funcdesc"><p>Continuous percentile: returns floats corresponding to the specified fractions in the ordering, interpolating between adjacent input floats if needed.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentilecont"></a><code>percentilecont(arg1: <a href="float.html">float</a>[]) &rarr; <a href="interval.html">interval</a>[]</code></td><td><span class="funcdesc"><p>Continuous percentile: returns intervals corresponding to the specified fractions in the ordering, interpolating between adjacent input intervals if needed.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentiledisc"></a><code>percentiledisc(arg1: <a href="float.html">float</a>) &rarr; anyelement</code></td><td><span class="funcdesc"><p>Discrete percentile: returns the first input value whose position in the ordering equals or exceeds the specified fraction.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="percentiledisc"></a><code>percentiledisc(arg1: <a href="float.html">float</a>[]) &rarr; anyelement</code></td><td><span class="funcdesc"><p>Discrete percentile: returns input values whose position in the ordering equals or exceeds the specified fractions.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable

</span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgx"></a><code>regravgx(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the independent variable (sum(X)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regravgy"></a><code>regravgy(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the average of the dependent variable (sum(Y)/N).</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrcount"></a><code>regrcount(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates number of input rows in which both expressions are nonnull.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a

class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrintercept"></a><code>regrintercept(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates y-intercept of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrr2"></a><code>regrr2(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates square of the correlation coefficient.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrslope"></a><code>regrslope(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates slope of the least-squares-fit linear equation determined by the (X, Y) pairs.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent

</span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxx"></a><code>regrsxx(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the independent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsxy"></a><code>regrsxy(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of products of independent times dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="decimal.html">decimal</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="float.html">float</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="float.html">float</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="float.html">float</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="int.html">int</a>, arg2: <a href="decimal.html">decimal</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="int.html">int</a>, arg2: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="regrsyy"></a><code>regrsyy(arg1: <a href="int.html">int</a>, arg2: <a href="int.html">int</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates sum of squares of the dependent variable.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sqrdiff"></a><code>sqrdiff(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the sum of squared differences from the mean of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sqrdiff"></a><code>sqrdiff(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sum of squared differences from the mean of the selected

</span></td><td>Immutable</td></tr> <tr><td><a name="sqrdiff"></a><code>sqrdiff(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the sum of squared differences from the mean of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stcollect"></a><code>stcollect(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Collects geometries into a GeometryCollection or multi-type as appropriate.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stextent"></a><code>stextent(arg1: geometry) &rarr; box2d</code></td><td><span class="funcdesc"><p>Forms a Box2D that encapsulates all provided geometries.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stmakeline"></a><code>stmakeline(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Forms a LineString from Point, MultiPoint or LineStrings. Other shapes will be ignored.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stmemcollect"></a><code>stmemcollect(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Collects geometries into a GeometryCollection or multi-type as appropriate.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stmemunion"></a><code>stmemunion(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Applies a spatial union to the geometries provided.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stunion"></a><code>stunion(arg1: geometry) &rarr; geometry</code></td><td><span class="funcdesc"><p>Applies a spatial union to the geometries provided.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddev"></a><code>stddev(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddev"></a><code>stddev(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddev"></a><code>stddev(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevpop"></a><code>stddevpop(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the population standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevpop"></a><code>stddevpop(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevpop"></a><code>stddevpop(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the population standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevsamp"></a><code>stddevsamp(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevsamp"></a><code>stddevsamp(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stddevsamp"></a><code>stddevsamp(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the standard deviation of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stringagg"></a><code>stringagg(arg1: <a href="bytes.html">bytes</a>, arg2: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Concatenates all selected values using the provided delimiter.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="stringagg"></a><code>stringagg(arg1: <a href="string.html">string</a>, arg2: <a href="string.html">string</a>) &rarr; <a href="string.html">string</a></code></td><td><span class="funcdesc"><p>Concatenates all selected values using the provided delimiter.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sum"></a><code>sum(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the sum of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sum"></a><code>sum(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the sum of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sum"></a><code>sum(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the sum of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sum"></a><code>sum(arg1: <a href="interval.html">interval</a>) &rarr; <a href="interval.html">interval</a></code></td><td><span class="funcdesc"><p>Calculates the sum of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="sumint"></a><code>sumint(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the sum of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varpop"></a><code>varpop(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the population variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varpop"></a><code>varpop(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the population variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varpop"></a><code>varpop(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the population variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varsamp"></a><code>varsamp(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varsamp"></a><code>varsamp(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="varsamp"></a><code>varsamp(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="variance"></a><code>variance(arg1: <a href="decimal.html">decimal</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="variance"></a><code>variance(arg1: <a href="float.html">float</a>) &rarr; <a href="float.html">float</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="variance"></a><code>variance(arg1: <a href="int.html">int</a>) &rarr; <a href="decimal.html">decimal</a></code></td><td><span class="funcdesc"><p>Calculates the variance of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="xoragg"></a><code>xoragg(arg1: <a href="bytes.html">bytes</a>) &rarr; <a href="bytes.html">bytes</a></code></td><td><span class="funcdesc"><p>Calculates the bitwise XOR of the selected values.</p> </span></td><td>Immutable</td></tr> <tr><td><a name="xoragg"></a><code>xoragg(arg1: <a href="int.html">int</a>) &rarr; <a href="int.html">int</a></code></td><td><span class="funcdesc"><p>Calculates the bitwise XOR of the selected values.</p> </span></td><td>Immutable</td></tr></tbody> </table>