PLearn 0.1
Classes | Namespaces | Functions
TinyVector.h File Reference
#include <algorithm>
#include <typeinfo>
#include "plerror.h"
Include dependency graph for TinyVector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  PLearn::TinyVector< T, N, TTrait >
 Compile-time fixed-size vector with interface close to std::vector. More...
class  PLearn::TinyVectorTrait< T >
 Define "missing-value" for a number of types with TinyVector. More...
class  PLearn::TinyVectorTrait< unsigned char >
class  PLearn::TinyVectorTrait< signed char >
class  PLearn::TinyVectorTrait< char >
class  PLearn::TinyVectorTrait< unsigned short >
class  PLearn::TinyVectorTrait< short >
class  PLearn::TinyVectorTrait< unsigned int >
class  PLearn::TinyVectorTrait< int >

Namespaces

namespace  PLearn
 

< for swap


Functions

template<class T , unsigned N, class TTrait >
bool PLearn::operator== (const TinyVector< T, N, TTrait > &, const TinyVector< T, N, TTrait > &)
 Equality operator.
template<class T , unsigned N, class TTrait >
bool PLearn::operator< (const TinyVector< T, N, TTrait > &, const TinyVector< T, N, TTrait > &)
 Lexicographical Ordering.
template<class T , unsigned N, class TTrait >
bool PLearn::operator!= (const TinyVector< T, N, TTrait > &x, const TinyVector< T, N, TTrait > &y)
 Other operators (should be defined in std::rel_ops, but does not work properly with gcc yet).
template<class T , unsigned N, class TTrait >
bool PLearn::operator> (const TinyVector< T, N, TTrait > &x, const TinyVector< T, N, TTrait > &y)
template<class T , unsigned N, class TTrait >
bool PLearn::operator<= (const TinyVector< T, N, TTrait > &x, const TinyVector< T, N, TTrait > &y)
template<class T , unsigned N, class TTrait >
bool PLearn::operator>= (const TinyVector< T, N, TTrait > &x, const TinyVector< T, N, TTrait > &y)
template<class T , unsigned N, class TTrait >
void PLearn::operator<< (TinyVector< T, N, TTrait > &x, const TinyVector< T, N, TTrait > &y)
 To emulate PLearn TVecs, operator<< implements a copy.

Detailed Description

Definition in file TinyVector.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines