My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Friends | List of all members
vector Class Reference

#include <vector.h>

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

Public Member Functions

 vector ()
 
 vector (const char *)
 
 vector (int)
 
 vector (int, nr_complex_t)
 
 vector (const char *, 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)
 
int checkSizes (vector, vector)
 
int getRequested (void)
 
void setRequested (int n)
 
void reverse (void)
 
strlistgetDependencies (void)
 
void setDependencies (strlist *)
 
void setOrigin (char *)
 
char * getOrigin (void)
 
int contains (nr_complex_t, nr_double_t eps=NR_EPSI)
 
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)
 
- Public Member Functions inherited from object
 object ()
 
 object (const char *)
 
 object (const object &)
 
virtual ~object ()
 
objectgetNext (void)
 
void setNext (object *o)
 
objectgetPrev (void)
 
void setPrev (object *o)
 
void setName (const char *)
 
char * getName (void)
 
void addProperty (property *)
 
propertyaddProperty (const char *, const char *)
 
propertyaddProperty (const char *, nr_double_t)
 
propertyaddProperty (const char *, variable *)
 
void setProperty (const char *, char *)
 
void setProperty (const char *, nr_double_t)
 
void setScaledProperty (const char *, nr_double_t)
 
void setProperty (const char *, variable *)
 
vectorgetPropertyVector (const char *)
 
char * getPropertyString (const char *)
 
char * getPropertyReference (const char *)
 
nr_double_t getPropertyDouble (const char *)
 
nr_double_t getScaledProperty (const char *)
 
int getPropertyInteger (const char *)
 
bool hasProperty (const char *)
 
bool isPropertyGiven (const char *)
 
void copyProperties (property *)
 
void deleteProperties (void)
 
int countProperties (void)
 
char * propertyList (void)
 

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 z=50.0)
 
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 zref=50.0)
 
vector rtoz (vector, nr_complex_t zref=50.0)
 
vector ytor (vector, nr_complex_t zref=50.0)
 
vector rtoy (vector, nr_complex_t zref=50.0)
 
vector diff (vector, vector, int n=1)
 
vector unwrap (vector, nr_double_t tol=M_PI, nr_double_t step=2 *M_PI)
 
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 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 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 44 of file vector.h.

Constructor & Destructor Documentation

vector::vector ( )

Definition at line 45 of file vector.cpp.

vector::vector ( const char *  n)

Definition at line 79 of file vector.cpp.

vector::vector ( int  s)

Definition at line 55 of file vector.cpp.

vector::vector ( int  s,
nr_complex_t  val 
)

Definition at line 67 of file vector.cpp.

vector::vector ( const char *  n,
int  s 
)

Definition at line 89 of file vector.cpp.

vector::vector ( const vector v)

Definition at line 101 of file vector.cpp.

vector::~vector ( )

Definition at line 128 of file vector.cpp.

Member Function Documentation

void vector::add ( nr_complex_t  c)

Definition at line 148 of file vector.cpp.

Here is the caller graph for this function:

void vector::add ( vector v)

Definition at line 161 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 193 of file vector.cpp.

Here is the call graph for this function:

int vector::contains ( nr_complex_t  val,
nr_double_t  eps = NR_EPSI 
)

Definition at line 910 of file vector.cpp.

nr_complex_t vector::get ( int  i)

Definition at line 176 of file vector.cpp.

strlist * vector::getDependencies ( void  )

Definition at line 135 of file vector.cpp.

Here is the caller graph for this function:

char * vector::getOrigin ( void  )

Definition at line 904 of file vector.cpp.

Here is the caller graph for this function:

int vector::getRequested ( void  )
inline

Definition at line 62 of file vector.h.

Here is the caller graph for this function:

int vector::getSize ( void  )

Definition at line 189 of file vector.cpp.

nr_double_t vector::maximum ( void  )

Definition at line 205 of file vector.cpp.

Here is the call graph for this function:

nr_double_t vector::minimum ( void  )

Definition at line 219 of file vector.cpp.

