My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
vector.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include <assert.h>
#include "complex.h"
#include "object.h"
#include "logging.h"
#include "strlist.h"
#include "vector.h"
#include "consts.h"
Include dependency graph for vector.cpp:

Go to the source code of this file.

Functions

vector unwrap (vector v, nr_double_t tol, nr_double_t step)
 
nr_complex_t sum (vector v)
 
nr_complex_t prod (vector v)
 
nr_complex_t avg (vector v)
 
vector signum (vector v)
 
vector sign (vector v)
 
vector xhypot (vector v, const nr_complex_t z)
 
vector xhypot (vector v, const nr_double_t d)
 
vector xhypot (const nr_complex_t z, vector v)
 
vector xhypot (const nr_double_t d, vector v)
 
vector xhypot (vector v1, vector v2)
 
vector sinc (vector v)
 
vector abs (vector v)
 
vector norm (vector v)
 
vector arg (vector v)
 
vector real (vector v)
 
vector imag (vector v)
 
vector conj (vector v)
 
vector dB (vector v)
 
vector sqrt (vector v)
 
vector exp (vector v)
 
vector limexp (vector v)
 
vector log (vector v)
 
vector log10 (vector v)
 
vector log2 (vector v)
 
vector pow (vector v, const nr_complex_t z)
 
vector pow (vector v, const nr_double_t d)
 
vector pow (const nr_complex_t z, vector v)
 
vector pow (const nr_double_t d, vector v)
 
vector pow (vector v1, vector v2)
 
vector sin (vector v)
 
vector asin (vector v)
 
vector acos (vector v)
 
vector cos (vector v)
 
vector tan (vector v)
 
vector atan (vector v)
 
vector cot (vector v)
 
vector acot (vector v)
 
vector sinh (vector v)
 
vector asinh (vector v)
 
vector cosh (vector v)
 
vector acosh (vector v)
 
vector asech (vector v)
 
vector tanh (vector v)
 
vector atanh (vector v)
 
vector coth (vector v)
 
vector acoth (vector v)
 
vector ztor (vector v, nr_complex_t zref)
 
vector ytor (vector v, nr_complex_t zref)
 
vector rtoz (vector v, nr_complex_t zref)
 
vector rtoy (vector v, nr_complex_t zref)
 
vector diff (vector var, vector dep, int n)
 
vector operator+ (vector v1, vector v2)
 
vector operator+ (vector v, const nr_complex_t c)
 
vector operator+ (const nr_complex_t c, vector v)
 
vector operator+ (vector v, const nr_double_t d)
 
vector operator+ (const nr_double_t d, vector v)
 
vector operator- (vector v1, vector v2)
 
vector operator- (vector v, const nr_complex_t c)
 
vector operator- (vector v, const nr_double_t d)
 
vector operator- (const nr_complex_t c, vector v)
 
vector operator- (const nr_double_t d, vector v)
 
vector operator* (vector v1, vector v2)
 
vector operator* (vector v, const nr_complex_t c)
 
vector operator* (vector v, const nr_double_t d)
 
vector operator* (const nr_complex_t c, vector v)
 
vector operator* (const nr_double_t d, vector v)
 
vector operator/ (vector v1, vector v2)
 
vector operator/ (vector v, const nr_complex_t c)
 
vector operator/ (vector v, const nr_double_t d)
 
vector operator/ (const nr_complex_t c, vector v)
 
vector operator/ (const nr_double_t d, vector v)
 
vector operator% (vector v, const nr_complex_t z)
 
vector operator% (vector v, const nr_double_t d)
 
vector operator% (const nr_complex_t z, vector v)
 
vector operator% (const nr_double_t d, vector v)
 
vector operator% (vector v1, vector v2)
 
vector linspace (nr_double_t start, nr_double_t stop, int points)
 
vector logspace (nr_double_t start, nr_double_t stop, int points)
 
vector cumsum (vector v)
 
vector cumavg (vector v)
 
vector cumprod (vector v)
 
vector ceil (vector v)
 
vector fix (vector v)
 
vector floor (vector v)
 
vector round (vector v)
 
vector sqr (vector v)
 
vector step (vector v)
 
vector erf (vector v)
 
vector erfc (vector v)
 
vector erfinv (vector v)
 
vector erfcinv (vector v)
 
vector i0 (vector v)
 
