36 using namespace Kalman;
41 typedef vector<KVectorContextImpl> VectorContextList;
50 typedef vector<KMatrixContextImpl> MatrixContextList;
86 std::string startDelim,
89 if (prec < 1) prec = 1;
90 if (prec > 9) prec = 9;
96 return vectorContexts.size() - 1;
105 if (c >= vectorContexts.size()) {
106 return currentVectorIndex;
110 currentVectorIndex = c;
145 std::string rowDelim,
146 std::string startDelim,
147 std::string endDelim,
149 if (prec < 1) prec = 1;
150 if (prec > 9) prec = 9;
157 return matrixContexts.size() - 1;
166 if (c >= matrixContexts.size()) {
167 return currentMatrixIndex;
171 currentMatrixIndex = c;
KVectorContext createKVectorContext(std::string elemDelim=" ", std::string startDelim="", std::string endDelim="", unsigned prec=4)
Creates a vector printing context.
Contains necessary informations to print a formatted KMatrix.
unsigned short KVectorContext
Handle type to a vector printing context.
KVectorContextImpl * currentVectorContext
Refers to the currently selected vector printing context.
unsigned short KMatrixContext
Handle type to a matrix printing context.
Contains the interface of the KMatrix template class.
KMatrixContext createKMatrixContext(std::string elemDelim=" ", std::string rowDelim="\n", std::string startDelim="", std::string endDelim="", unsigned prec=4)
Creates a matrix printing context.
KMatrixContext DEFAULT_MATRIX_CONTEXT
Default matrix printing context object.
Contains necessary informations to print a formatted KVector.
KVectorContext selectKVectorContext(KVectorContext c)
Selects a vector printing context as the current context.
KVectorContext DEFAULT_VECTOR_CONTEXT
Default vector printing context object.
KMatrixContext selectKMatrixContext(KMatrixContext c)
Selects a matrix printing context as the current context.
KMatrixContextImpl * currentMatrixContext
Refers to the currently selected matrix printing context.
Contains the interface of the KVector template class.