Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 3/22/2024
Public

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

Document Table of Contents

vslSSEditPartialCovCor

Modifies the pointers to partial covariance/correlation parameters.

Syntax

status = vslsSSEditPartialCovCor(task, p_idx_array, cov, cov_storage, cor, cor_storage, p_cov, p_cov_storage, p_cor, p_cor_storage);

status = vsldSSEditPartialCovCor(task, p_idx_array, cov, cov_storage, cor, cor_storage, p_cov, p_cov_storage, p_cor, p_cor_storage);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

task

VSLSSTaskPtr

Descriptor of the task

p_idx_array

const MKL_INT*

Pointer to the array that encodes indices of subcomponents Z and Y of the random vector as described in section Mathematical Notation and Definitions.

p_idx_array[i] equals to

-1 if the i-th component of the random vector belongs to Z

1, if the i-th component of the random vector belongs to Y.

cov

const float* for vslsSSEditPartialCovCor

const double* for vsldSSEditPartialCovCor

Pointer to a covariance matrix

cov_storage

const MKL_INT*

Pointer to the storage format of the covariance matrix

cor

const float* for vslsSSEditPartialCovCor

const double* for vsldSSEditPartialCovCor

Pointer to a correlation matrix

cor_storage

const MKL_INT*

Pointer to the storage format of the correlation matrix

p_cov

float* for vslsSSEditPartialCovCor

double* for vsldSSEditPartialCovCor

Pointer to a partial covariance matrix

p_cov_storage

const MKL_INT*

Pointer to the storage format of the partial covariance matrix

p_cor

float* for vslsSSEditPartialCovCor

double* for vsldSSEditPartialCovCor

Pointer to a partial correlation matrix

p_cor_storage

const MKL_INT*

Pointer to the storage format of the partial correlation matrix

Output Parameters

Name

Type

Description

status

int

Current status of the task

Description

The vslSSEditPartialCovCor routine replaces pointers to covariance/correlation arrays, partial covariance/correlation arrays, and their storage format with values passed as corresponding parameters of the routine. See Table "Storage formats of a variance-covariance/correlation matrix" for possible values of the cov_storage, cor_storage, p_cov_storage, and p_cor_storage parameters. If you pass a value of NULL for a specific input parameter, the value of that parameter in the task descriptor is unchanged.