Here is the call graph for this function:

nr_complex_t vector::operator() ( int  i) const
inline

Definition at line 214 of file vector.h.

nr_complex_t& vector::operator() ( int  i)
inline

Definition at line 215 of file vector.h.

vector vector::operator*= ( vector  v)

Definition at line 734 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 741 of file vector.cpp.

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

Definition at line 746 of file vector.cpp.

vector vector::operator+= ( vector  v)

Definition at line 624 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 631 of file vector.cpp.

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

Definition at line 636 of file vector.cpp.

vector vector::operator- ( )

Definition at line 674 of file vector.cpp.

vector vector::operator-= ( vector  v)

Definition at line 680 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 687 of file vector.cpp.

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

Definition at line 692 of file vector.cpp.

vector vector::operator/= ( vector  v)

Definition at line 784 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 791 of file vector.cpp.

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

Definition at line 796 of file vector.cpp.

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

Definition at line 114 of file vector.cpp.

vector vector::operator= ( const nr_complex_t  c)

Definition at line 614 of file vector.cpp.

vector vector::operator= ( const nr_double_t  d)

Definition at line 619 of file vector.cpp.

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

Definition at line 888 of file vector.cpp.

nr_double_t vector::rms ( void  )

Definition at line 1051 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 180 of file vector.cpp.

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

Definition at line 184 of file vector.cpp.

void vector::setDependencies ( strlist s)

Definition at line 140 of file vector.cpp.

Here is the caller graph for this function:

void vector::setOrigin ( char *  n)

Definition at line 898 of file vector.cpp.

Here is the caller graph for this function:

void vector::setRequested ( int  n)
inline

Definition at line 63 of file vector.h.

Here is the caller graph for this function:

void vector::sort ( bool  ascending = true)

Definition at line 919 of file vector.cpp.

nr_double_t vector::stddev ( void  )

Definition at line 1065 of file vector.cpp.

Here is the call graph for this function:

nr_double_t vector::variance ( void  )

Definition at line 1056 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

vector abs ( vector  v)
friend

Definition at line 325 of file vector.cpp.

vector acos ( vector  v)
friend

Definition at line 457 of file vector.cpp.

vector acosh ( vector  v)
friend

Definition at line 511 of file vector.cpp.

vector acot ( vector  v)
friend

Definition at line 487 of file vector.cpp.

vector acoth ( vector  v)
friend

Definition at line 541 of file vector.cpp.

vector arg ( vector  v)
friend

Definition at line 337 of file vector.cpp.

vector asech ( vector  v)
friend

Definition at line 517 of file vector.cpp.

vector asin ( vector  v)
friend

Definition at line 451 of file vector.cpp.

vector asinh ( vector  v)
friend

Definition at line 499 of file vector.cpp.

vector atan ( vector  v)
friend

Definition at line 475 of file vector.cpp.

vector atan2 ( vector  v,
const nr_double_t  x 
)
friend

Definition at line 1147 of file vector.cpp.

vector atan2 ( const nr_double_t  y,
vector  v 
)
friend

Definition at line 1140 of file vector.cpp.

vector atan2 ( vector  y,
vector  x 
)
friend

Definition at line 1154 of file vector.cpp.

vector atanh ( vector  v)
friend

Definition at line 529 of file vector.cpp.

nr_complex_t avg ( vector  v)
friend

Definition at line 260 of file vector.cpp.

vector ceil ( vector  v)
friend

Definition at line 1007 of file vector.cpp.

vector conj ( vector  v)
friend

Definition at line 355 of file vector.cpp.

vector cos ( vector  v)
friend

Definition at line 463 of file vector.cpp.

vector cosh ( vector  v)
friend

Definition at line 505 of file vector.cpp.

vector cot ( vector  v)
friend

Definition at line 481 of file vector.cpp.

vector coth ( vector  v)
friend

Definition at line 535 of file vector.cpp.

vector cumavg ( vector  v)
friend

Definition at line 987 of file vector.cpp.

