8 template<
typename T, K_UINT_32 BEG,
bool DBG>
45 template<
typename T, K_UINT_32 BEG,
bool DBG>
73 template<
typename T, K_UINT_32 BEG,
bool DBG>
94 tmpElement.
Name = name;
101 tmpElement.
Name = name;
108 for(
unsigned int i=0; i<tmpvector.
size(); i++)
110 tmpdouble = tmpvector(BEG + i);
111 Data.push_back(tmpdouble);
118 template<
typename T, K_UINT_32 BEG,
bool DBG>
138 tmpElement.
Name = name;
142 for(
unsigned int i=0; i<tmpmatrix.
nrow(); i++)
144 for(
unsigned int j=0; j<tmpmatrix.
ncol(); j++)
146 tmpdouble = tmpmatrix(BEG + i,BEG + j);
147 Data.push_back(tmpdouble);
K_UINT_32 nrow() const
Returns m_, the number of rows of the matrix.
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)
std::vector< double > Data
int add(std::string name, Kalman::KVector< T, BEG, DBG > &tmpvector, int type=ROW_VECTOR)
std::vector< MFileElement > VectorMFileElement
void resize(K_UINT_32 m, K_UINT_32 n)
Resizes the matrix. Resulting matrix contents are undefined.
Minimalist matrix template class.
K_UINT_32 ncol() const
Returns n_, the number of columns of the matrix.
K_UINT_32 size() const
Returns the vector size.