Package jline.api.mam
Class Map_varKt
-
- All Implemented Interfaces:
public final class Map_varKt
-
-
Method Summary
-
-
Method Detail
-
map_var
final static Double map_var(Matrix D0, Matrix D1)
Computes the variance of the inter-arrival times for a MAP.
The variance is calculated as the difference between the second moment and the square of the mean inter-arrival time.
- Parameters:
D0
- the hidden transition matrix of the MAPD1
- the visible transition matrix of the MAP- Returns:
the variance of the inter-arrival times
-
map_var
final static Double map_var(MatrixCell MAP)
Computes the variance of the inter-arrival times for a MAP using a MatrixCell.
This method is a convenience overload that extracts the D0 and D1 matrices from the provided MatrixCell and calculates the variance of the inter-arrival times.
- Parameters:
MAP
- the MatrixCell representing the MAP, containing the D0 and D1 matrices- Returns:
the variance of the inter-arrival times
-
-
-
-