Package jline.lib.butools.dmap
Class CheckDMMAPRepresentationKt
-
- All Implemented Interfaces:
public final class CheckDMMAPRepresentationKt
-
-
Method Summary
Modifier and Type Method Description final static BooleancheckDMMAPRepresentation(MatrixCell D, Double prec)Checks if the input matrices define a discrete time MMAP. final static BooleancheckDMMAPRepresentation(Array<Matrix> D, Double prec)Overload for Array<Matrix>. -
-
Method Detail
-
checkDMMAPRepresentation
final static Boolean checkDMMAPRepresentation(MatrixCell D, Double prec)
Checks if the input matrices define a discrete time MMAP.
All matrices D0...DK must have the same size, D0 must be a transient probability matrix, D1...DK have only non-negative elements, and the rowsum of D0+D1+...+DK is 1 (up to the numerical precision).
- Parameters:
D- The D0...prec- Numerical precision, default value is 1e-14- Returns:
True if the matrices define a valid DMMAP
-
checkDMMAPRepresentation
final static Boolean checkDMMAPRepresentation(Array<Matrix> D, Double prec)
Overload for Array<Matrix>.
-
-
-
-