src/fisher.cpp
// Converts the root distribution index into a free parameter index.
Converts the root distribution index into a free parameter index.
Converts the root distribution index into a free parameter index .
long root2freeparam(Tree &T, Model &Mod, long r) {
  long p = Mod.root_structure(r);
  if (p == 0) return -1;   
  else return T.nedges*Mod.df + p - 1;
}
long root2freeparam ( Tree & T , Model & Mod , long r ) { long p = Mod . root_structure ( r ) ; if ( p == 0 ) return -1 ; else return T . nedges * Mod . df + p - 1 ; }
Converts the root distribution index into a free parameter index.
Converts the root distribution index into a free parameter index .
// p = 0 is the parameter killed.