UsingDefault


Description

True only if row of a sparse distribution is using the default row. Set true to use the default row; false to make an explicit row.

Syntax

Getting:

aDist.UsingDefault(indexAssignment)

Setting to use default row:

aDist.UsingDefault(indexAssignment) = True

Setting to make the row explicitly:

aDist.UsingDefault(indexAssignment) = False

 

Parameter Description
aDist a Dist object.
indexAssignment an integer or Assignment collection that specifies a "row" of the distribution. The integer is 0-based. An Assignment collection must set all parent nodes.

Return Value

When getting, this property returns a Boolean value that tells if this row is using the default row.

Remarks

This property is only meaningful when the distribution is of type sparse, in other words, when

aDist.Type=deCondSparse

Example

See: Distributions: an Overview

Applies To

Dist