vector cumprod ( vector  v)
friend

Definition at line 997 of file vector.cpp.

vector cumsum ( vector  v)
friend

Definition at line 977 of file vector.cpp.

vector dB ( vector  v)
friend

Definition at line 361 of file vector.cpp.

vector dbm ( vector  v,
const nr_complex_t  z = 50.0 
)
friend

Definition at line 1200 of file vector.cpp.

vector dbm2w ( vector  v)
friend

Definition at line 1178 of file vector.cpp.

vector diff ( vector  var,
vector  dep,
int  n = 1 
)
friend

Definition at line 576 of file vector.cpp.

vector erf ( vector  v)
friend

Definition at line 1069 of file vector.cpp.

vector erfc ( vector  v)
friend

Definition at line 1075 of file vector.cpp.

vector erfcinv ( vector  v)
friend

Definition at line 1087 of file vector.cpp.

vector erfinv ( vector  v)
friend

Definition at line 1081 of file vector.cpp.

vector exp ( vector  v)
friend

Definition at line 374 of file vector.cpp.

vector fix ( vector  v)
friend

Definition at line 1013 of file vector.cpp.

vector floor ( vector  v)
friend

Definition at line 1019 of file vector.cpp.

vector i0 ( vector  v)
friend

Definition at line 1093 of file vector.cpp.

vector imag ( vector  v)
friend

Definition at line 349 of file vector.cpp.

nr_complex_t integrate ( vector  v,
const nr_complex_t  h 
)
friend

Definition at line 1192 of file vector.cpp.

nr_double_t integrate ( vector  v,
const nr_double_t  h 
)
friend

Definition at line 1185 of file vector.cpp.

vector jn ( const int  n,
vector  v 
)
friend

Definition at line 1099 of file vector.cpp.

vector limexp ( vector  v)
friend

Definition at line 380 of file vector.cpp.

vector log ( vector  v)
friend

Definition at line 386 of file vector.cpp.

vector log10 ( vector  v)
friend

Definition at line 392 of file vector.cpp.

vector log2 ( vector  v)
friend

Definition at line 398 of file vector.cpp.

vector norm ( vector  v)
friend

Definition at line 331 of file vector.cpp.

vector operator% ( vector  v1,
vector  v2 
)
friend

Definition at line 870 of file vector.cpp.

vector operator% ( vector  v,
const nr_complex_t  z 
)
friend

Definition at line 842 of file vector.cpp.

vector operator% ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 849 of file vector.cpp.

vector operator% ( const nr_complex_t  z,
vector  v 
)
friend

Definition at line 856 of file vector.cpp.

vector operator% ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 863 of file vector.cpp.

vector operator* ( vector  v1,
vector  v2 
)
friend

Definition at line 751 of file vector.cpp.

vector operator* ( vector  v,
const nr_complex_t  c 
)
friend

Definition at line 764 of file vector.cpp.

vector operator* ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 770 of file vector.cpp.

vector operator* ( const nr_complex_t  c,
vector  v 
)
friend

Definition at line 776 of file vector.cpp.

vector operator* ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 780 of file vector.cpp.

vector operator+ ( vector  v1,
vector  v2 
)
friend

Definition at line 641 of file vector.cpp.

vector operator+ ( vector  v,
const nr_complex_t  c 
)
friend

Definition at line 654 of file vector.cpp.

vector operator+ ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 664 of file vector.cpp.

vector operator+ ( const nr_complex_t  c,
vector  v 
)
friend

Definition at line 660 of file vector.cpp.

vector operator+ ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 670 of file vector.cpp.

vector operator- ( vector  v1,
vector  v2 
)
friend

Definition at line 697 of file vector.cpp.

vector operator- ( vector  v,
const nr_complex_t  c 
)
friend

Definition at line 710 of file vector.cpp.

vector operator- ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 716 of file vector.cpp.

vector operator- ( const nr_complex_t  c,
vector  v 
)
friend

Definition at line 722 of file vector.cpp.

vector operator- ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 728 of file vector.cpp.

