dspl.h File Reference

DSPL header file. More...

#include <math.h>

Go to the source code of this file.

Functions

int dspl_acos_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Inverse sine of a complex arguments. More...
 
int dspl_ap2bpass (double *b, double *a, int n, double wp0, double wp1, double *beta, double *alpha)
 Analog low-pass prototype frequency transformation to a band-pass filter with [wp0 ... wp1] pass-band. More...
 
int dspl_ap2bstop (double *b, double *a, int n, double ws0, double ws1, double *beta, double *alpha)
 Analog low-pass prototype frequency transformation to a band-stop filter with [wp0 ... wp1] stop-band. More...
 
int dspl_ap2high (double *b, double *a, int n, double wp, double *beta, double *alpha)
 Analog low-pass prototype frequency transformation to a high-pass filter with wp cutoff. More...
 
int dspl_ap2low (double *b, double *a, int n, double wp, double *beta, double *alpha)
 Analog low-pass prototype frequency transformation to a low-pass filter with wp cutoff. More...
 
int dspl_asin_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Inverse sine of a complex arguments. More...
 
double dspl_asinh (double x)
 Inverse hyperbolic sine of real argument. More...
 
int dspl_butter_ap (double Rp, int ord, double *b, double *a)
 Analog Butterworth filter prototype. More...
 
int dspl_cheby1_ap (double Rp, int ord, double *b, double *a)
 Analog Chebyshev type 1 filter prototype. More...
 
int dspl_cheby2_ap (double Rs, int ord, double *b, double *a)
 Analog Chebyshev type 2 filter prototype. More...
 
int dspl_conv (double *a, int na, double *b, int nb, double *c)
 Linear convolution for real input vectors. More...
 
int dspl_conv_cmplx (double *aR, double *aI, int na, double *bR, double *bI, int nb, double *cR, double *cI)
 Linear convolution for real input vectors. More...
 
int dspl_cos_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Cosine of complex arguments. More...
 
double dspl_cosh (double x)
 Hyperbolic cosine of real argument. More...
 
int dspl_dft (double *xR, double *xI, int n, double *yR, double *yI)
 Discrete Fourier Transform. More...
 
int dspl_ellip_cd_cmplx (double *uR, double *uI, int nu, double k, double *cdR, double *cdI)
 Jacobian elliptic function \( \operatorname{cd}(u \cdot K(k), k)\) of a real or complex vector argument \( u\). More...
 
int dspl_ellip_sn_cmplx (double *uR, double *uI, int nu, double k, double *snR, double *snI)
 Jacobian elliptic function \( \operatorname{sn}(u \cdot K(k), k)\) of a real or complex vector argument \( u\). More...
 
int dspl_ellipk (double *pk, int k, double *pK)
 
int dspl_fft (double *xR, double *xI, int n, void *pdspl, double *yR, double *yI)
 Fast Fourier Transform. More...
 
int dspl_filter_iir (double *b, double *a, int ord, double *x, int n, double *y)
 IIR filter output for real filter coefficients and real signals. More...
 
int dspl_freqs (double *b, double *a, int ord, double *w, int n, double *hR, double *hI)
 Analog filter frequency response \( H(j \omega)\) calculation. More...
 
int dspl_freqz (double *b, double *a, int ord, double *w, int n, double *hR, double *hI)
 Digital filter frequency response \( H \left(e^{j \omega} \right)\) calculation. More...
 
int dspl_freqz_resp (double *b, double *a, int ord, double *w, int n, double *h, double *phi, double *gd)
 Расчет амплитудно-частотной (АЧХ), фазочастотной характеристик (ФЧХ), а также группового времени запаздывания (ГВЗ) цифрового фильтра. More...
 
int dspl_get_version (int printFlag)
 Get DSPL version. More...
 
int dspl_goertzel (double *xR, double *xI, int n, int *ind, int k, double *yR, double *yI)
 Goertzel algorithm of discrete Fourier transform. More...
 
int dspl_hilbert (double *x, int n, void *pdspl, double *y)
 Analytic extension y of real valued signal x calculation by using Hilbert transform. More...
 
int dspl_histogram (double *x, int n, int nh, double *pedges, double *ph)
 Расчет гистограммы распределения случайной величины More...
 
int dspl_histogram_norm (double *y, int n, int nh, double *x, double *w)
 Расчет нормированной гистограммы распределения случайной величины More...
 
int dspl_ifft (double *xR, double *xI, int n, void *pdspl, double *yR, double *yI)
 Inverse Fast Fourier Transform. This function calculates IFFT by using Cooley - Tukey decimation in time algorithm. More...
 
int dspl_linspace (double x0, double x1, int n, int type, double *x)
 Linspace filling of the array x from x0 to x1 More...
 
int dspl_log_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Logarithm of complex arguments. More...
 
int dspl_logspace (double x0, double x1, int n, int type, double *x)
 Logspace filling of the array x from 10^x0 to 10^x1 More...
 
int dspl_minmax (double *x, int n, double *xmin, double *xmax)
 Поиск минимального и максимального значения. More...
 
int dspl_obj_create (void **obj)
 
int dspl_obj_free (void **obj)
 
int dspl_polyval (double *a, int ord, double *x, int n, double *y)
 Real polynomial calculation. More...
 
int dspl_polyval_cmplx (double *aR, double *aI, int ord, double *xR, double *xI, int n, double *yR, double *yI)
 Complex values polynomial calculation. More...
 
int dspl_pwelch (double *xR, double *xI, int n, int win_type, double win_param, int npsd, int noverlap, void *pdspl, double fs, double *ppsd, double *pfrq)
 
int dspl_rand (double *x, int n)
 Uniform pseudo-random number generation. This function generates Uniform pseudo-random number by using L'Ecluyer algorithm. Pseudo-random numbers period is 10^56. More...
 
int dspl_randn (double *x, int n, double mu, double sigma)
 Normally distributed pseudo-random number generation. More...
 
int dspl_resample_lagrange (double *x, int n, int p, int q, double frd, double **y, int *ny)
 Real signal digital resampling by using polynomial Lagrange interpolation. More...
 
int dspl_resample_spline (double *s, int n, int p, int q, double frd, double **y, int *ny)
 Real signal digital resampling by using polynomial spline interpolation. More...
 
int dspl_sin_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Sine of complex arguments. More...
 
double dspl_sinh (double x)
 Hyperbolic sine of real argument. More...
 
int dspl_sqrt_cmplx (double *xR, double *xI, int n, double *yR, double *yI)
 Square root of complex arguments. More...
 
int dspl_unwrap (double *phi, int n, double lev, double mar)
 Раскрытие периодичности арктангенса при расчете фазо-частотной характеристики. More...
 
int dspl_window (double *w, int n, int win_type, double param)
 Window function calculation. More...
 
int dspl_writebin (double *x, double *y, int n, char *fn)
 Save real or complex вектор to a bin-file fn More...
 
int dspl_writetxt (double *x, double *y, int n, char *fn)
 Save data to text file. More...
 

Detailed Description

DSPL header file.


Select spelling error with your mouse and press
Description(not nessesary)
Close X