IDistributionCurve.SplitValueAccordingToCurve (Double, Int32, Double, Double) Method

Splits a value according to this distribution curve.
Function SplitValueAccordingToCurve( _ 
ByVal value As Double, _ 
ByVal periodsCount As Integer, _ 
ByVal firstPeriodPart As Double, _ 
ByVal endPeriodPart As Double
) As Double()
This language is not supported or no code example is available.
double[] SplitValueAccordingToCurve( 
double value
int periodsCount
double firstPeriodPart
double endPeriodPart 
)
This language is not supported or no code example is available.

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

QdvApiException

A problem occurred.

Remarks
 
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'
Version
 
Available since QDV 7.14.530.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition