added doc for randu

modified:   dspl/dox/ru/randgen.dox
	modified:   examples/src/dspl_info_test.c
	new file:   examples/src/randu_accuracy_test.c
	new file:   examples/src/randu_test.c
	modified:   ide/codeblocks/blas.depend
	modified:   ide/codeblocks/dspl.depend
	modified:   ide/codeblocks/dspl.workspace.layout
	modified:   ide/codeblocks/examples.depend
	modified:   ide/codeblocks/lapack_complex.depend
	modified:   ide/codeblocks/lapack_double.depend
pull/6/merge
Dsplib 2020-04-28 21:14:48 +03:00
rodzic 8a3a2e904f
commit 22a4dced8a
10 zmienionych plików z 796 dodań i 264 usunięć

Wyświetl plik

@ -83,7 +83,7 @@ RAND_TYPE_MT19937 - 64-битный датчик MT19937-64
`unsigned long long`:
\code
random_t rnd = {0};
unsigned long long = 1234353456;
unsigned long long seed = 1234353456;
random_init(&rnd, RAND_TYPE_MT19937, (void*)&seed);
\endcode
При фиксированном начальном значении датчика, псевдослучайные числа будут
@ -102,50 +102,6 @@ www.dsplib.org
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randn(double* x, int n, double mu, double sigma)
\brief
Генерация вектора нормально распределенных псевдослучайных чисел с
заданным математическим ожиданием и среднеквадратичным отклонением.
Генерация производится при помощи преобразования Бокса — Мюллера равномерно-распределенной
случайной величины в нормально распределенную. \n
\param[in,out] x
Указатель на вектор нормальной распределенных случайных чисел. \n
Размер вектора `[n x 1]`. \n
Память должна быть выделена. \n
\n
\param[in] n
Размер вектора случайных чисел. \n
\n
\param[in] mu
Математическое ожидание. \n
\n
\param[in] sigma
Среднеквадратичное отклонение (СКО). \n
\n
\return
`RES_OK` --- вектор случайных чисел рассчитан успешно. \n
В противном случае \ref ERROR_CODE_GROUP "код ошибки".
\author
Бахурин Сергей.
www.dsplib.org
***************************************************************************** */
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randu(double* x, int n, random_t* prnd)
@ -176,6 +132,38 @@ www.dsplib.org
псевдослучайных чисел рассчитан успешно. \n
В противном случае \ref ERROR_CODE_GROUP "код ошибки".
Пример использования функции с различными датчиками псевдослучайных чисел
приведен в следующем листинге:
\include randu_test.c
Программа рассчитывает независимые векторы равномерно-распределенных
от 0 до 1 псевдослучайных чисел и выводит их на график для трех различных
датчиков: MRG32K3A, MT19937-64 и встроенный датчик, определенный
стандартом языка Си.
В результате выполнения программы можно увидеть график:
\image html randu_test.png
Однако при детальном исследовании датчиков, можно обнаружить, что встроенный
датчик, определенный стандартом языка Си,
выдает значения на фиксированной сетке.
Чтобы проверить это можно выполнить следующую программу:
\include randu_accuracy_test.c
Данная программа аккумулирует только значения датчиков в интервале
от 0 до 0.001 и выводит их на график:
\image html randu_acc_test.png
Из графика хорошо видно, что данные встроенного датчика выдаются на
равноотстоящей сетке значений, в отличии от датчиков MRG32K3A и MT19937-64,
которые сохранили псевдослучайный характер.
\author
Бахурин Сергей.
www.dsplib.org

Wyświetl plik

