Qucs-core  0.0.19
Public Member Functions | Private Attributes | Friends
qucs::vector Class Reference

#include <vector.h>

Inheritance diagram for qucs::vector:
Inheritance graph
[legend]
Collaboration diagram for qucs::vector:
Collaboration graph
[legend]

Public Member Functions

vectorgetNext (void) const
void setNext (vector *const o)
vectorgetPrev (void) const
void setPrev (vector *const o)
 vector ()
 vector (const std::string &)
 vector (int)
 vector (int, nr_complex_t)
 vector (const std::string &, int)
 vector (const vector &)
const vectoroperator= (const vector &)
 ~vector ()
void add (nr_complex_t)
void add (vector *)
nr_complex_t get (int)
void set (nr_double_t, int)
void set (const nr_complex_t, int)
int getSize (void) const
int checkSizes (vector, vector)
int getRequested (void)
void setRequested (int n)
void reverse (void)
strlistgetDependencies (void)
void setDependencies (strlist *)
void setOrigin (const char *)
char * getOrigin (void)
int contains (nr_complex_t, nr_double_t eps=std::numeric_limits< nr_double_t >::epsilon())
void sort (bool ascending=true)
void print (void)
nr_double_t maximum (void)
nr_double_t minimum (void)
nr_double_t rms (void)
nr_double_t variance (void)
nr_double_t stddev (void)
vector operator- ()
vector operator= (const nr_complex_t)
vector operator= (const nr_double_t)
vector operator+= (vector)
vector operator+= (const nr_complex_t)
vector operator+= (const nr_double_t)
vector operator-= (vector)
vector operator-= (const nr_complex_t)
vector operator-= (const nr_double_t)
vector operator*= (vector)
vector operator*= (const nr_complex_t)
vector operator*= (const nr_double_t)
vector operator/= (vector)
vector operator/= (const nr_complex_t)
vector operator/= (const nr_double_t)
nr_complex_t operator() (int i) const
nr_complex_toperator() (int i)

Private Attributes

vectornext
vectorprev
int requested
int size
int capacity
strlistdependencies
nr_complex_tdata
char * origin

Friends

nr_complex_t sum (vector)
nr_complex_t prod (vector)
nr_complex_t avg (vector)
vector cumsum (vector)
vector cumprod (vector)
vector cumavg (vector)
vector dbm (vector, const nr_complex_t)
nr_complex_t integrate (vector v, const nr_complex_t)
nr_double_t integrate (vector v, const nr_double_t)
vector real (vector)
vector imag (vector)
vector conj (vector)
vector norm (vector)
vector arg (vector)
vector dB (vector)
vector log (vector)
vector log2 (vector)
vector pow (vector, const nr_complex_t)
vector pow (vector, const nr_double_t)
vector pow (const nr_complex_t, vector)
vector pow (const nr_double_t, vector)
vector pow (vector, vector)
vector ztor (vector, nr_complex_t)
vector rtoz (vector, nr_complex_t)
vector ytor (vector, nr_complex_t)
vector rtoy (vector, nr_complex_t)
vector diff (vector, vector, int)
vector unwrap (vector, nr_double_t, nr_double_t)
vector polar (vector, const nr_complex_t)
vector polar (const nr_complex_t, vector)
vector polar (vector, vector)
vector atan2 (vector, const nr_double_t)
vector atan2 (const nr_double_t, vector)
vector atan2 (vector, vector)
vector dbm2w (vector)
vector w2dbm (vector)
vector xhypot (vector, vector)
vector xhypot (vector, const nr_complex_t)
vector xhypot (vector, const nr_double_t)
vector xhypot (const nr_complex_t, vector)
vector xhypot (const nr_double_t, vector)
vector abs (vector)
vector log10 (vector)
vector exp (vector)
vector limexp (vector)
vector sqrt (vector)
vector sin (vector)
vector asin (vector)
vector cos (vector)
vector acos (vector)
vector tan (vector)
vector atan (vector)
vector cot (vector)
vector acot (vector)
vector sinh (vector)
vector asinh (vector)
vector cosh (vector)
vector sech (vector)
vector cosech (vector)
vector acosh (vector)
vector asech (vector)
vector tanh (vector)
vector atanh (vector)
vector coth (vector)
vector acoth (vector)
vector signum (vector)
vector sign (vector)
vector sinc (vector)
vector ceil (vector)
vector floor (vector)
vector fix (vector)
vector round (vector)
vector sqr (vector)
vector step (vector)
vector jn (const int, vector)
vector yn (const int, vector)
vector i0 (vector)
vector erf (vector)
vector erfc (vector)
vector erfinv (vector)
vector erfcinv (vector)
vector rad2deg (vector)
vector deg2rad (vector)
vector operator+ (vector, vector)
vector operator+ (vector, const nr_complex_t)
vector operator+ (vector, const nr_double_t)
vector operator+ (const nr_complex_t, vector)
vector operator+ (const nr_double_t, vector)
vector operator- (vector, vector)
vector operator- (vector, const nr_complex_t)
vector operator- (vector, const nr_double_t)
vector operator- (const nr_complex_t, vector)
vector operator- (const nr_double_t, vector)
vector operator* (vector, vector)
vector operator* (vector, const nr_complex_t)
vector operator* (vector, const nr_double_t)
vector operator* (const nr_complex_t, vector)
vector operator* (const nr_double_t, vector)
vector operator/ (vector, vector)
vector operator/ (vector, const nr_complex_t)
vector operator/ (vector, const nr_double_t)
vector operator/ (const nr_complex_t, vector)
vector operator/ (const nr_double_t, vector)
vector operator% (vector, vector)
vector operator% (vector, const nr_complex_t)
vector operator% (vector, const nr_double_t)
vector operator% (const nr_complex_t, vector)
vector operator% (const nr_double_t, vector)

