Qucs-core  0.0.19
Public Member Functions | Protected Attributes | Friends
qucs::tvector< nr_type_t > Class Template Reference

#include <tvector.h>

Inheritance diagram for qucs::tvector< nr_type_t >:
Inheritance graph
[legend]

Public Member Functions

 tvector ()
 tvector (const std::size_t i)
 tvector (const tvector &)
 ~tvector ()
nr_type_t get (int)
void set (int, nr_type_t)
void set (nr_type_t)
void set (nr_type_t, int, int)
void set (tvector, int, int)
std::size_t size (void) const
nr_type_t * getData (void)
void clear (void)
void exchangeRows (int, int)
int isFinite (void)
void print (void)
void reorder (int *)
int contains (nr_type_t, nr_double_t eps=std::numeric_limits< nr_double_t >::epsilon())
tvector operator+= (tvector)
tvector operator-= (tvector)
tvector operator*= (nr_double_t)
tvector operator/= (nr_double_t)
tvector operator= (const nr_type_t)
nr_type_t operator() (int i) const
nr_type_t & operator() (int i)
nr_type_t operator[] (int i) const
nr_type_t & operator[] (int i)

Protected Attributes

std::vector< nr_type_t > data

Friends

tvector operator+ (tvector, tvector)
tvector operator- (tvector, tvector)
tvector operator* (tvector, nr_double_t)
tvector operator* (nr_double_t, tvector)
tvector operator* (tvector, tvector)
tvector operator- (tvector)
tvector operator+ (tvector, nr_type_t)
tvector operator+ (nr_type_t, tvector)
nr_double_t norm (tvector)
nr_double_t maxnorm (tvector)
nr_type_t sum (tvector)
nr_type_t scalar (tvector, tvector)
tvector conj (tvector)
bool operator< (tvector, tvector)
bool operator> (tvector, tvector)

Detailed Description

template<class nr_type_t>
class qucs::tvector< nr_type_t >

Definition at line 73 of file tvector.h.


Constructor & Destructor Documentation

template<class nr_type_t>
qucs::tvector< nr_type_t >::tvector ( )
template<class nr_type_t>
qucs::tvector< nr_type_t >::tvector ( const std::size_t  i) [inline]

Definition at line 77 of file tvector.h.

template<class nr_type_t>
qucs::tvector< nr_type_t >::tvector ( const tvector< nr_type_t > &  )
template<class nr_type_t>
qucs::tvector< nr_type_t >::~tvector ( )

Member Function Documentation

template<class nr_type_t >
void qucs::tvector< nr_type_t >::clear ( void  )

Definition at line 69 of file tvector.cpp.

template<class nr_type_t>
int qucs::tvector< nr_type_t >::contains ( nr_type_t  val,
nr_double_t  eps = std::numeric_limits<nr_double_t>::epsilon() 
)

Definition at line 77 of file tvector.cpp.

template<class nr_type_t >
void qucs::tvector< nr_type_t >::exchangeRows ( int  r1,
int  r2 
)

Definition at line 91 of file tvector.cpp.

template<class nr_type_t >
nr_type_t qucs::tvector< nr_type_t >::get ( int  i)

Definition at line 43 of file tvector.cpp.

template<class nr_type_t>
nr_type_t* qucs::tvector< nr_type_t >::getData ( void  ) [inline]

Definition at line 86 of file tvector.h.

template<class nr_type_t >
int qucs::tvector< nr_type_t >::isFinite ( void  )

Definition at line 304 of file tvector.cpp.

template<class nr_type_t>
nr_type_t qucs::tvector< nr_type_t >::operator() ( int  i) const [inline]

Definition at line 131 of file tvector.h.

template<class nr_type_t>
nr_type_t& qucs::tvector< nr_type_t >::operator() ( int  i) [inline]

Definition at line 134 of file tvector.h.

template<class nr_type_t >
tvector< nr_type_t > qucs::tvector< nr_type_t >::operator*= ( nr_double_t  s)

Definition at line 140 of file tvector.cpp.

template<class nr_type_t >
tvector< nr_type_t > qucs::tvector< nr_type_t >::operator+= ( tvector< nr_type_t >  a)

Definition at line 110 of file tvector.cpp.

template<class nr_type_t >
tvector< nr_type_t > qucs::tvector< nr_type_t >::operator-= ( tvector< nr_type_t >  a)

Definition at line 130 of file tvector.cpp.

template<class nr_type_t >
tvector< nr_type_t > qucs::tvector< nr_type_t >::operator/= ( nr_double_t  s)

Definition at line 148 of file tvector.cpp.

template<class nr_type_t>
tvector< nr_type_t > qucs::tvector< nr_type_t >::operator= ( const nr_type_t  val)

Definition at line 189 of file tvector.cpp.

template<class nr_type_t>
nr_type_t qucs::tvector< nr_type_t >::operator[] ( int  i) const [inline]

Definition at line 136 of file tvector.h.

template<class nr_type_t>
nr_type_t& qucs::tvector< nr_type_t >::operator[] ( int  i) [inline]

Definition at line 139 of file tvector.h.

template<class nr_type_t>
void qucs::tvector< nr_type_t >::print ( void  )
template<class nr_type_t >
void qucs::tvector< nr_type_t >::reorder ( int idx)

Definition at line 312 of file tvector.cpp.

template<class nr_type_t>
void qucs::tvector< nr_type_t >::set ( int  i,
nr_type_t  z 
)

Definition at line 49 of file tvector.cpp.

template<class nr_type_t>
void qucs::tvector< nr_type_t >::set ( nr_type_t  z)

Definition at line 55 of file tvector.cpp.

template<class nr_type_t>
void qucs::tvector< nr_type_t >::set ( nr_type_t  z,
int  start,
int  stop 
)

Definition at line 62 of file tvector.cpp.

template<class nr_type_t>
void qucs::tvector< nr_type_t >::set ( tvector< nr_type_t >  a,
int  start,
int  stop 
)

Definition at line 85 of file tvector.cpp.

template<class nr_type_t>
std::size_t qucs::tvector< nr_type_t >::size ( void  ) const [inline]

Definition at line 85 of file tvector.h.


Friends And Related Function Documentation

template<class nr_type_t>
tvector conj ( tvector< nr_type_t >  ) [friend]
template<class nr_type_t>
nr_double_t maxnorm ( tvector< nr_type_t >  ) [friend]
template<class nr_type_t>
nr_double_t norm ( tvector< nr_type_t >  ) [friend]
template<class nr_type_t>
tvector operator* ( tvector< nr_type_t >  ,
nr_double_t   
) [friend]
template<class nr_type_t>
tvector operator* ( nr_double_t  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
tvector operator* ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
tvector operator+ ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
tvector operator+ ( tvector< nr_type_t >  ,
nr_type_t   
) [friend]
template<class nr_type_t>
tvector operator+ ( nr_type_t  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
tvector operator- ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
tvector operator- ( tvector< nr_type_t >  ) [friend]
template<class nr_type_t>
bool operator< ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
bool operator> ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
nr_type_t scalar ( tvector< nr_type_t >  ,
tvector< nr_type_t >   
) [friend]
template<class nr_type_t>
nr_type_t sum ( tvector< nr_type_t >  ) [friend]

Field Documentation

template<class nr_type_t>
std::vector<nr_type_t> qucs::tvector< nr_type_t >::data [protected]

Definition at line 144 of file tvector.h.


The documentation for this class was generated from the following files: