Compute

Computes VSL Summary Statistics estimates.

Syntax

Fortran:

status = vslssscompute(task, estimates, method)

status = vsldsscompute(task, estimates, method)

C:

status = vslsSSCompute(task, estimates, method);

status = vsldSSCompute(task, estimates, method);

Include Files

The Fortran 90 interfaces are specified in the mkl_vsl.f90 include file, and the C interfaces are specified in the mkl_vsl_functions.h include file.

Input Parameters

Name

Type

Description

task

Fortran: TYPE(VSL_SS_TASK)

C: VSLSSTaskPtr

Descriptor of the task

estimates

Fortran: INTEGER (KIND=8)

C: unsigned long long

List of statistical estimates to compute

method

Fortran: INTEGER

C: MKL_INT

Method to be used in calculations

Output Parameters

Name

Type

Description

status

Fortran: INTEGER

C: int

Current status of the task

Description

The Compute routine calculates statistical estimates passed as the estimates parameter using the algorithms passed as the method parameter of the routine. The computations are done in the context of the task descriptor that contains pointers to all required and optional, if necessary, properly initialized arrays. In one call of the function, you can compute several estimates using proper methods for their calculation. See Table "VSL Summary Statistics Estimates Obtained with Compute Routine" for the list of the estimates that you can calculate with the Compute routine. See Table "VSL Summary Statistics Computation Methods" for the list of possible values of the method parameter.

To initialize single or double precision version task parameters, use the single (vslssscompute) or double (vsldsscompute) version of the editor, respectively. To initialize parameters of the integer type, use an integer version of the editor (vslisscompute).

Note iconNote

Requesting a combination of the VSL_SS_MISSING_VALS value and any other estimate parameter in the Compute function results in processing only the missing values.


Submit feedback on this help topic

Copyright © 1994 - 2011, Intel Corporation. All rights reserved.