Detailed Description

Definition at line 49 of file vector.h.


Constructor & Destructor Documentation

qucs::vector::vector ( )

Definition at line 50 of file vector.cpp.

qucs::vector::vector ( const std::string &  n)

Definition at line 87 of file vector.cpp.

qucs::vector::vector ( int  s)

Definition at line 61 of file vector.cpp.

qucs::vector::vector ( int  s,
nr_complex_t  val 
)

Definition at line 74 of file vector.cpp.

qucs::vector::vector ( const std::string &  n,
int  s 
)

Definition at line 98 of file vector.cpp.

qucs::vector::vector ( const vector v)

Definition at line 111 of file vector.cpp.

qucs::vector::~vector ( )

Definition at line 140 of file vector.cpp.


Member Function Documentation

Definition at line 160 of file vector.cpp.

void qucs::vector::add ( vector v)

Definition at line 173 of file vector.cpp.

int qucs::vector::checkSizes ( vector  v1,
vector  v2 
)

Definition at line 205 of file vector.cpp.

int qucs::vector::contains ( nr_complex_t  val,
nr_double_t  eps = std::numeric_limits<nr_double_t>::epsilon() 
)

Definition at line 934 of file vector.cpp.

nr_complex_t qucs::vector::get ( int  i)

Definition at line 188 of file vector.cpp.

strlist * qucs::vector::getDependencies ( void  )

Definition at line 147 of file vector.cpp.

vector* qucs::vector::getNext ( void  ) const [inline]

Definition at line 52 of file vector.h.

char * qucs::vector::getOrigin ( void  )

Definition at line 928 of file vector.cpp.

vector* qucs::vector::getPrev ( void  ) const [inline]

Definition at line 54 of file vector.h.

int qucs::vector::getRequested ( void  ) [inline]

Definition at line 76 of file vector.h.

int qucs::vector::getSize ( void  ) const

Definition at line 201 of file vector.cpp.

nr_double_t qucs::vector::maximum ( void  )

Definition at line 217 of file vector.cpp.

nr_double_t qucs::vector::minimum ( void  )

Definition at line 231 of file vector.cpp.

nr_complex_t qucs::vector::operator() ( int  i) const [inline]

Definition at line 231 of file vector.h.

nr_complex_t& qucs::vector::operator() ( int  i) [inline]

Definition at line 232 of file vector.h.

vector qucs::vector::operator*= ( vector  v)

Definition at line 758 of file vector.cpp.

vector qucs::vector::operator*= ( const nr_complex_t  c)

Definition at line 765 of file vector.cpp.

vector qucs::vector::operator*= ( const nr_double_t  d)

Definition at line 770 of file vector.cpp.

vector qucs::vector::operator+= ( vector  v)

Definition at line 648 of file vector.cpp.

vector qucs::vector::operator+= ( const nr_complex_t  c)

Definition at line 655 of file vector.cpp.

vector qucs::vector::operator+= ( const nr_double_t  d)

Definition at line 660 of file vector.cpp.

