> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# aggregate_convex_hull

<div className="kinetica-pydoc">
  <div className="dl py method">
    <div className="dt sig sig-object py" id="gpudb.GPUdb.aggregate_convex_hull"> <span className="sig-name descname"><span className="pre">aggregate\_convex\_hull</span></span><span className="sig-paren">(</span><span className="em sig-param"><span className="n"><span className="pre">table\_name</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">None</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">x\_column\_name</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">None</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">y\_column\_name</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">None</span></span></span>, <span className="em sig-param"><span className="n"><span className="pre">options</span></span><span className="o"><span className="pre">=</span></span><span className="default_value"><span className="pre">{"{"}{"}"}</span></span></span><span className="sig-paren">)</span><a href="https://github.com/kineticadb/kinetica-api-python/blob/master/gpudb/gpudb.py#L15837"><span className="viewcode-link"><span className="pre">\[source]</span></span></a></div>

    <div className="dd">
      <p>Calculates and returns the convex hull for the values in a table specified by input parameter <span className="em">table\_name</span>.</p>
      <p><strong>Parameters</strong></p>

      <div className="blockquote">
        <div>
          <div className="dl simple">
            <div className="dt">table\_name (<span className="em">str</span>) –</div>

            <div className="dd">
              <p>Name of table on which the operation will be performed. Must be an existing table, in \[schema\_name.]table\_name format, using standard <a className="reference external" href="/content/concepts/tables/#table-name-resolution">name resolution rules</a>.</p>
            </div>

            <div className="dt">x\_column\_name (<span className="em">str</span>) –</div>

            <div className="dd">
              <p>Name of the column containing the x coordinates of the points for the operation being performed.</p>
            </div>

            <div className="dt">y\_column\_name (<span className="em">str</span>) –</div>

            <div className="dd">
              <p>Name of the column containing the y coordinates of the points for the operation being performed.</p>
            </div>

            <div className="dt">options (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Optional parameters. The default value is an empty dict ( {"{"}{"}"} ).</p>
            </div>
          </div>
        </div>
      </div>

      <p><strong>Returns</strong></p>

      <div className="blockquote">
        <div>
          <p>A dict with the following entries–</p>

          <div className="dl simple">
            <div className="dt">x\_vector (<span className="em">list of floats</span>) –</div>

            <div className="dd">
              <p>Array of x coordinates of the resulting convex set.</p>
            </div>

            <div className="dt">y\_vector (<span className="em">list of floats</span>) –</div>

            <div className="dd">
              <p>Array of y coordinates of the resulting convex set.</p>
            </div>

            <div className="dt">count (<span className="em">int</span>) –</div>

            <div className="dd">
              <p>Count of the number of points in the convex set.</p>
            </div>

            <div className="dt">is\_valid (<span className="em">bool</span>) –</div>

            <div className="dd">
              <p>Indicates whether a valid convex hull could be computed for the input.</p>
            </div>

            <div className="dt">info (<span className="em">dict of str to str</span>) –</div>

            <div className="dd">
              <p>Additional information.</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
