The Table type exposes the following members.

Constructors

  NameDescription
TableOverloaded.

Methods

  NameDescription
Add
Adds the values from another table into this instance. Only the Table..::.Count of each table need match.
AreAllValuesNonZero
Returns true if none of the values in the Table equal zero, or false otherwise.
CopyOverloaded.
CopyFrom
Copies values from the array into the table.
CopyToOverloaded.
Divide
Creates a new distribution by dividing this instance by the subset. Also known as the complement.
DivideInPlace
Divides this instance in place by the subset. Also known as the complement.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InstantiateOverloaded.
IsReadOnly
Indicates whether the distribution is read only.
MarginalizeOverloaded.
MarginalizeLowMemoryOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Multiply
Creates a new distribution by multiplying this instance by another distribution.
MultiplyInPlaceOverloaded.
NormalizeOverloaded.
Randomize
Randomizes the distribution such that each parent combination sums to 1.
SetAll
Sets all values in the Table to a specified value.
StateCount
Gets the number of states of a variable at the time this instance was constructed.
StateRepeat
Gets the number of times each state is repeated for a Variable in the Table layout. See Table for details on layout.
Sum
Calculates the sum of all values in the Table.
TimeShift
Shifts any times assoicated with the table variables by the specified number of units.
ToString
Returns a String that represents the current Object.
(Overrides Object..::.ToString()()().)

Properties

  NameDescription
Count
The data count in the Table. Equals the product of states for each Variable.
Item
Gets or sets the Table value at the specified index into the 1-dimensional array. See Table for information on how entries atre stored.
Locked
Locks or unlocks a distribution.
Owner
Gets the current owner, if assigned to a node. A distribution cannot be modifed when it is assigned to a node.
SortedVariables
Gets the collection of variables in the distribution, sorted by time (which may be null) and their index.

See Also