vector qucs::vector::operator- ( )

Definition at line 698 of file vector.cpp.

vector qucs::vector::operator-= ( vector  v)

Definition at line 704 of file vector.cpp.

vector qucs::vector::operator-= ( const nr_complex_t  c)

Definition at line 711 of file vector.cpp.

vector qucs::vector::operator-= ( const nr_double_t  d)

Definition at line 716 of file vector.cpp.

vector qucs::vector::operator/= ( vector  v)

Definition at line 808 of file vector.cpp.

vector qucs::vector::operator/= ( const nr_complex_t  c)

Definition at line 815 of file vector.cpp.

vector qucs::vector::operator/= ( const nr_double_t  d)

Definition at line 820 of file vector.cpp.

const vector & qucs::vector::operator= ( const vector v)

Definition at line 126 of file vector.cpp.

vector qucs::vector::operator= ( const nr_complex_t  c)

Definition at line 638 of file vector.cpp.

vector qucs::vector::operator= ( const nr_double_t  d)

Definition at line 643 of file vector.cpp.

void qucs::vector::print ( void  )
void qucs::vector::reverse ( void  )

Definition at line 912 of file vector.cpp.

nr_double_t qucs::vector::rms ( void  )

Definition at line 1075 of file vector.cpp.

void qucs::vector::set ( nr_double_t  d,
int  i 
)

Definition at line 192 of file vector.cpp.

void qucs::vector::set ( const nr_complex_t  z,
int  i 
)

Definition at line 196 of file vector.cpp.

Definition at line 152 of file vector.cpp.

void qucs::vector::setNext ( vector *const  o) [inline]

Definition at line 53 of file vector.h.

void qucs::vector::setOrigin ( const char *  n)

Definition at line 922 of file vector.cpp.

void qucs::vector::setPrev ( vector *const  o) [inline]

Definition at line 55 of file vector.h.

void qucs::vector::setRequested ( int  n) [inline]

Definition at line 77 of file vector.h.

void qucs::vector::sort ( bool  ascending = true)

Definition at line 943 of file vector.cpp.

nr_double_t qucs::vector::stddev ( void  )

Definition at line 1089 of file vector.cpp.

nr_double_t qucs::vector::variance ( void  )

Definition at line 1080 of file vector.cpp.


Friends And Related Function Documentation

