IDistributionCurve.SplitValueAccordingToCurve (Double, Int32, Double, Double) Method
Parameters
- value
- double
The value to be split.
- periodsCount
- int
The number of periods to be retrieved. Minimum is 1, maximum is 1000.
- firstPeriodPart
- double
A value between 0 and 1 which lets you start anywhere in the first period. 1 means start at the first second of the first day of the first period, 0 means nothing in the first period.
- endPeriodPart
- double
A value between 0 and 1 which lets you end anywhere in the last period. 1 means the last second of the last day of the last period, 0 means nothing in the last period.
Return Value
double[]An array of split values, having as many entries as periodsCount .
Exception type | Condition |
---|---|
A problem occurred. |
If you want to use peak curves, you may need to provide the period unit. Please
check the other signature of that function which let you add the parameter
'Unit'. If you use a Peak curve with the current signature, QDV will
calculate considering that the unit is 'Month'
Available since QDV 7.14.530.