oneapi::mkl::stats::variation¶
Description¶
Entry point to compute the arrays of variation coefficients.
API¶
Syntax¶
Buffer API
template<method Method = method::fast, typename Type, layout ObservationsLayout>
void variation(sycl::queue& queue,
    const dataset< ObservationsLayout, sycl::buffer<Type, 1>>& data,
    sycl::buffer<Type, 1> variation;
USM API
template<method Method = method::fast, typename Type, layout ObservationsLayout>
sycl::event variation(sycl::queue& queue,
    const dataset<ObservationsLayout, Type*>& data,
    Type* variation,
    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.  | 
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  | 
|---|---|---|
variation  | 
  | 
  | 
USM API
Name  | 
Type  | 
Description  | 
|---|---|---|
variation  | 
  | 
Pointer to the output array of variation coefficients.  | 
event  | 
  | 
Function returns event after submitting task in      |