@ -1,17 +1,131 @@
#include <stdio.h>
#include <stdlib.h>
#include "dspl.h"
int main()
{
void* handle; /* DSPL handle */
handle = dspl_load(); /* Load DSPL function */
dspl_info(); /* Print DSPL information */
dspl_free(handle); /* free dspl handle */
return 0;
}
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dspl.h"
#define N 10000
#define L 1E-3
int randu_accuracy(double* x, double* y, int n, double acc, random_t* prnd)
{
double z[512];
int err, cnt, i;
if(!x || !y)
return ERROR_PTR;
if(n < 1)
return ERROR_SIZE;
if(acc < 0)
return ERROR_NEGATIVE;
cnt = 0;
while(cnt < n)
{
randu(z, 512, prnd);
for(i = 0; i < 512; i++)
{
if(z[i] < acc)
{
x[cnt] = z[i];
cnt++;
}
}
}
cnt = 0;
while(cnt < n)
{
randu(z, 512, prnd);
for(i = 0; i < 512; i++)
{
if(z[i] < acc)
{
y[cnt] = z[i];
cnt++;
}
}
}
return err;
}
int main(int argc, char* argv[])
{
void* hdspl; /* DSPL handle */
void* hplot; /* GNUPLOT handles */
random_t rnd = {0}; /* random structure */
hdspl = dspl_load(); /* Load DSPL function */
double *x = NULL;
double *y = NULL;
x = (double*) malloc(N * sizeof(double));
y = (double*) malloc(N * sizeof(double));
/***************************************************************************/
/* MRG32K3A random numbers generator */
/***************************************************************************/
double seed_mrg32k3a = 1234.0;
random_init(&rnd, RAND_TYPE_MRG32K3A, (void*)(&seed_mrg32k3a));
randu_accuracy(x, y, N, L, &rnd);
writetxt(x, y, N, "dat/randu_acc_mrg32k3a.txt");
/***************************************************************************/
/* MT19937 random numbers generator */
/***************************************************************************/
unsigned long long seed_mt19937 = 1234353456;
random_init(&rnd, RAND_TYPE_MT19937, (void*)(&seed_mt19937));
randu_accuracy(x, y, N, L, &rnd);
writetxt(x, y, N, "dat/randu_acc_mt19937.txt");
/***************************************************************************/
/* Standard C random numbers generator */
/***************************************************************************/
randu_accuracy(x, y, N, L, NULL);
/* Save to files "dat/randu_std.txt" */
writetxt(x, y, N, "dat/randu_acc_std.txt");
/***************************************************************************/
/* plotting by GNUPLOT */
/***************************************************************************/
/* Create window plot
gnuplot_create(argc, argv, 920, 320,
"img/randu_accuracy_test.png", &hplot);
//gnuplot_cmd(hplot, "set grid");
gnuplot_cmd(hplot, "set multiplot layout 1,3 rowsfirst");
gnuplot_cmd(hplot, "set xlabel 'x'");
gnuplot_cmd(hplot, "set ylabel 'y'");
gnuplot_cmd(hplot, "unset key");
gnuplot_cmd(hplot, "set title 'MRG32K3A'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_mrg32k3a.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'MT19937'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_mt19937.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'Standard C'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_std.txt' with points pointtype 0");
gnuplot_close(hplot);
*/
if(x)
free(x);
if(y)
free(y);
/* free dspl handle */
dspl_free(hdspl);
return 0;
}

Wyświetl plik

