Main MRPT website > C++ reference
MRPT logo
Namespaces | Functions

ops_vectors.h File Reference

#include <mrpt/utils/utils_defs.h>
#include <mrpt/math/CMatrixTemplateNumeric.h>
#include <mrpt/math/ops_containers.h>
Include dependency graph for ops_vectors.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mrpt
 

This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.


namespace  mrpt::utils
 

Classes for serialization, sockets, ini-file manipulation, streams, list of properties-values, timewatch, extensions to STL.


namespace  mrpt::math
 

This base provides a set of functions for maths stuff.


Functions

template<class T >
std::ostream & mrpt::math::operator<< (std::ostream &out, const std::vector< T > &d)
 A template function for printing out the contents of a std::vector variable.
template<class T >
std::ostream & mrpt::math::operator<< (std::ostream &out, std::vector< T > *d)
 A template function for printing out the contents of a std::vector variable.
template<typename T , size_t N>
mrpt::utils::CStreammrpt::math::operator<< (mrpt::utils::CStream &ostrm, const CArrayNumeric< T, N > &a)
 Binary dump of a CArrayNumeric<T,N> to a stream.
template<typename T , size_t N>
mrpt::utils::CStreammrpt::math::operator>> (mrpt::utils::CStream &istrm, CArrayNumeric< T, N > &a)
 Binary read of a CArrayNumeric<T,N> from a stream.
Generic std::vector element-wise operations

template<typename T1 , typename T2 >
std::vector< T1 > & mrpt::math::operator*= (std::vector< T1 > &a, const std::vector< T2 > &b)
 a*=b (element-wise multiplication)
template<typename T1 >
std::vector< T1 > & mrpt::math::operator*= (std::vector< T1 > &a, const T1 b)
 a*=k (multiplication by a constant)
template<typename T1 , typename T2 >
std::vector< T1 > mrpt::math::operator* (const std::vector< T1 > &a, const std::vector< T2 > &b)
 a*b (element-wise multiplication)
template<typename T1 , typename T2 >
std::vector< T1 > & mrpt::math::operator+= (std::vector< T1 > &a, const std::vector< T2 > &b)
 a+=b (element-wise sum)
template<typename T1 >
std::vector< T1 > & mrpt::math::operator+= (std::vector< T1 > &a, const T1 b)
 a+=b (sum a constant)
template<typename T1 , typename T2 >
std::vector< T1 > mrpt::math::operator+ (const std::vector< T1 > &a, const std::vector< T2 > &b)
 a+b (element-wise sum)
template<typename T1 , typename T2 >
std::vector< T1 > mrpt::math::operator- (const std::vector< T1 > &v1, const std::vector< T2 > &v2)



Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011