5 #include "kalman/ktypes.hpp"
6 #include "kalman/kvector.hpp"
7 #include "kalman/kmatrix.hpp"
9 using namespace Kalman;
29 mfile.
get(
"ReperesX", ReperesX);
33 cout<<ReperesX<<endl<<endl;
52 mfile.
add(
"tmpVec", tmpVec);
56 mfile.
add(
"tmpMat", tmpMat);
60 mfile.
save(
"test2.m");
KVectorContext createKVectorContext(std::string elemDelim=" ", std::string startDelim="", std::string endDelim="", unsigned prec=4)
Creates a vector printing context.
void resize(K_UINT_32 n)
Resizes the vector. Resulting vector contents are undefined.
Minimalist vector template class.
int get(std::string name, Kalman::KVector< T, BEG, DBG > &tmpvector)
KMatrixContext createKMatrixContext(std::string elemDelim=" ", std::string rowDelim="\n", std::string startDelim="", std::string endDelim="", unsigned prec=4)
Creates a matrix printing context.
int add(std::string name, Kalman::KVector< T, BEG, DBG > &tmpvector, int type=ROW_VECTOR)
KVectorContext selectKVectorContext(KVectorContext c)
Selects a vector printing context as the current context.
void resize(K_UINT_32 m, K_UINT_32 n)
Resizes the matrix. Resulting matrix contents are undefined.
Minimalist matrix template class.
KMatrixContext selectKMatrixContext(KMatrixContext c)
Selects a matrix printing context as the current context.