@ -0,0 +1,118 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dspl.h"
#define N 10000
#define L 1.0E-3
int randu_accuracy(double* x, int n, double acc, random_t* prnd)
{
double z[512];
int cnt = 0;
int i;
int err = RES_OK;
if(!x)
return ERROR_PTR;
if(n < 1)
return ERROR_SIZE;
if(acc < 0.0)
return ERROR_NEGATIVE;
while(cnt < n)
{
randu(z, 512, prnd);
for(i = 0; i < 512; i++)
{
if((z[i] < acc) && (cnt < n))
{
x[cnt] = z[i];
cnt++;
}
}
}
return RES_OK;
}
int main(int argc, char* argv[])
{
void* hdspl; /* DSPL handle */
void* hplot; /* GNUPLOT handles */
random_t rnd = {0}; /* random structure */
hdspl = dspl_load(); /* Load DSPL function */
int err;
double *x = NULL;
double *y = NULL;
x = (double*) malloc(N * sizeof(double));
y = (double*) malloc(N * sizeof(double));
if(!x || !y)
{
err = ERROR_PTR;
printf("malloc error!\n");
goto exit_label;
}
/* MRG32K3A random numbers generator */
double seed_mrg32k3a = 1234.0;
random_init(&rnd, RAND_TYPE_MRG32K3A, (void*)(&seed_mrg32k3a));
randu_accuracy(x, N, L, &rnd); /* accumulate in x numbers from 0 to L */
randu_accuracy(y, N, L, &rnd); /* accumulate in y numbers from 0 to L */
writetxt(x, y, N, "dat/randu_acc_mrg32k3a.txt");
/* MT19937 random numbers generator */
unsigned long long seed_mt19937 = 1234353456;
random_init(&rnd, RAND_TYPE_MT19937, (void*)(&seed_mt19937));
randu_accuracy(x, N, L, &rnd); /* accumulate in x numbers from 0 to L */
randu_accuracy(y, N, L, &rnd); /* accumulate in y numbers from 0 to L */
writetxt(x, y, N, "dat/randu_acc_mt19937.txt");
/* Standard C random numbers generator */
randu_accuracy(x, N, L, NULL); /* accumulate in x numbers from 0 to L */
randu_accuracy(y, N, L, NULL); /* accumulate in y numbers from 0 to L */
writetxt(x, y, N, "dat/randu_acc_std.txt");
/* plotting by GNUPLOT */
/* Create window plot */
err = gnuplot_create(argc, argv, 920, 320, "img/randu_acc_test.png", &hplot);
if(err != RES_OK)
goto exit_label;
gnuplot_cmd(hplot, "set multiplot layout 1,3 rowsfirst");
gnuplot_cmd(hplot, "set xlabel 'x'");
gnuplot_cmd(hplot, "set ylabel 'y'");
gnuplot_cmd(hplot, "set xtics ('0' 0,'5E-4' 0.0005,' 1E-3' 0.001)");
gnuplot_cmd(hplot, "set ytics ('0' 0,'5E-4' 0.0005,' 1E-3' 0.001)");
gnuplot_cmd(hplot, "unset key");
gnuplot_cmd(hplot, "set title 'MRG32K3A'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_mrg32k3a.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'MT19937'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_mt19937.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'Standard C'");
gnuplot_cmd(hplot, "plot 'dat/randu_acc_std.txt' with points pointtype 0");
exit_label:
if(x)
free(x);
if(y)
free(y);
if(hplot)
gnuplot_close(hplot);
/* free dspl handle */
dspl_free(hdspl);
return 0;
}

Wyświetl plik

