helper functions for printing HMM parameters and sequences More...
#include <hmm.h>Functions | |
| std::string | blockPrint (int bin, int printMode) |
| [blockPrint description] More... | |
| void | printMat (std::vector< std::vector< double > > mat) |
| formats and prints a "vec of vecs" matrix to cout More... | |
| void | printVecAsBlock (int *v, int veclen, int printMode) |
| applies blockPrint to each item in a vector for within-console visualization More... | |
| void | printVec (std::vector< double > v) |
| simply prints vector to cout as is More... | |
helper functions for printing HMM parameters and sequences
helper functions for printing hmm parameters and sequences
| std::string blockPrint | ( | int | bin, |
| int | printMode | ||
| ) |
[blockPrint description]
| bin | integer indicating block category. Most likely 0 or 1. |
| printMode | 0 for ints, 1 for block characters, 2 for _&^ |
| void printMat | ( | std::vector< std::vector< double > > | mat | ) |
formats and prints a "vec of vecs" matrix to cout
| mat | vector of vectors matrix to be printed to cout |
| void printVec | ( | std::vector< double > | v | ) |
| void printVecAsBlock | ( | int * | v, |
| int | veclen, | ||
| int | printMode | ||
| ) |
applies blockPrint to each item in a vector for within-console visualization
| v | vector of integers to be printed |
| veclen | length of v |
| printMode | 0 for ints, 1 for block characters, 2 for _&^ |