vector abs ( vector  ) [friend]
vector acos ( vector  ) [friend]
vector acosh ( vector  ) [friend]
vector acot ( vector  ) [friend]
vector acoth ( vector  ) [friend]
vector arg ( vector  ) [friend]
vector asech ( vector  ) [friend]
vector asin ( vector  ) [friend]
vector asinh ( vector  ) [friend]
vector atan ( vector  ) [friend]
vector atan2 ( vector  ,
const nr_double_t   
) [friend]
vector atan2 ( const nr_double_t  ,
vector   
) [friend]
vector atan2 ( vector  ,
vector   
) [friend]
vector atanh ( vector  ) [friend]
nr_complex_t avg ( vector  ) [friend]
vector ceil ( vector  ) [friend]
vector conj ( vector  ) [friend]
vector cos ( vector  ) [friend]
vector cosech ( vector  ) [friend]
vector cosh ( vector  ) [friend]
vector cot ( vector  ) [friend]
vector coth ( vector  ) [friend]
vector cumavg ( vector  ) [friend]
vector cumprod ( vector  ) [friend]
vector cumsum ( vector  ) [friend]
vector dB ( vector  ) [friend]
vector dbm ( vector  ,
const nr_complex_t   
) [friend]
vector dbm2w ( vector  ) [friend]
vector deg2rad ( vector  ) [friend]
vector diff ( vector  ,
vector  ,
int   
) [friend]
vector erf ( vector  ) [friend]
vector erfc ( vector  ) [friend]
vector erfcinv ( vector  ) [friend]
vector erfinv ( vector  ) [friend]
vector exp ( vector  ) [friend]
vector fix ( vector  ) [friend]
vector floor ( vector  ) [friend]
vector i0 ( vector  ) [friend]
vector imag ( vector  ) [friend]
nr_complex_t integrate ( vector  v,
const nr_complex_t   
) [friend]
nr_double_t integrate ( vector  v,
const nr_double_t   
) [friend]
vector jn ( const int  ,
vector   
) [friend]
vector limexp ( vector  ) [friend]
vector log ( vector  ) [friend]
vector log10 ( vector  ) [friend]
vector log2 ( vector  ) [friend]
vector norm ( vector  ) [friend]
vector operator% ( vector  ,
vector   
) [friend]
vector operator% ( vector  ,
const nr_complex_t   
) [friend]
vector operator% ( vector  ,
const nr_double_t   
) [friend]
vector operator% ( const nr_complex_t  ,
vector   
) [friend]
vector operator% ( const nr_double_t  ,
vector   
) [friend]
vector operator* ( vector  ,
vector   
) [friend]
vector operator* ( vector  ,
const nr_complex_t   
) [friend]
vector operator* ( vector  ,
const nr_double_t   
) [friend]
vector operator* ( const nr_complex_t  ,
vector   
) [friend]
vector operator* ( const nr_double_t  ,
vector   
) [friend]
vector operator+ ( vector  ,
vector   
) [friend]
vector operator+ ( vector  ,
const nr_complex_t   
) [friend]
vector operator+ ( vector  ,
const nr_double_t   
) [friend]
vector operator+ ( const nr_complex_t  ,
vector   
) [friend]
vector operator+ ( const nr_double_t  ,
vector   
) [friend]
vector operator- ( vector  ,
vector   
) [friend]
vector operator- ( vector  ,
const nr_complex_t   
) [friend]
vector operator- ( vector  ,
const nr_double_t   
) [friend]
vector operator- ( const nr_complex_t  ,
vector   
) [friend]
vector operator- ( const nr_double_t  ,
vector   
) [friend]
vector operator/ ( vector  ,
vector   
) [friend]
vector operator/ ( vector  ,
const nr_complex_t   
) [friend]
vector operator/ ( vector  ,
const nr_double_t   
) [friend]
vector operator/ ( const nr_complex_t  ,
vector   
) [friend]
vector operator/ ( const nr_double_t  ,
vector   
) [friend]
vector polar ( vector  ,
const nr_complex_t   
) [friend]
vector polar ( const nr_complex_t  ,
vector   
) [friend]
vector polar ( vector  ,
vector   
) [friend]
vector pow ( vector  ,
const nr_complex_t   
) [friend]
vector pow ( vector  ,
const nr_double_t   
) [friend]
vector pow ( const nr_complex_t  ,
vector   
) [friend]
vector pow ( const nr_double_t  ,
vector   
) [friend]
vector pow ( vector  ,
vector   
) [friend]
nr_complex_t prod ( vector  ) [friend]
vector rad2deg ( vector  ) [friend]
vector real ( vector  ) [friend]
vector round ( vector  ) [friend]
vector rtoy ( vector  ,
nr_complex_t   
) [friend]
vector rtoz ( vector  ,
nr_complex_t   
) [friend]
vector sech ( vector  ) [friend]
vector sign ( vector  ) [friend]
vector signum ( vector  ) [friend]
vector sin ( vector  ) [friend]
vector sinc ( vector  ) [friend]
vector sinh ( vector  ) [friend]
vector sqr ( vector  ) [friend]
vector sqrt ( vector  ) [friend]
vector step ( vector  ) [friend]
nr_complex_t sum ( vector  ) [friend]
vector tan ( vector  ) [friend]
vector tanh ( vector  ) [friend]
vector unwrap ( vector  ,
nr_double_t  ,
nr_double_t   
) [friend]
vector w2dbm ( vector  ) [friend]
vector xhypot ( vector  ,
vector   
) [friend]
vector xhypot ( vector  ,
const nr_complex_t   
) [friend]
vector xhypot ( vector  ,
const nr_double_t   
) [friend]
vector xhypot ( const nr_complex_t  ,
vector   
) [friend]
vector xhypot ( const nr_double_t  ,
vector   
) [friend]
vector yn ( const int  ,
vector   
) [friend]
vector ytor ( vector  ,
nr_complex_t   
) [friend]
vector ztor ( vector  ,
nr_complex_t   
) [friend]

Field Documentation

int qucs::vector::capacity [private]

Definition at line 237 of file vector.h.

Definition at line 239 of file vector.h.

strlist* qucs::vector::dependencies [private]

Definition at line 238 of file vector.h.

Definition at line 57 of file vector.h.

char* qucs::vector::origin [private]

Definition at line 240 of file vector.h.

vector* qucs::vector::prev [private]

Definition at line 58 of file vector.h.

int qucs::vector::requested [private]

Definition at line 235 of file vector.h.

Definition at line 236 of file vector.h.


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