ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
tiny_vec< Type, n > Struct Template Reference

#include <tiny_vec.hpp>

Public Member Functions

 tiny_vec ()
 
 tiny_vec (const tiny_vec &other)
 
 tiny_vec (const Type &other)
 
Type operator[] (size_t i) const
 
Type & operator[] (size_t i)
 
void resize (size_t length)
 
tiny_vec_ref< Type > segment (size_t start, size_t length)
 
void setZero ()
 
int size () const
 

Public Attributes

Type data [n]
 

Detailed Description

template<class Type, int n>
struct tiny_vec< Type, n >

Definition at line 17 of file tiny_vec.hpp.

Constructor & Destructor Documentation

template<class Type, int n>
tiny_vec< Type, n >::tiny_vec ( )
inline

Definition at line 19 of file tiny_vec.hpp.

template<class Type, int n>
tiny_vec< Type, n >::tiny_vec ( const tiny_vec< Type, n > &  other)
inline

Definition at line 20 of file tiny_vec.hpp.

template<class Type, int n>
tiny_vec< Type, n >::tiny_vec ( const Type &  other)
inline

Definition at line 23 of file tiny_vec.hpp.

Member Function Documentation

template<class Type, int n>
Type tiny_vec< Type, n >::operator[] ( size_t  i) const
inline

Definition at line 28 of file tiny_vec.hpp.

template<class Type, int n>
Type& tiny_vec< Type, n >::operator[] ( size_t  i)
inline

Definition at line 29 of file tiny_vec.hpp.

template<class Type, int n>
void tiny_vec< Type, n >::resize ( size_t  length)
inline

Definition at line 26 of file tiny_vec.hpp.

template<class Type, int n>
tiny_vec_ref<Type> tiny_vec< Type, n >::segment ( size_t  start,
size_t  length 
)
inline

Definition at line 31 of file tiny_vec.hpp.

template<class Type, int n>
void tiny_vec< Type, n >::setZero ( )
inline

Definition at line 30 of file tiny_vec.hpp.

template<class Type, int n>
int tiny_vec< Type, n >::size ( void  ) const
inline

Definition at line 27 of file tiny_vec.hpp.

Member Data Documentation

template<class Type, int n>
Type tiny_vec< Type, n >::data[n]

The documentation for this struct was generated from the following file: