Main MRPT website > C++ reference for MRPT 1.9.9
Namespaces
matrix_serialization.h File Reference

Detailed Description

This file implements matrix/vector text and binary serialization

Definition in file matrix_serialization.h.

#include <mrpt/serialization/CArchive.h>
#include <mrpt/math/CMatrix.h>
#include <mrpt/math/CMatrixD.h>
#include <mrpt/math/CMatrixTemplateNumeric.h>
#include <mrpt/math/CMatrixFixedNumeric.h>
Include dependency graph for matrix_serialization.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mrpt
 This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
 
 mrpt::math
 This base provides a set of functions for maths stuff.
 

Functions

Operators for binary streaming of MRPT matrices
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator>> (mrpt::serialization::CArchive &in, CMatrixFixedNumeric< float, NROWS, NCOLS > &M)
 Read operator from a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator>> (mrpt::serialization::CArchive &in, CMatrixFixedNumeric< double, NROWS, NCOLS > &M)
 Read operator from a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator<< (mrpt::serialization::CArchive &out, const CMatrixFixedNumeric< float, NROWS, NCOLS > &M)
 Write operator for writing into a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator<< (mrpt::serialization::CArchive &out, const CMatrixFixedNumeric< double, NROWS, NCOLS > &M)
 Write operator for writing into a CStream. More...
 
Operators for text streaming of MRPT matrices
template<typename T , size_t NROWS, size_t NCOLS>
std::ostream & mrpt::math::operator<< (std::ostream &s, const CMatrixFixedNumeric< T, NROWS, NCOLS > &m)
 Dumps the matrix to a text ostream, adding a final "\n" to Eigen's default output. More...
 
template<typename T >
std::ostream & mrpt::math::operator<< (std::ostream &s, const CMatrixTemplateNumeric< T > &m)
 Dumps the matrix to a text ostream, adding a final "\n" to Eigen's default output. More...
 
template<typename MAT >
void mrpt::math::deserializeSymmetricMatrixFrom (MAT &m, mrpt::serialization::CArchive &in)
 Binary serialization of symmetric matrices, saving the space of duplicated values. More...
 
template<typename MAT >
void mrpt::math::serializeSymmetricMatrixTo (MAT &m, mrpt::serialization::CArchive &out)
 Binary serialization of symmetric matrices, saving the space of duplicated values. More...
 
Operators for binary streaming of MRPT matrices
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator>> (mrpt::serialization::CArchive &in, CMatrixFixedNumeric< float, NROWS, NCOLS > &M)
 Read operator from a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator>> (mrpt::serialization::CArchive &in, CMatrixFixedNumeric< double, NROWS, NCOLS > &M)
 Read operator from a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator<< (mrpt::serialization::CArchive &out, const CMatrixFixedNumeric< float, NROWS, NCOLS > &M)
 Write operator for writing into a CStream. More...
 
template<size_t NROWS, size_t NCOLS>
mrpt::serialization::CArchivemrpt::math::operator<< (mrpt::serialization::CArchive &out, const CMatrixFixedNumeric< double, NROWS, NCOLS > &M)
 Write operator for writing into a CStream. More...
 
Operators for text streaming of MRPT matrices
template<typename T , size_t NROWS, size_t NCOLS>
std::ostream & mrpt::math::operator<< (std::ostream &s, const CMatrixFixedNumeric< T, NROWS, NCOLS > &m)
 Dumps the matrix to a text ostream, adding a final "\n" to Eigen's default output. More...
 
template<typename T >
std::ostream & mrpt::math::operator<< (std::ostream &s, const CMatrixTemplateNumeric< T > &m)
 Dumps the matrix to a text ostream, adding a final "\n" to Eigen's default output. More...
 
template<typename MAT >
void mrpt::math::deserializeSymmetricMatrixFrom (MAT &m, mrpt::serialization::CArchive &in)
 Binary serialization of symmetric matrices, saving the space of duplicated values. More...
 
template<typename MAT >
void mrpt::math::serializeSymmetricMatrixTo (MAT &m, mrpt::serialization::CArchive &out)
 Binary serialization of symmetric matrices, saving the space of duplicated values. More...
 



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST