The Table type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Table | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| 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.
| |
| Copy | Overloaded. | |
| CopyFrom |
Copies values from the array into the table.
| |
| CopyTo | Overloaded. | |
| 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.) | |
| Instantiate | Overloaded. | |
| IsReadOnly |
Indicates whether the distribution is read only.
| |
| Marginalize | Overloaded. | |
| MarginalizeLowMemory | Overloaded. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Multiply |
Creates a new distribution by multiplying this instance by another distribution.
| |
| MultiplyInPlace | Overloaded. | |
| Normalize | Overloaded. | |
| 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 | ||
| 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
| Name | Description | |
|---|---|---|
| Count | ||
| Item | ||
| 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.
|