vector jn (const int n, vector v)
 
vector yn (const int n, vector v)
 
vector polar (const nr_complex_t a, vector v)
 
vector polar (vector v, const nr_complex_t p)
 
vector polar (vector a, vector p)
 
vector atan2 (const nr_double_t y, vector v)
 
vector atan2 (vector v, const nr_double_t x)
 
vector atan2 (vector y, vector x)
 
vector w2dbm (vector v)
 
vector dbm2w (vector v)
 
nr_double_t integrate (vector v, const nr_double_t h)
 
nr_complex_t integrate (vector v, const nr_complex_t h)
 
vector dbm (vector v, const nr_complex_t z)
 
vector runavg (const nr_complex_t x, const int n)
 
vector runavg (vector v, const int n)
 

Function Documentation

vector abs ( vector  v)

Definition at line 325 of file vector.cpp.

Here is the call graph for this function:

vector acos ( vector  v)

Definition at line 457 of file vector.cpp.

Here is the call graph for this function:

vector acosh ( vector  v)

Definition at line 511 of file vector.cpp.

Here is the call graph for this function:

vector acot ( vector  v)

Definition at line 487 of file vector.cpp.

Here is the call graph for this function:

vector acoth ( vector  v)

Definition at line 541 of file vector.cpp.

Here is the call graph for this function:

vector arg ( vector  v)

Definition at line 337 of file vector.cpp.

Here is the call graph for this function:

vector asech ( vector  v)

Definition at line 517 of file vector.cpp.

Here is the call graph for this function:

vector asin ( vector  v)

Definition at line 451 of file vector.cpp.

Here is the call graph for this function:

vector asinh ( vector  v)

Definition at line 499 of file vector.cpp.

Here is the call graph for this function:

vector atan ( vector  v)

Definition at line 475 of file vector.cpp.

Here is the call graph for this function:

vector atan2 ( const nr_double_t  y,
vector  v 
)

Definition at line 1140 of file vector.cpp.

Here is the call graph for this function:

vector atan2 ( vector  v,
const nr_double_t  x 
)

Definition at line 1147 of file vector.cpp.

Here is the call graph for this function:

vector atan2 ( vector  y,
vector  x 
)

Definition at line 1154 of file vector.cpp.

Here is the call graph for this function:

vector atanh ( vector  v)

Definition at line 529 of file vector.cpp.

Here is the call graph for this function:

nr_complex_t avg ( vector  v)

Definition at line 260 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector ceil ( vector  v)

Definition at line 1007 of file vector.cpp.

Here is the call graph for this function:

vector conj ( vector  v)

Definition at line 355 of file vector.cpp.

Here is the call graph for this function:

vector cos ( vector  v)

Definition at line 463 of file vector.cpp.

Here is the call graph for this function:

vector cosh ( vector  v)

Definition at line 505 of file vector.cpp.

Here is the call graph for this function:

vector cot ( vector  v)

Definition at line 481 of file vector.cpp.

Here is the call graph for this function:

vector coth ( vector  v)

Definition at line 535 of file vector.cpp.

Here is the call graph for this function:

vector cumavg ( vector  v)

Definition at line 987 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector cumprod ( vector  v)

Definition at line 997 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector cumsum ( vector  v)

Definition at line 977 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector dB ( vector  v)

Definition at line 361 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 1200 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector dbm2w ( vector  v)

Definition at line 1178 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 576 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector erf ( vector  v)

Definition at line 1069 of file vector.cpp.

Here is the call graph for this function:

vector erfc ( vector  v)

Definition at line 1075 of file vector.cpp.

Here is the call graph for this function:

vector erfcinv ( vector  v)

Definition at line 1087 of file vector.cpp.

Here is the call graph for this function:

vector erfinv ( vector  v)

Definition at line 1081 of file vector.cpp.

Here is the call graph for this function:

vector exp ( vector  v)

Definition at line 374 of file vector.cpp.

Here is the call graph for this function:

vector fix ( vector  v)

Definition at line 1013 of file vector.cpp.

Here is the call graph for this function:

vector floor ( vector  v)

Definition at line 1019 of file vector.cpp.

Here is the call graph for this function:

vector i0 ( vector  v)

Definition at line 1093 of file vector.cpp.

Here is the call graph for this function:

vector imag ( vector  v)

