.. _oneapi-mkl-stats-kurtosis-with-user-provided-mean: oneapi::mkl::stats::kurtosis with User-provided Mean ==================================================== .. contents:: :local: :depth: 1 Description *********** Entry point to compute the array of kurtosis values with a mean provided by the user. API *** Syntax ------ **Buffer API** .. code-block:: template void kurtosis(sycl::queue& queue, sycl::buffer mean, const dataset>& data, sycl::buffer kurtosis); **USM API** .. code-block:: template sycl::event kurtosis(sycl::queue& queue, Type* mean, const dataset& data, Type* kurtosis, const std::vector &dependencies = {}); Include Files ------------- - oneapi/mkl/stats.hpp Template Parameters ------------------- .. tabularcolumns:: |\Y{0.5}|\Y{0.5}| .. list-table:: :header-rows: 0 * - \ ``oneapi::mkl::stats::method Method = oneapi::mkl::stats::method::fast``\ - Computation method. The specific values are as follows: \ ``oneapi::mkl::stats::method::fast``\ Input Parameters ---------------- .. list-table:: :header-rows: 1 * - Name - Type - Description * - queue - \ ``sycl::queue&``\ - Valid ``sycl::queue``, calls of the ``oneapi::mkl::stats::kurtosis()`` routine submits kernels in this queue. * - data - \ ``const dataset&``\ - Dataset which is used for estimates computation. **Buffer API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - mean - \ ``sycl::buffer``\ - ``sycl::buffer`` to the array of mean values provided by the user. **USM API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - mean - \ ``Type*``\ - Pointer to the output array of mean values provided by the user **Optional Input Parameter for USM API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - dependencies - \ ``const std::vector&``\ - List of events to wait for before starting computation, if any. Output Parameters ----------------- **Buffer API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - kurtosis - \ ``sycl::buffer``\ - \ ``sycl::buffer`` to the output array of kurtosis values. **USM API** .. list-table:: :header-rows: 1 * - Name - Type - Description * - kurtosis - \ ``Type*``\ - Pointer to the output array of kurtosis values. * - event - \ ``sycl::event``\ - Function returns event after submitting task in ``sycl::queue``.