47 class vector :
public object
54 vector (
const char *,
int);
61 void set (nr_double_t,
int);
73 void sort (
bool ascending =
true);
78 nr_double_t
rms (
void);
245 nr_double_t
integrate (vector
v,
const nr_double_t);
246 vector
real (vector);
247 vector
imag (vector);
248 vector
conj (vector);
249 vector
norm (vector);
253 vector
log2 (vector);
255 vector
pow (vector,
const nr_double_t);
257 vector
pow (
const nr_double_t, vector);
258 vector
pow (vector, vector);
263 vector
diff (vector, vector,
int n = 1);
267 vector
polar (vector, vector);
268 vector
atan2 (vector,
const nr_double_t);
269 vector
atan2 (
const nr_double_t, vector);
270 vector
atan2 (vector, vector);
271 vector
dbm2w (vector);
272 vector
w2dbm (vector);
273 vector
xhypot (vector, vector);
275 vector
xhypot (vector,
const nr_double_t);
277 vector
xhypot (
const nr_double_t, vector);
279 vector
log10 (vector);
282 vector
sqrt (vector);
284 vector
asin (vector);
286 vector
acos (vector);
288 vector
atan (vector);
290 vector
acot (vector);
291 vector
sinh (vector);
292 vector
asinh (vector);
293 vector
cosh (vector);
294 vector
sech (vector);
296 vector
acosh (vector);
297 vector
asech (vector);
298 vector
tanh (vector);
299 vector
atanh (vector);
300 vector
coth (vector);
301 vector
acoth (vector);
303 vector
sign (vector);
304 vector
sinc (vector);
305 vector
ceil (vector);
306 vector
floor (vector);
308 vector
round (vector);
310 vector
step (vector);
311 vector
jn (
const int, vector);
312 vector
yn (
const int, vector);
315 vector
erfc (vector);
friend vector diff(vector, vector, int)
std::complex< nr_double_t > nr_complex_t
friend vector round(vector)
friend vector tanh(vector)
friend vector operator%(vector, vector)
matrix real(matrix a)
Real part matrix.
matrix abs(matrix a)
Computes magnitude of each matrix element.
nr_complex_t erf(const nr_complex_t z)
Error function.
friend vector norm(vector)
friend nr_complex_t prod(vector)
friend vector asin(vector)
nr_complex_t ceil(const nr_complex_t z)
Complex ceil Ceil is the smallest integral value not less than argument Apply ceil to real and imagin...
friend vector log10(vector)
nr_complex_t coth(const nr_complex_t z)
Compute complex hyperbolic cotangent.
qucs::vector runavg(qucs::vector, const int)
nr_complex_t pow(const nr_complex_t z, const nr_double_t d)
Compute power function with real exponent.
friend vector cumsum(vector)
friend vector dbm(vector, const nr_complex_t)
friend vector ztor(vector, nr_complex_t)
nr_complex_t cos(const nr_complex_t z)
Compute complex cosine.
void sort(bool ascending=true)
friend vector sqrt(vector)
friend vector acot(vector)
nr_complex_t step(const nr_complex_t z)
Heaviside step function for complex number.
friend vector sqr(vector)
friend vector arg(vector)
nr_complex_t signum(const nr_complex_t z)
complex signum function
friend vector atanh(vector)
qucs::vector logspace(nr_double_t, nr_double_t, int)
friend vector log2(vector)
friend vector sin(vector)
nr_complex_t atan(const nr_complex_t z)
Compute complex arc tangent.
nr_complex_t cot(const nr_complex_t z)
Compute complex cotangent.
nr_complex_t asech(const nr_complex_t z)
Compute complex argument hyperbolic secant.
friend vector sech(vector)
friend nr_complex_t sum(vector)
friend vector tan(vector)
friend vector atan2(vector, const nr_double_t)
nr_complex_t acot(const nr_complex_t z)
Compute complex arc cotangent.
friend vector acoth(vector)
friend vector operator/(vector, vector)
nr_complex_t acosh(const nr_complex_t z)
Compute complex arc hyperbolic cosine.
nr_complex_t rtoz(const nr_complex_t r, nr_complex_t zref)
Converts reflexion coefficient to impedance.
friend vector log(vector)
nr_complex_t sign(const nr_complex_t z)
complex sign function
friend vector coth(vector)
friend vector floor(vector)
int checkSizes(vector, vector)
friend vector asech(vector)
nr_complex_t asinh(const nr_complex_t z)
Compute complex arc hyperbolic sine.
friend vector conj(vector)
nr_complex_t cosh(const nr_complex_t z)
Compute complex hyperbolic cosine.
vector operator/=(vector)
friend vector acosh(vector)
void setDependencies(strlist *)
friend nr_complex_t avg(vector)
nr_complex_t sqr(const nr_complex_t z)
Square of complex number.
friend vector real(vector)
matrix imag(matrix a)
Imaginary part matrix.
vector operator*=(vector)
nr_complex_t fix(const nr_complex_t z)
Complex fix.
nr_complex_t sqrt(const nr_complex_t z)
Compute principal value of square root.
nr_double_t xhypot(const nr_complex_t a, const nr_complex_t b)
Euclidean distance function for complex argument.
nr_double_t variance(void)
nr_complex_t acos(const nr_complex_t z)
Compute complex arc cosine.
nr_complex_t log2(const nr_complex_t z)
Compute principal value of binary logarithm of z.
nr_complex_t cosech(const nr_complex_t z)
Compute complex argument hyperbolic cosec.
nr_complex_t yn(const int n, const nr_complex_t z)
Bessel function of second kind.
nr_complex_t tanh(const nr_complex_t z)
Compute complex hyperbolic tangent.
nr_complex_t sin(const nr_complex_t z)
Compute complex sine.
const vector & operator=(const vector &)
friend vector erfcinv(vector)
nr_complex_t ztor(const nr_complex_t z, nr_complex_t zref)
Converts impedance to reflexion coefficient.
nr_double_t dB(const nr_complex_t z)
Magnitude in dB Compute .
nr_complex_t asin(const nr_complex_t z)
Compute complex arc sine.
friend vector imag(vector)
friend vector atan(vector)
nr_double_t maximum(void)
friend vector fix(vector)
nr_complex_t acoth(const nr_complex_t z)
Compute complex argument hyperbolic cotangent.
qucs::vector linspace(nr_double_t, nr_double_t, int)
Global math constants header file.
vector operator+=(vector)
void set(nr_double_t, int)
friend vector cot(vector)
nr_complex_t log10(const nr_complex_t z)
Compute principal value of decimal logarithm of z.
nr_complex_t floor(const nr_complex_t z)
Complex floor.
nr_complex_t sech(const nr_complex_t z)
Compute complex hyperbolic secant.
friend vector erf(vector)
friend vector w2dbm(vector)
friend vector abs(vector)
friend vector operator*(vector, vector)
nr_complex_t integrate(vector v, const nr_complex_t)
friend vector polar(vector, const nr_complex_t)
friend vector dbm2w(vector)
nr_complex_t erfc(const nr_complex_t z)
Complementart error function.
friend vector operator+(vector, vector)
#define M_PI
Archimedes' constant ( )
vector operator-=(vector)
nr_complex_t ytor(const nr_complex_t y, nr_complex_t zref)
Converts admittance to reflexion coefficient.
nr_complex_t operator()(int i) const
nr_complex_t erfinv(const nr_complex_t z)
Inverse of error function.
friend vector cosh(vector)
friend vector acos(vector)
vector diff(vector, vector, int n=1)
nr_complex_t rtoy(const nr_complex_t r, nr_complex_t zref)
Converts reflexion coefficient to admittance.
int contains(nr_complex_t, nr_double_t eps=NR_EPSI)
nr_complex_t i0(const nr_complex_t z)
Modified Bessel function of first kind.
nr_complex_t atan2(const nr_complex_t y, const nr_complex_t x)
Compute complex arc tangent fortran like function.
friend nr_complex_t integrate(vector v, const nr_complex_t)
nr_complex_t sinc(const nr_complex_t z)
Cardinal sine.
nr_complex_t erfcinv(const nr_complex_t z)
Inverse of complementart error function.
nr_complex_t limexp(const nr_complex_t z)
Compute limited complex exponential.
friend vector pow(vector, const nr_complex_t)
friend vector limexp(vector)
friend vector sinh(vector)
nr_double_t norm(const nr_complex_t z)
Compute euclidian norm of complex number.
nr_complex_t sinh(const nr_complex_t z)
Compute complex hyperbolic sine.
nr_complex_t jn(const int n, const nr_complex_t z)
Bessel function of first kind.
friend vector cumprod(vector)
friend vector ytor(vector, nr_complex_t)
nr_complex_t tan(const nr_complex_t z)
Compute complex tangent.
nr_complex_t exp(const nr_complex_t z)
Compute complex exponential.
nr_complex_t polar(const nr_double_t mag, const nr_double_t ang)
Construct a complex number using polar notation.
matrix conj(matrix a)
Conjugate complex matrix.
nr_complex_t prod(vector)
friend vector sign(vector)
friend vector erfinv(vector)
friend vector cosech(vector)
friend vector sinc(vector)
friend vector rtoz(vector, nr_complex_t)
nr_double_t minimum(void)
friend vector yn(const int, vector)
friend vector rtoy(vector, nr_complex_t)
vector dbm(vector, const nr_complex_t z=50.0)
nr_complex_t log(const nr_complex_t z)
Compute principal value of natural logarithm of z.
friend vector signum(vector)
friend vector asinh(vector)
strlist * getDependencies(void)
nr_complex_t round(const nr_complex_t z)
Complex round Round is the nearest integral value Apply round to real and imaginary part...
friend vector jn(const int, vector)
friend vector ceil(vector)
friend vector cos(vector)
matrix arg(matrix a)
Computes the argument of each matrix element.
friend vector cumavg(vector)
friend vector exp(vector)
friend vector step(vector)
nr_complex_t atanh(const nr_complex_t z)
Compute complex arc hyperbolic tangent.
friend vector unwrap(vector, nr_double_t, nr_double_t)
friend vector erfc(vector)
vector unwrap(vector, nr_double_t tol=M_PI, nr_double_t step=2 *M_PI)
friend vector xhypot(vector, vector)