# SetStart

Changes the value of the parameter start in the convolution or correlation task descriptor.

## Syntax

Fortran:

status = vslconvsetstart(task, start)

status = vslcorrsetstart(task, start)

C:

status = vslConvSetStart(task, start);

status = vslCorrSetStart(task, start);

## Description

The routine sets the value of the parameter start for the operation of convolution or correlation. In a one-dimensional case, this parameter points to the first element in the mathematical result that should be stored in the output array. In a multidimensional case, start is an array of indices and its length is equal to the number of dimensions specified by the parameter dims. For more information about the definition and effect of this parameter, see Data Allocation.

During the initial task descriptor construction, the default value for start is undefined and this parameter is not used. Hence, the only way to set and use the start parameter is via assigning it some value by one of the SetStart routines.

## Input Parameters

Name | Type | Description
--- | --- | ---
task | FORTRAN: TYPE(VSL_CONV_TASK) for vslconvsetstart TYPE(VSL_CORR_TASK) for vslcorrsetstart C: VSLConvTaskPtr for vslConvSetStart VSLCorrTaskPtr for vslCorrSetStart | Pointer to the task descriptor.
start | FORTRAN: INTEGER, DIMENSION (*) C: int[] | New value of the parameter start.

## Output Parameters

Name | Type | Description
--- | --- | ---
status | FORTRAN: INTEGER C: int | Current status of the task.

Parent topic: Task Editors