powered by
This function transforms a compact 2-slice adjacency matrix of DBN into full T-slice adjacency matrix
compact2full(DBNmat, slices, b = 0)
an adjacency matrix of an unrolled DBN
a square matrix, representing initial and transitional structure of a DBN; the size of matrix is 2*dyn+b
integer, number of slices in an unrolled DBN
integer, number of static variables
compact2full(DBNmat, slices=5, b=3)
Run the code above in your browser using DataLab