Previous Next


GetValueTable Method (RDKDistribution Object)

Description

Returns table information for distibutions that take tables of values.

Syntax

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

Arguments

xOrP (Required Integer) – which table to retrieve. 0 retrieves the table of "x"-values. 1 retrieves 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

(Integer) – the number of elements in the valArray argument.

Example

Dim numElements as Integer
Dim valArray() as Double

numElements = dist.GetValueTable(0, valArray())