Changes to be committed:

modified:   dspl/src/randomgen/randb.c
	modified:   dspl/src/randomgen/randb2.c
	modified:   dspl/src/randomgen/randi.c
	modified:   dspl/src/randomgen/randn.c
	modified:   dspl/src/randomgen/randn_cmplx.c
	modified:   dspl/src/randomgen/random_init.c
	modified:   dspl/src/randomgen/randu.c
	modified:   dspl/src/randomgen/randu_mrg32k3a.c
	modified:   dspl/src/resampling/farrow_lagrange.c
	modified:   dspl/src/resampling/farrow_spline.c
	modified:   dspl/src/signals/signal_pimp.c
	modified:   dspl/src/signals/signal_saw.c
	modified:   dspl/src/types/cmplx2re.c
	modified:   dspl/src/types/re2cmplx.c
master
Dsplib 2023-12-13 22:14:27 +03:00
rodzic 3fd8cca73c
commit 524afc8c8b
14 zmienionych plików z 31 dodań i 33 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -31,7 +31,7 @@
#ifdef DOXYGEN_ENGLISH
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randb(double* x, int n, random_t* prnd)
\brief Binary unipolar [0, 1] pseudorandom vector.
The function generates a unipolar pseudo-random vector,
@ -74,7 +74,7 @@ As a result of the program run, you can see the graph:
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randb(double* x, int n, random_t* prnd)
\brief Генерация бинарного униполярного [0, 1] псевдослучайного вектора
Функция генерирует униполярный псевдослучайный вектор,

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -29,10 +29,10 @@
#ifdef DOXYGEN_ENGLISH
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randb2(double* x, int n, random_t* prnd)
\brief Binary bipolar [-1, 1] pseudorandom vector.
The function generates a unipolar pseudo-random vector,
The function generates a bipolar pseudo-random vector,
each element of which takes an equally probable value of -1 or 1
\param[in,out] x
@ -72,7 +72,7 @@ As a result of the program run, you can see the graph:
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randb2(double* x, int n, random_t* prnd)
\brief Генерация бинарного биполярного [-1, 1] псевдослучайного вектора
Функция генерирует биполярный псевдослучайный вектор,

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -35,7 +35,7 @@
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randi(int* x, int n, int start, int stop, random_t* prnd)
\brief Генерация целочисленного вектора равномерно
распределенных псевдослучайных чисел.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -34,7 +34,7 @@
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randn(double* x, int n, double mu, double sigma, random_t* prnd)
\brief Генерация вектора нормально распределенных псевдослучайных чисел.
Функция использует преобразование Бокса-Мюллера для приведения

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -31,7 +31,7 @@
#ifdef DOXYGEN_ENGLISH
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int random_init(random_t* prnd, int type, void* seed)
\brief Pseudorandom numbers generators initialization.
\param[in,out] prnd
@ -75,7 +75,7 @@ pseudorandom numbers each restart.
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int random_init(random_t* prnd, int type, void* seed)
\brief Инициализация датчиков псевдослучайных чисел.
\param[in,out] prnd

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -39,7 +39,7 @@
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup SPEC_MATH_RAND_GEN_GROUP
\fn int randu(double* x, int n, random_t* prnd)
\brief Генерация вектора равномерно-распределенных в интервале
от 0 до 1 псевдослучайных чисел.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -33,9 +33,8 @@
#endif
#ifdef DOXYGEN_RUSSIAN
/*!*****************************************************************************
\ingroup RESAMPLING_GROUP
\fn int farrow_lagrange(double *s, int n, double p, double q,
double frd, double **y, int *ny)
\ingroup RESAMPLING_GROUP
\brief Передискретизация вещественного сигнала на основе
полиномиальной Лагранжевой интерполяции.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.
@ -34,8 +34,7 @@
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup RESAMPLING_GROUP
\fn int int farrow_spline(double *s, int n, double p, double q, double frd,
double **y, int *ny)
\brief Передискретизация вещественного сигнала на основе сплайн интерполяции.
Данная функция осуществляет передискретизацию

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of libdspl-2.0.

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of DSPL.
@ -27,7 +27,7 @@
#ifdef DOXYGEN_ENGLISH
/*! ****************************************************************************
\ingroup TYPES_GROUP
\fn int cmplx2re(complex_t* x, int n, double* re, double* im)
\brief Separate complex vector to the real and image vectors
Function fills `re` and `im` vectors corresponds to real and image
@ -78,7 +78,7 @@ re[2] = 5.0; im[2] = 6.0;
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup TYPES_GROUP
\fn int cmplx2re(complex_t* x, int n, double* re, double* im)
\brief Преобразование массива комплексных данных в два массива
вещественных данных, содержащих реальную и мнимую части
исходного массива

Wyświetl plik

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015-2022 Sergey Bakhurin
* Copyright (c) 2015-2024 Sergey Bakhurin
* Digital Signal Processing Library [http://dsplib.org]
*
* This file is part of DSPL.
@ -28,7 +28,7 @@
#ifdef DOXYGEN_ENGLISH
/*! *****************************************************************************
\ingroup TYPES_GROUP
\fn int re2cmplx(double* x, int n, complex_t *y)
\brief Convert real array to the complex array.
Function copies the vector `x` to the real part of vector `y`.
@ -74,7 +74,7 @@ Vector `y` will keep:
#ifdef DOXYGEN_RUSSIAN
/*! ****************************************************************************
\ingroup TYPES_GROUP
\fn int re2cmplx(double* x, int n, complex_t *y)
\brief Преобразование массива вещественных данных в массив комплексных данных.
Функция заполняет реальные части массива `y` данных соответсвующими значениями