Vector Class Template Reference

#include <vector.h>

List of all members.


Detailed Description

template<typename T>
class lpzrobots::Vector< T >

Definition at line 43 of file vector.h.

Public Member Functions

 Vector (unsigned dimension=0)
void resize (unsigned new_dimension)
unsigned get_dimension () const
Toperator() (unsigned i)
const Toperator() (unsigned i) const
Vector< Toperator- (const Vector< T > &r_rhs) const
T length () const
T square_length () const

Protected Attributes

std::vector< Tdata


Constructor & Destructor Documentation

Vector unsigned  dimension = 0  ) 
 

Definition at line 71 of file vector.h.


Member Function Documentation

unsigned get_dimension  )  const
 

Definition at line 84 of file vector.h.

T length  )  const
 

Definition at line 150 of file vector.h.

const T & operator() unsigned  i  )  const
 

Definition at line 157 of file vector.h.

T & operator() unsigned  i  ) 
 

Definition at line 91 of file vector.h.

Vector< T > operator- const Vector< T > &  r_rhs  )  const
 

Definition at line 102 of file vector.h.

void resize unsigned  new_dimension  ) 
 

Definition at line 77 of file vector.h.

T square_length  )  const
 

Definition at line 137 of file vector.h.


Member Data Documentation

std::vector<T> data [protected]
 

Definition at line 48 of file vector.h.


Generated on Tue Apr 4 19:05:27 2006 for Robotsystem from Robot Group Leipzig by  doxygen 1.4.5