HelperFunctions Module

Nested modules

Modules Description

Float

Int

Time

Functions and values

Function or value Description

getAvgSpacing data getDiff

Full Usage: getAvgSpacing data getDiff

Parameters:
    data : ('a * float)[] -
    getDiff : 'a -> 'a -> float -

Returns: float
Modifiers: inline
Type parameters: 'a

average spacing of the data points

data : ('a * float)[]

getDiff : 'a -> 'a -> float

Returns: float

Example

getMedianSpacing data getDiff

Full Usage: getMedianSpacing data getDiff

Parameters:
    data : ('a * float)[] -
    getDiff : 'a -> 'a -> float

Returns: float
Modifiers: inline
Type parameters: 'a

median spacing of the data points

data : ('a * float)[]

getDiff : 'a -> 'a -> float
Returns: float

Example

getMinimumSpacing data getDiff

Full Usage: getMinimumSpacing data getDiff

Parameters:
    data : ('a * float)[] -
    getDiff : 'a -> 'a -> float -

Returns: float
Modifiers: inline
Type parameters: 'a

minimum spacing of the data points

data : ('a * float)[]

getDiff : 'a -> 'a -> float

Returns: float

Example