Click or drag to resize
MultivariateSampleColumn Method
Gets the indicated column as a univariate Sample.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: (
public Sample Column(
	int c


Type: SystemInt32
The (zero-based) column index.

Return Value

Type: Sample
A read-only Sample containing all values in the indicated column.

Use this method to obtain column-specific information, such as the Median or Variance of the column.

Note that this is a fast, O(1) operation, which does not create an independent copy of the column. The advantage of this is that you can access columns as independent samples as often as you like without worying about performance. The disadvantage of this is that the returned sample cannot be altered. If you need to alter values in a column independent of the multi-variate sample, use the Copy method to obtain an independent copy of the column.

See Also