Definition at line 349 of file vector.cpp.

Here is the call graph for this function:

nr_double_t integrate ( vector  v,
const nr_double_t  h 
)

Definition at line 1185 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nr_complex_t integrate ( vector  v,
const nr_complex_t  h 
)

Definition at line 1192 of file vector.cpp.

Here is the call graph for this function:

vector jn ( const int  n,
vector  v 
)

Definition at line 1099 of file vector.cpp.

Here is the call graph for this function:

vector limexp ( vector  v)

Definition at line 380 of file vector.cpp.

Here is the call graph for this function:

vector linspace ( nr_double_t  start,
nr_double_t  stop,
int  points 
)

Definition at line 935 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector log ( vector  v)

Definition at line 386 of file vector.cpp.

Here is the call graph for this function:

vector log10 ( vector  v)

Definition at line 392 of file vector.cpp.

Here is the call graph for this function:

vector log2 ( vector  v)

Definition at line 398 of file vector.cpp.

Here is the call graph for this function:

vector logspace ( nr_double_t  start,
nr_double_t  stop,
int  points 
)

Definition at line 950 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector norm ( vector  v)

Definition at line 331 of file vector.cpp.

Here is the call graph for this function:

vector operator% ( vector  v,
const nr_complex_t  z 
)

Definition at line 842 of file vector.cpp.

Here is the call graph for this function:

vector operator% ( vector  v,
const nr_double_t  d 
)

Definition at line 849 of file vector.cpp.

Here is the call graph for this function:

vector operator% ( const nr_complex_t  z,
vector  v 
)

Definition at line 856 of file vector.cpp.

Here is the call graph for this function:

vector operator% ( const nr_double_t  d,
vector  v 
)

Definition at line 863 of file vector.cpp.

Here is the call graph for this function:

vector operator% ( vector  v1,
vector  v2 
)

Definition at line 870 of file vector.cpp.

Here is the call graph for this function:

vector operator* ( vector  v1,
vector  v2 
)

Definition at line 751 of file vector.cpp.

Here is the call graph for this function:

vector operator* ( vector  v,
const nr_complex_t  c 
)

Definition at line 764 of file vector.cpp.

vector operator* ( vector  v,
const nr_double_t  d 
)

Definition at line 770 of file vector.cpp.

vector operator* ( const nr_complex_t  c,
vector  v 
)

Definition at line 776 of file vector.cpp.

vector operator* ( const nr_double_t  d,
vector  v 
)

Definition at line 780 of file vector.cpp.

vector operator+ ( vector  v1,
vector  v2 
)

Definition at line 641 of file vector.cpp.

Here is the call graph for this function:

vector operator+ ( vector  v,
const nr_complex_t  c 
)

Definition at line 654 of file vector.cpp.

vector operator+ ( const nr_complex_t  c,
vector  v 
)

Definition at line 660 of file vector.cpp.

vector operator+ ( vector  v,
const nr_double_t  d 
)

Definition at line 664 of file vector.cpp.

vector operator+ ( const nr_double_t  d,
vector  v 
)

Definition at line 670 of file vector.cpp.

vector operator- ( vector  v1,
vector  v2 
)

Definition at line 697 of file vector.cpp.

Here is the call graph for this function:

vector operator- ( vector  v,
const nr_complex_t  c 
)

Definition at line 710 of file vector.cpp.

vector operator- ( vector  v,
const nr_double_t  d 
)

Definition at line 716 of file vector.cpp.

vector operator- ( const nr_complex_t  c,
vector  v 
)

Definition at line 722 of file vector.cpp.

vector operator- ( const nr_double_t  d,
vector  v 
)

Definition at line 728 of file vector.cpp.

vector operator/ ( vector  v1,
vector  v2 
)

Definition at line 801 of file vector.cpp.

Here is the call graph for this function:

vector operator/ ( vector  v,
const nr_complex_t  c 
)

Definition at line 816 of file vector.cpp.

vector operator/ ( vector  v,
const nr_double_t  d 
)

Definition at line 822 of file vector.cpp.

vector operator/ ( const nr_complex_t  c,
vector  v 
)

Definition at line 828 of file vector.cpp.

vector operator/ ( const nr_double_t  d,
vector  v 
)

Definition at line 835 of file vector.cpp.

vector polar ( const nr_complex_t  a,
vector  v 
)

