src/fisher.cpp
// Computes the fisher information for the model with hidden nodes, and stores the result in I.
// I is a matrix with df*nedges + rdf rows and cols.
// the index for the rows and columns encodes a free parameter.
// 0: first free param on edge 0
// 1: second free param on edge 0
// ...
// df: first free param on edge 1
// ...
Computes the fisher information for the model with hidden nodes, and stores the result in I.
I is a matrix with df*nedges + rdf rows and cols.
the index for the rows and columns encodes a free parameter.
0: first free param on edge 0
1: second free param on edge 0

df: first free param on edge 1
Computes the fisher information for the model with hidden nodes and stores the result in I . I is a matrix with df * nedges + rdf rows and cols . the index for the rows and columns encodes a free parameter . 0 : first free param on edge 0 1 : second free param on edge 0 df : first free param on edge 1
void Fisher_information(Tree &T, Model &Mod, Parameters &Par, long N, Array2 &I) {
  Array2 Imod;
  Fisher_information_model(T, Mod, Par, N, NULL, Imod);
  Fisher_information_free(T, Mod, Imod, I);
}
void Fisher_information ( Tree & T , Model & Mod , Parameters & Par , long N , Array2 & I ) { Array2 Imod ; Fisher_information_model ( T , Mod , Par , N , NULL , Imod ) ; Fisher_information_free ( T , Mod , Imod , I ) ; }
Computes the fisher information for the model with hidden nodes, and stores the result in I.
I is a matrix with df*nedges + rdf rows and cols.
Computes the fisher information for the model with hidden nodes and stores the result in I . I is a matrix with df * nedges + rdf rows and cols .