@ -0,0 +1,121 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dspl.h"
#define N 10000
int main(int argc, char* argv[])
{
void* hdspl; /* DSPL handle */
void* hplot; /* GNUPLOT handles */
random_t rnd = {0}; /* random structure */
hdspl = dspl_load(); /* Load DSPL function */
double *x = NULL;
double *y = NULL;
int err;
x = (double*) malloc(N * sizeof(double));
y = (double*) malloc(N * sizeof(double));
if(!x || !y)
{
err = ERROR_PTR;
printf("malloc error!\n");
goto exit_label;
}
/***************************************************************************/
/* MRG32K3A random numbers generator */
/***************************************************************************/
double seed_mrg32k3a = 1234.0;
err = random_init(&rnd, RAND_TYPE_MRG32K3A, (void*)(&seed_mrg32k3a));
if(err != RES_OK)
goto exit_label;
err = randu(x, N, &rnd);
if(err != RES_OK)
goto exit_label;
err = randu(y, N, &rnd);
if(err != RES_OK)
goto exit_label;
/* Save to files "dat/randu_mrg32k3a.txt" */
writetxt(x, y, N, "dat/randu_mrg32k3a.txt");
/***************************************************************************/
/* MT19937 random numbers generator */
/***************************************************************************/
unsigned long long seed_mt19937 = 1234353456;
err = random_init(&rnd, RAND_TYPE_MT19937, (void*)(&seed_mt19937));
if(err != RES_OK)
goto exit_label;
err = randu(x, N, &rnd);
if(err != RES_OK)
goto exit_label;
err = randu(y, N, &rnd);
if(err != RES_OK)
goto exit_label;
/* Save to files "dat/randu_mrg32k3a.txt" */
writetxt(x, y, N, "dat/randu_mt19937.txt");
/***************************************************************************/
/* Standard C random numbers generator */
/***************************************************************************/
err = randu(x, N, NULL);
if(err != RES_OK)
goto exit_label;
err = randu(y, N, NULL);
if(err != RES_OK)
goto exit_label;
/* Save to files "dat/randu_std.txt" */
writetxt(x, y, N, "dat/randu_std.txt");
/***************************************************************************/
/* plotting by GNUPLOT */
/***************************************************************************/
/* Create window plot */
err = gnuplot_create(argc, argv, 920, 320, "img/randu_test.png", &hplot);
if(err != RES_OK)
goto exit_label;
gnuplot_cmd(hplot, "set multiplot layout 1,3 rowsfirst");
gnuplot_cmd(hplot, "set xlabel 'x'");
gnuplot_cmd(hplot, "set ylabel 'y'");
gnuplot_cmd(hplot, "unset key");
gnuplot_cmd(hplot, "set title 'MRG32K3A'");
gnuplot_cmd(hplot, "plot 'dat/randu_mrg32k3a.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'MT19937'");
gnuplot_cmd(hplot, "plot 'dat/randu_mt19937.txt' with points pointtype 0");
gnuplot_cmd(hplot, "set title 'Standard C'");
gnuplot_cmd(hplot, "plot 'dat/randu_std.txt' with points pointtype 0");
exit_label:
if(x)
free(x);
if(y)
free(y);
if(hplot)
gnuplot_close(hplot);
/* free dspl handle */
dspl_free(hdspl);
return 0;
}

Wyświetl plik

@ -1 +1 @@
# depslib dependency file v1.0
# depslib dependency file v1.0

Wyświetl plik

