Generic Class


A unit of measure for an average.


class MXAverage<UnitType> : NSObject where UnitType : Unit


Reading the Data

var sampleCount: Int

The number of samples used to calculate the average.

var standardDeviation: Double

The standard deviation of the distribution of values used to calculate the average.


Inherits From

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software