Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

vslSSEditPooledCovariance

Modifies pooled/group covariance matrix array pointers.

Syntax

status = vslsSSEditPooledCovariance(task, grp_indices, pld_mean, pld_cov, req_grp_indices, grp_means, grp_cov);

status = vsldSSEditPooledCovariance(task, grp_indices, pld_mean, pld_cov, req_grp_indices, grp_means, grp_cov);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

task

VSLSSTaskPtr

Descriptor of the task

grp_indices

const MKL_INT*

Pointer to an array of size n. The i-th element of the array contains the number of the group the observation belongs to.

pld_mean

float* for vslsSSEditPooledCovariance

double* for vsldSSEditPooledCovariance

Pointer to the array of pooled means

pld_cov

float* for vslsSSEditPooledCovariance

double* for vsldSSEditPooledCovariance

Pointer to the array that holds a pooled covariance matrix

req_grp_indices

const MKL_INT*

Pointer to the array that contains indices of groups for which estimates to return (such as covariance and mean)

grp_means

float* for vslsSSEditPooledCovariance

double* for vsldSSEditPooledCovariance

Pointer to the array of group means

grp_cov

float* for vslsSSEditPooledCovariance

double* for vsldSSEditPooledCovariance

Pointer to the array that holds group covariance matrices

Output Parameters

Name

Type

Description

status

int

Current status of the task

Description

The vslSSEditPooledCovariance routine replaces pointers to the array of group indices, the array of pooled means, the array for a pooled covariance matrix, and pointers to the array of indices of group matrices, the array of group means, and the array for group covariance matrices with values passed in the editors. If you pass a value of NULL for a specific input parameter, the value of that parameter in the task descriptor is unchanged.. Use the vslSSEditTask routine to replace the storage format for pooled and group covariance matrices.