oneapi::mkl::stats::skewness with User-provided Mean#
Description#
Entry point to compute the arrays of skewness values with a mean provided by the user.
Mathematical Notation#
Vector of skewness values:
\(\Gamma(X) = \left( \Gamma_1(X), \; \dots, \Gamma_p(X) \right), \; \Gamma_i(X) = \frac{C^{(3)}_i(X)}{V^{1.5}_i(X)}\)
Where:
\(i = 1, \dots, p\)
API#
Syntax#
Buffer API
template<method Method = method::fast, typename Type, layout ObservationsLayout>
void skewness(sycl::queue& queue,
sycl::buffer<Type, 1> mean,
const dataset<ObservationsLayout, sycl::buffer<Type, 1>>& data,
sycl::buffer<Type, 1> skewness);
USM API
template<method Method = method::fast, typename Type, layout ObservationsLayout>
sycl::event skewness(sycl::queue& queue,
Type* mean,
const dataset<ObservationsLayout, Type*>& data,
Type* skewness,
const std::vector<sycl::event> &dependencies = {});
Include Files#
oneapi/mkl/stats.hpp
Template Parameters#
Name |
Description |
|---|---|
|
Computation method. The specific values are as follows: |
Input Parameters#
Name |
Type |
Description |
|---|---|---|
queue |
|
Valid |
data |
|
Dataset which is used for estimates computation. |
Buffer API
Name |
Type |
Description |
|---|---|---|
mean |
|
|
USM API
Name |
Type |
Description |
|---|---|---|
mean |
|
Pointer to the output array of mean values provided by the user. |
Optional Input Parameter for USM API
Name |
Type |
Description |
|---|---|---|
dependencies |
|
List of events to wait for before starting computation, if any. |
Output Parameters#
Buffer API
Name |
Type |
Description |
|---|---|---|
skewness |
|
|
USM API
Name |
Type |
Description |
|---|---|---|
variation |
|
Pointer to the output array of variation coefficients. |
event |
|
Function returns event after submitting task in |