src/ModelParameterInfoTypes.cpp
void NumberVectorInfo::write(ostream & os){
    os<<tb<<nNIs<<"  #number of parameters"<<endl;
    os<<"#     param initial       resample  prior   prior  prior   prior"<<endl;
    os<<"#id   scale  value  phase  values?  weight  type   params  consts  label"<<endl;
    if (nNIs){
        for (int p=0;p<(nNIs-1);p++) os<<(p+1)<<tb<<(*ppNIs[p])<<endl;
        os<<nNIs<<tb<<(*ppNIs[nNIs-1]);
    }
}
/**
 * Write to output stream in TCSAM02 format.
 * 
 * @param os
 */
Write to output stream in TCSAM02 format.

@param os
Write to output stream in TCSAM02 format . @param os
void NumberVectorInfo::write(ostream & os){
    os<<tb<<nNIs<<"  #number of parameters"<<endl;
    os<<"#     param initial       resample  prior   prior  prior   prior"<<endl;
    os<<"#id   scale  value  phase  values?  weight  type   params  consts  label"<<endl;
    if (nNIs){
        for (int p=0;p<(nNIs-1);p++) os<<(p+1)<<tb<<(*ppNIs[p])<<endl;
        os<<nNIs<<tb<<(*ppNIs[nNIs-1]);
    }
}
void NumberVectorInfo :: write ( ostream & os ) { os << tb << nNIs << " " << endl ; os << " " << endl ; os << " " << endl ; if ( nNIs ) { for ( int p = 0 ; p < ( nNIs - 1 ) ; p ++ ) os << ( p + 1 ) << tb << ( * ppNIs [ p ] ) << endl ; os << nNIs << tb << ( * ppNIs [ nNIs - 1 ] ) ; } }
Write to output stream in TCSAM02 format.
Write to output stream in TCSAM02 format .