GetVecStepVals

This function retrieves the values assigned to the parameter that was stepped to obtain the vector data supplied. It will only return a meaningful result for data vectors generated by a multi-step analysis. For example, if an analysis was performed which stepped the value of the resistor R7 from $100\Omega$ to $500\Omega$ in $100\Omega$ steps, this function would return [100, 200, 300, 400, 500]. If the analysis was a Monte Carlo run, the function will return the run numbers starting from 1.

If there is more than one stepped parameter, the second argument may be used to identify for which parameter the values are returned.

If this function is applied to single division data as returned by a normal single step run, the return value will be an empty vector.

Arguments

Number Type Compulsory Default Description

1

real/complex array

Yes

Vector

2

real

No

0

index

Argument 2

Identifies parameter when there is more than one

Returns

Return type: real array