Definition at line 1111 of file vector.cpp.

Here is the call graph for this function:

vector polar ( vector  v,
const nr_complex_t  p 
)

Definition at line 1117 of file vector.cpp.

Here is the call graph for this function:

vector polar ( vector  a,
vector  p 
)

Definition at line 1123 of file vector.cpp.

Here is the call graph for this function:

vector pow ( vector  v,
const nr_complex_t  z 
)

Definition at line 404 of file vector.cpp.

Here is the call graph for this function:

vector pow ( vector  v,
const nr_double_t  d 
)

Definition at line 410 of file vector.cpp.

Here is the call graph for this function:

vector pow ( const nr_complex_t  z,
vector  v 
)

Definition at line 416 of file vector.cpp.

Here is the call graph for this function:

vector pow ( const nr_double_t  d,
vector  v 
)

Definition at line 422 of file vector.cpp.

Here is the call graph for this function:

vector pow ( vector  v1,
vector  v2 
)

Definition at line 428 of file vector.cpp.

Here is the call graph for this function:

nr_complex_t prod ( vector  v)

Definition at line 254 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector real ( vector  v)

Definition at line 343 of file vector.cpp.

Here is the call graph for this function:

vector round ( vector  v)

Definition at line 1025 of file vector.cpp.

Here is the call graph for this function:

vector rtoy ( vector  v,
nr_complex_t  zref = 50.0 
)

Definition at line 569 of file vector.cpp.

Here is the call graph for this function:

vector rtoz ( vector  v,
nr_complex_t  zref = 50.0 
)

Definition at line 562 of file vector.cpp.

Here is the call graph for this function:

vector runavg ( const nr_complex_t  x,
const int  n 
)

Definition at line 1207 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector runavg ( vector  v,
const int  n 
)

Definition at line 1213 of file vector.cpp.

Here is the call graph for this function:

vector sign ( vector  v)

Definition at line 272 of file vector.cpp.

Here is the call graph for this function:

vector signum ( vector  v)

Definition at line 266 of file vector.cpp.

Here is the call graph for this function:

vector sin ( vector  v)

Definition at line 445 of file vector.cpp.

Here is the call graph for this function:

vector sinc ( vector  v)

Definition at line 319 of file vector.cpp.

Here is the call graph for this function:

vector sinh ( vector  v)

Definition at line 493 of file vector.cpp.

Here is the call graph for this function:

vector sqr ( vector  v)

Definition at line 1031 of file vector.cpp.

Here is the call graph for this function:

vector sqrt ( vector  v)

Definition at line 368 of file vector.cpp.

Here is the call graph for this function:

vector step ( vector  v)

Definition at line 1037 of file vector.cpp.

Here is the call graph for this function:

nr_complex_t sum ( vector  v)

Definition at line 248 of file vector.cpp.

Here is the call graph for this function:

vector tan ( vector  v)

Definition at line 469 of file vector.cpp.

Here is the call graph for this function:

vector tanh ( vector  v)

Definition at line 523 of file vector.cpp.

Here is the call graph for this function:

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

Definition at line 232 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector w2dbm ( vector  v)

Definition at line 1171 of file vector.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

vector xhypot ( vector  v,
const nr_complex_t  z 
)

Definition at line 278 of file vector.cpp.

Here is the call graph for this function:

vector xhypot ( vector  v,
const nr_double_t  d 
)

Definition at line 284 of file vector.cpp.

Here is the call graph for this function:

vector xhypot ( const nr_complex_t  z,
vector  v 
)

Definition at line 290 of file vector.cpp.

Here is the call graph for this function:

vector xhypot ( const nr_double_t  d,
vector  v 
)

Definition at line 296 of file vector.cpp.

Here is the call graph for this function:

vector xhypot ( vector  v1,
vector  v2 
)

Definition at line 302 of file vector.cpp.

Here is the call graph for this function:

vector yn ( const int  n,
vector  v 
)

Definition at line 1105 of file vector.cpp.

Here is the call graph for this function:

vector ytor ( vector  v,
nr_complex_t  zref = 50.0 
)

Definition at line 555 of file vector.cpp.

Here is the call graph for this function:

vector ztor ( vector  v,
nr_complex_t  zref = 50.0 
)

Definition at line 548 of file vector.cpp.

Here is the call graph for this function: