Previous Next


SetValueTable Method (RDKDistribution Object)

Description

Sets table information for distributions that take tables of values.

Syntax

object.SetValueTable(xOrP%, valArray#())

Arguments

xOrP (Required Integer) – which table to set. 0 sets the table of "x"-values. 1 sets the table of "p"-values.

valArray(Required Array of Double) – the table of x or p values dimensioned from 1 to the number of elements.

Return Value

None.

Example

Dim valArray(1 to 100) as Double
valArray(1) = .01
valArray(2) = .05
'etc ---
numElements = dist.SetValueTable(0, valArray())