@ -1,182 +1,358 @@
# depslib dependency file v1.0
1586882689 source:f:\dsplib.org\libdspl-2.0\dspl\src\array.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"blas.h"
1586187310 f:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1570911978 f:\dsplib.org\libdspl-2.0\dspl\src\blas.h
<stdio.h>
<stdlib.h>
1570285803 source:f:\dsplib.org\libdspl-2.0\dspl\src\cheby.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1586882996 source:f:\dsplib.org\libdspl-2.0\dspl\src\complex.c
<stdio.h>
<stdlib.h>
"dspl.h"
1586882688 source:f:\dsplib.org\libdspl-2.0\dspl\src\conv.c
<stdlib.h>
<string.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\dft.c
<stdlib.h>
<math.h>
"dspl.h"
1570973723 source:f:\dsplib.org\libdspl-2.0\dspl\src\ellipj.c
<stdio.h>
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1586882686 source:f:\dsplib.org\libdspl-2.0\dspl\src\fft.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1570974252 f:\dsplib.org\libdspl-2.0\dspl\src\dspl_internal.h
1570974363 source:f:\dsplib.org\libdspl-2.0\dspl\src\fft_subkernel.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\fillarray.c
<stdlib.h>
<math.h>
"dspl.h"
1570974392 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_an.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_ap.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1570974529 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_fir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_ft.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1570975251 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_iir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1570474175 source:f:\dsplib.org\libdspl-2.0\dspl\src\fourier_series.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\goertzel.c
<stdlib.h>
<string.h>
"dspl.h"
1586883124 source:f:\dsplib.org\libdspl-2.0\dspl\src\inout.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1579030984 source:f:\dsplib.org\libdspl-2.0\dspl\src\math.c
<stdio.h>
<stdlib.h>
"dspl.h"
1570970924 source:f:\dsplib.org\libdspl-2.0\dspl\src\matrix.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"dspl_internal.h"
"blas.h"
1572200368 source:f:\dsplib.org\libdspl-2.0\dspl\src\mt19937.c
<stdio.h>
"dspl.h"
"mt19937.h"
1571517008 f:\dsplib.org\libdspl-2.0\dspl\src\mt19937.h
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\polyval.c
<stdlib.h>
<string.h>
"dspl.h"
1572200678 source:f:\dsplib.org\libdspl-2.0\dspl\src\randgen.c
<stdlib.h>
<math.h>
<time.h>
"dspl.h"
"dspl_internal.h"
"mt19937.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\resampling.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\signals.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1579031016 source:f:\dsplib.org\libdspl-2.0\dspl\src\statistic.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\trapint.c
<stdio.h>
<stdlib.h>
"dspl.h"
1570975349 source:f:\dsplib.org\libdspl-2.0\dspl\src\win.c
<stdio.h>
<math.h>
"dspl.h"
"dspl_internal.h"
1578598539 source:f:\dsplib.org\libdspl-2.0\dspl\src\gnuplot.c
<stdio.h>
<unistd.h>
"dspl.h"
# depslib dependency file v1.0
1586882689 source:f:\dsplib.org\libdspl-2.0\dspl\src\array.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"blas.h"
1586187310 f:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1570911978 f:\dsplib.org\libdspl-2.0\dspl\src\blas.h
<stdio.h>
<stdlib.h>
1570285803 source:f:\dsplib.org\libdspl-2.0\dspl\src\cheby.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1586882996 source:f:\dsplib.org\libdspl-2.0\dspl\src\complex.c
<stdio.h>
<stdlib.h>
"dspl.h"
1586882688 source:f:\dsplib.org\libdspl-2.0\dspl\src\conv.c
<stdlib.h>
<string.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\dft.c
<stdlib.h>
<math.h>
"dspl.h"
1570973723 source:f:\dsplib.org\libdspl-2.0\dspl\src\ellipj.c
<stdio.h>
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1586882686 source:f:\dsplib.org\libdspl-2.0\dspl\src\fft.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1570974252 f:\dsplib.org\libdspl-2.0\dspl\src\dspl_internal.h
1570974363 source:f:\dsplib.org\libdspl-2.0\dspl\src\fft_subkernel.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\fillarray.c
<stdlib.h>
<math.h>
"dspl.h"
1570974392 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_an.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_ap.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1570974529 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_fir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_ft.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1570975251 source:f:\dsplib.org\libdspl-2.0\dspl\src\filter_iir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1570474175 source:f:\dsplib.org\libdspl-2.0\dspl\src\fourier_series.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\goertzel.c
<stdlib.h>
<string.h>
"dspl.h"
1586883124 source:f:\dsplib.org\libdspl-2.0\dspl\src\inout.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1579030984 source:f:\dsplib.org\libdspl-2.0\dspl\src\math.c
<stdio.h>
<stdlib.h>
"dspl.h"
1570970924 source:f:\dsplib.org\libdspl-2.0\dspl\src\matrix.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"dspl_internal.h"
"blas.h"
1572200368 source:f:\dsplib.org\libdspl-2.0\dspl\src\mt19937.c
<stdio.h>
"dspl.h"
"mt19937.h"
1571517008 f:\dsplib.org\libdspl-2.0\dspl\src\mt19937.h
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\polyval.c
<stdlib.h>
<string.h>
"dspl.h"
1572200678 source:f:\dsplib.org\libdspl-2.0\dspl\src\randgen.c
<stdlib.h>
<math.h>
<time.h>
"dspl.h"
"dspl_internal.h"
"mt19937.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\resampling.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
"dspl_internal.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\signals.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1579031016 source:f:\dsplib.org\libdspl-2.0\dspl\src\statistic.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1569004225 source:f:\dsplib.org\libdspl-2.0\dspl\src\trapint.c
<stdio.h>
<stdlib.h>
"dspl.h"
1570975349 source:f:\dsplib.org\libdspl-2.0\dspl\src\win.c
<stdio.h>
<math.h>
"dspl.h"
"dspl_internal.h"
1578598539 source:f:\dsplib.org\libdspl-2.0\dspl\src\gnuplot.c
<stdio.h>
<unistd.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\array.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"blas.h"
1587817856 d:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1587816430 d:\dsplib.org\libdspl-2.0\dspl\src\blas.h
<stdio.h>
<stdlib.h>
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\cheby.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\complex.c
<stdio.h>
<stdlib.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\conv.c
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\dft.c
<stdlib.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\ellipj.c
<stdio.h>
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\fft.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1587816430 d:\dsplib.org\libdspl-2.0\dspl\src\dspl_internal.h
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\fft_subkernel.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\filter_an.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\filter_ap.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\filter_fir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\filter_ft.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\filter_iir.c
<stdlib.h>
<stdio.h>
<string.h>
"dspl.h"
"dspl_internal.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\fourier_series.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\gnuplot.c
<stdio.h>
<unistd.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\goertzel.c
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\inout.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\math.c
<stdio.h>
<stdlib.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\matrix.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
"dspl_internal.h"
"blas.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\mt19937.c
<stdio.h>
"dspl.h"
"mt19937.h"
1587816430 d:\dsplib.org\libdspl-2.0\dspl\src\mt19937.h
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\polyval.c
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\randgen.c
<stdlib.h>
<math.h>
<time.h>
"dspl.h"
"dspl_internal.h"
"mt19937.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\resampling.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
"dspl_internal.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\signals.c
<stdlib.h>
<string.h>
<math.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\statistic.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\trapint.c
<stdio.h>
<stdlib.h>
"dspl.h"
1587816430 source:d:\dsplib.org\libdspl-2.0\dspl\src\win.c
<stdio.h>
<math.h>
"dspl.h"
"dspl_internal.h"

