IMSL C# Numerical Library

TableMultiWay.TableBalanced.GetTable Method 

Returns an array containing the frequencies for each variable.

public double[] GetTable();

Return Value

A double array containing the frequencies for each variable in x.

Remarks

The array is of length nValues[0] x nValues[1] x ... x nValues[nkeys] containing the frequencies in the cells of the table to be fit, where nValues contains the result from getNValues.

Empty cells are included in table, and each element of table is nonnegative. The cells of table are sequenced so that the first variable cycles through its nValues[0] categories one time, the second variable cycles through its nValues[1] categories nValues[0] times, the third variable cycles through its nValues[2] categories nValues[0] * nValues[1] times, etc., up to the nkeys-th variable, which cycles through its nValues[nkeys - 1] categories nValues[0] * nValues[1] * ... * nValues[nkeys - 2] times.

See Also

TableMultiWay.TableBalanced Class | Imsl.Stat Namespace