vector operator/ ( vector  v1,
vector  v2 
)
friend

Definition at line 801 of file vector.cpp.

vector operator/ ( vector  v,
const nr_complex_t  c 
)
friend

Definition at line 816 of file vector.cpp.

vector operator/ ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 822 of file vector.cpp.

vector operator/ ( const nr_complex_t  c,
vector  v 
)
friend

Definition at line 828 of file vector.cpp.

vector operator/ ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 835 of file vector.cpp.

vector polar ( vector  v,
const nr_complex_t  p 
)
friend

Definition at line 1117 of file vector.cpp.

vector polar ( const nr_complex_t  a,
vector  v 
)
friend

Definition at line 1111 of file vector.cpp.

vector polar ( vector  a,
vector  p 
)
friend

Definition at line 1123 of file vector.cpp.

vector pow ( vector  v,
const nr_complex_t  z 
)
friend

Definition at line 404 of file vector.cpp.

vector pow ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 410 of file vector.cpp.

vector pow ( const nr_complex_t  z,
vector  v 
)
friend

Definition at line 416 of file vector.cpp.

vector pow ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 422 of file vector.cpp.

vector pow ( vector  v1,
vector  v2 
)
friend

Definition at line 428 of file vector.cpp.

nr_complex_t prod ( vector  v)
friend

Definition at line 254 of file vector.cpp.

vector real ( vector  v)
friend

Definition at line 343 of file vector.cpp.

vector round ( vector  v)
friend

Definition at line 1025 of file vector.cpp.

vector rtoy ( vector  v,
nr_complex_t  zref = 50.0 
)
friend

Definition at line 569 of file vector.cpp.

vector rtoz ( vector  v,
nr_complex_t  zref = 50.0 
)
friend

Definition at line 562 of file vector.cpp.

vector sign ( vector  v)
friend

Definition at line 272 of file vector.cpp.

vector signum ( vector  v)
friend

Definition at line 266 of file vector.cpp.

vector sin ( vector  v)
friend

Definition at line 445 of file vector.cpp.

vector sinc ( vector  v)
friend

Definition at line 319 of file vector.cpp.

vector sinh ( vector  v)
friend

Definition at line 493 of file vector.cpp.

vector sqr ( vector  v)
friend

Definition at line 1031 of file vector.cpp.

vector sqrt ( vector  v)
friend

Definition at line 368 of file vector.cpp.

vector step ( vector  v)
friend

Definition at line 1037 of file vector.cpp.

nr_complex_t sum ( vector  v)
friend

Definition at line 248 of file vector.cpp.

vector tan ( vector  v)
friend

Definition at line 469 of file vector.cpp.

vector tanh ( vector  v)
friend

Definition at line 523 of file vector.cpp.

vector unwrap ( vector  v,
nr_double_t  tol = M_PI,
nr_double_t  step = 2 * M_PI 
)
friend

Definition at line 232 of file vector.cpp.

vector w2dbm ( vector  v)
friend

Definition at line 1171 of file vector.cpp.

vector xhypot ( vector  v1,
vector  v2 
)
friend

Definition at line 302 of file vector.cpp.

vector xhypot ( vector  v,
const nr_complex_t  z 
)
friend

Definition at line 278 of file vector.cpp.

vector xhypot ( vector  v,
const nr_double_t  d 
)
friend

Definition at line 284 of file vector.cpp.

vector xhypot ( const nr_complex_t  z,
vector  v 
)
friend

Definition at line 290 of file vector.cpp.

vector xhypot ( const nr_double_t  d,
vector  v 
)
friend

Definition at line 296 of file vector.cpp.

vector yn ( const int  n,
vector  v 
)
friend

Definition at line 1105 of file vector.cpp.

vector ytor ( vector  v,
nr_complex_t  zref = 50.0 
)
friend

Definition at line 555 of file vector.cpp.

vector ztor ( vector  v,
nr_complex_t  zref = 50.0 
)
friend

Definition at line 548 of file vector.cpp.


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