Wyświetl plik

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_workspace_layout_file>
<FileVersion major="1" minor="0" />
<ActiveProject path="dspl.cbp" />
<PreferredTarget name="Release" />
<ActiveProject path="examples.cbp" />
<PreferredTarget name="Debug" />
</CodeBlocks_workspace_layout_file>

Wyświetl plik

@ -1,15 +1,30 @@
# depslib dependency file v1.0
1577612574 source:f:\dsplib.org\libdspl-2.0\examples\src\dspl_info_test.c
<stdio.h>
<stdlib.h>
"dspl.h"
1586187310 f:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1586187094 source:f:\dsplib.org\libdspl-2.0\include\dspl.c
<windows.h>
<dlfcn.h>
<stdio.h>
"dspl.h"
# depslib dependency file v1.0
1577612574 source:f:\dsplib.org\libdspl-2.0\examples\src\dspl_info_test.c
<stdio.h>
<stdlib.h>
"dspl.h"
1586187310 f:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1586187094 source:f:\dsplib.org\libdspl-2.0\include\dspl.c
<windows.h>
<dlfcn.h>
<stdio.h>
"dspl.h"
1587906336 source:d:\dsplib.org\libdspl-2.0\examples\src\dspl_info_test.c
<stdio.h>
<stdlib.h>
<string.h>
"dspl.h"
1587817856 d:\dsplib.org\libdspl-2.0\include\dspl.h
<math.h>
1587816431 source:d:\dsplib.org\libdspl-2.0\include\dspl.c
<windows.h>
<dlfcn.h>
<stdio.h>
"dspl.h"

Wyświetl plik

@ -1 +1 @@
# depslib dependency file v1.0
# depslib dependency file v1.0

Wyświetl plik

@ -1 +1 @@
# depslib dependency file v1.0
# depslib dependency file v1.0