Structures
The following structures are available globally.
-
Common Statistical Functions
This
structis used as a namespace to separate the stats functions in SwiftStats.In general, the functions here do not throw exceptions but
nilvalues can be returned. For example, to calculate the standard deviation of a sample requires at least two data points. If the array that is passed tosd()does not have at least two values thennilis returned.Functions here are often generic in that they work for a range of types (for example, the same function is called to calculate the mean of Int8, Int32, Int64, or Int arrays). Separate implementations can be found for BinaryInteger and BinaryFloatingPoint protocols.
See moreDeclaration
Swift
public struct Common
-
Undocumented
See moreDeclaration
Swift
public struct Distributions
Structures Reference