BivariateSample.X Property
Click or drag to resize

BivariateSampleX Property

Gets a read-only univariate sample consisting of the x-values of the data points.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: (
public Sample X { get; }

Property Value

Type: Sample

Use this method to obtain information specific to the x-vales, such as their Median or Variance.

Note that this is a fast, O(1) operation, which does not create an independent copy of the data. The advantage of this is that you can access x-data as a Sample as often as you like without worrying about performance. The disadvantage of this is that the returned sample cannot be altered. If you need to alter x-data independent of the bivariate sample, use the Copy method to obtain an independent copy.

See Also