| spLib
    | 
| Sort and Median (<sp/vmath.h>) | |
| void | svsort (spSVector x) | 
| void | lvsort (spLVector x) | 
| void | fvsort (spFVector x) | 
| void | dvsort (spDVector x) | 
| spSVector | xsvsort (spSVector x) | 
| spLVector | xlvsort (spLVector x) | 
| spFVector | xfvsort (spFVector x) | 
| spDVector | xdvsort (spDVector x) | 
| spLVector | xsvsortidx (spSVector x) | 
| spLVector | xlvsortidx (spLVector x) | 
| spLVector | xfvsortidx (spFVector x) | 
| spLVector | xdvsortidx (spDVector x) | 
| double | svmedian (spSVector x) | 
| double | lvmedian (spLVector x) | 
| float | fvmedian (spFVector x) | 
| double | dvmedian (spDVector x) | 
| spSVector | xsvmedian (spSVector x, double *median) | 
| spLVector | xlvmedian (spLVector x, double *median) | 
| spFVector | xfvmedian (spFVector x, float *median) | 
| spDVector | xdvmedian (spDVector x, double *median) | 
| Absolute Value (<sp/vmath.h>) | |
| void | svabs (spSVector x) | 
| void | lvabs (spLVector x) | 
| void | fvabs (spFVector x) | 
| void | dvabs (spDVector x) | 
| spSVector | xsvabs (spSVector x) | 
| spLVector | xlvabs (spLVector x) | 
| spFVector | xfvabs (spFVector x) | 
| spDVector | xdvabs (spDVector x) | 
| Square Root (<sp/vmath.h>) | |
| void | svsqrt (spSVector x) | 
| void | lvsqrt (spLVector x) | 
| void | fvsqrt (spFVector x) | 
| void | dvsqrt (spDVector x) | 
| spSVector | xsvsqrt (spSVector x) | 
| spLVector | xlvsqrt (spLVector x) | 
| spFVector | xfvsqrt (spFVector x) | 
| spDVector | xdvsqrt (spDVector x) | 
| Square (<sp/vmath.h>) | |
| void | svsquare (spSVector x) | 
| void | lvsquare (spLVector x) | 
| void | fvsquare (spFVector x) | 
| void | dvsquare (spDVector x) | 
| spSVector | xsvsquare (spSVector x) | 
| spLVector | xlvsquare (spLVector x) | 
| spFVector | xfvsquare (spFVector x) | 
| spDVector | xdvsquare (spDVector x) | 
| Sign Function (<sp/vmath.h>) | |
| void | svsign (spSVector x) | 
| void | lvsign (spLVector x) | 
| void | fvsign (spFVector x) | 
| void | dvsign (spDVector x) | 
| spSVector | xsvsign (spSVector x) | 
| spLVector | xlvsign (spLVector x) | 
| spFVector | xfvsign (spFVector x) | 
| spDVector | xdvsign (spDVector x) | 
| Cumulative Sum (<sp/vmath.h>) | |
| void | svcumsum (spSVector x) | 
| void | lvcumsum (spLVector x) | 
| void | fvcumsum (spFVector x) | 
| void | dvcumsum (spDVector x) | 
| spSVector | xsvcumsum (spSVector x) | 
| spLVector | xlvcumsum (spLVector x) | 
| spFVector | xfvcumsum (spFVector x) | 
| spDVector | xdvcumsum (spDVector x) | 
| Cumulative Product (<sp/vmath.h>) | |
| void | svcumprod (spSVector x) | 
| void | lvcumprod (spLVector x) | 
| void | fvcumprod (spFVector x) | 
| void | dvcumprod (spDVector x) | 
| spSVector | xsvcumprod (spSVector x) | 
| spLVector | xlvcumprod (spLVector x) | 
| spFVector | xfvcumprod (spFVector x) | 
| spDVector | xdvcumprod (spDVector x) | 
| Differences (<sp/vmath.h>) | |
| void | svcodiff (spSVector x, double coef) | 
| void | lvcodiff (spLVector x, double coef) | 
| void | fvcodiff (spFVector x, double coef) | 
| void | dvcodiff (spDVector x, double coef) | 
| spSVector | xsvcodiff (spSVector x, double coef) | 
| spLVector | xlvcodiff (spLVector x, double coef) | 
| spFVector | xfvcodiff (spFVector x, double coef) | 
| spDVector | xdvcodiff (spDVector x, double coef) | 
| #define | dvdiff(x) dvcodiff(x, 1.0); | 
| #define | xdvdiff(x) xdvcodiff(x, 1.0); | 
| #define | fvdiff(x) fvcodiff(x, 1.0); | 
| #define | xfvdiff(x) xfvcodiff(x, 1.0); | 
| #define | lvdiff(x) lvcodiff(x, 1.0); | 
| #define | xlvdiff(x) xlvcodiff(x, 1.0); | 
| #define | svdiff(x) svcodiff(x, 1.0); | 
| #define | xsvdiff(x) xsvcodiff(x, 1.0); | 
| Sum (<sp/vmath.h>) | |
| long | svsum (spSVector x) | 
| long | lvsum (spLVector x) | 
| float | fvsum (spFVector x) | 
| double | dvsum (spDVector x) | 
| long | svisum (spSVector x) | 
| long | lvisum (spLVector x) | 
| float | fvisum (spFVector x) | 
| double | dvisum (spDVector x) | 
| long | svsqsum (spSVector x) | 
| long | lvsqsum (spLVector x) | 
| float | fvsqsum (spFVector x) | 
| double | dvsqsum (spDVector x) | 
| long | svabssum (spSVector x) | 
| long | lvabssum (spLVector x) | 
| float | fvabssum (spFVector x) | 
| double | dvabssum (spDVector x) | 
| Product (<sp/vmath.h>) | |
| long | svprod (spSVector x) | 
| long | lvprod (spLVector x) | 
| float | fvprod (spFVector x) | 
| double | dvprod (spDVector x) | 
| long | svriprod (spSVector x, long *oiprod) | 
| long | lvriprod (spLVector x, long *oiprod) | 
| float | fvriprod (spFVector x, float *oiprod) | 
| double | dvriprod (spDVector x, double *oiprod) | 
| Norm (<sp/vmath.h>) | |
| double | svnorm (spSVector x, long p) | 
| double | lvnorm (spLVector x, long p) | 
| float | fvnorm (spFVector x, long p) | 
| double | dvnorm (spDVector x, long p) | 
| Dot Product (<sp/vmath.h>) | |
| long | svdot (spSVector x, spSVector y) | 
| long | lvdot (spLVector x, spLVector y) | 
| float | fvdot (spFVector x, spFVector y) | 
| double | dvdot (spDVector x, spDVector y) | 
| void | svcplxdot (spSVector x, spSVector y, long *re, long *im) | 
| void | lvcplxdot (spLVector x, spLVector y, long *re, long *im) | 
| void | fvcplxdot (spFVector x, spFVector y, float *re, float *im) | 
| void | dvcplxdot (spDVector x, spDVector y, double *re, double *im) | 
| Mean and Variance (<sp/vmath.h>) | |
| double | svvar (spSVector x, double *mean) | 
| double | lvvar (spLVector x, double *mean) | 
| float | fvvar (spFVector x, float *mean) | 
| double | dvvar (spDVector x, double *mean) | 
| double | svstd (spSVector x, double *mean) | 
| double | lvstd (spLVector x, double *mean) | 
| float | fvstd (spFVector x, float *mean) | 
| double | dvstd (spDVector x, double *mean) | 
| #define | dvmean(x) (dvsum(x) / (double)x->length) | 
| #define | fvmean(x) (fvsum(x) / (float)x->length) | 
| #define | lvmean(x) ((double)lvsum(x) / (double)x->length) | 
| #define | svmean(x) ((double)svsum(x) / (double)x->length) | 
| Minimum and Maximum (<sp/vmath.h>) | |
| short | svmin (spSVector x, long *index) | 
| long | lvmin (spLVector x, long *index) | 
| float | fvmin (spFVector x, long *index) | 
| double | dvmin (spDVector x, long *index) | 
| short | svmax (spSVector x, long *index) | 
| long | lvmax (spLVector x, long *index) | 
| float | fvmax (spFVector x, long *index) | 
| double | dvmax (spDVector x, long *index) | 
| void | svscmin (spSVector x, short a) | 
| void | lvscmin (spLVector x, long a) | 
| void | fvscmin (spFVector x, float a) | 
| void | dvscmin (spDVector x, double a) | 
| void | svscmax (spSVector x, short a) | 
| void | lvscmax (spLVector x, long a) | 
| void | fvscmax (spFVector x, float a) | 
| void | dvscmax (spDVector x, double a) | 
| void | svelmin (spSVector x, spSVector y) | 
| void | lvelmin (spLVector x, spLVector y) | 
| void | fvelmin (spFVector x, spFVector y) | 
| void | dvelmin (spDVector x, spDVector y) | 
| void | svelmax (spSVector x, spSVector y) | 
| void | lvelmax (spLVector x, spLVector y) | 
| void | fvelmax (spFVector x, spFVector y) | 
| void | dvelmax (spDVector x, spDVector y) | 
| Zero-Crossing Count (<sp/vmath.h>) | |
| long | svzerocross (spSVector x, int slope_sign) | 
| long | lvzerocross (spLVector x, int slope_sign) | 
| long | fvzerocross (spFVector x, int slope_sign) | 
| long | dvzerocross (spDVector x, int slope_sign) | 
| Phase Angle (<sp/vmath.h>) | |
| void | fvangle (spFVector x) | 
| spFVector | xfvangle (spFVector x) | 
| void | dvangle (spDVector x) | 
| spDVector | xdvangle (spDVector x) | 
| Random Number (<sp/vmath.h>) | |
| void | fvrandun (spFVector x) | 
| void | dvrandun (spDVector x) | 
| spFVector | xfvrandunul (spPlugin *plugin, long length, spBool unlock_flag) | 
| spDVector | xdvrandunul (spPlugin *plugin, long length, spBool unlock_flag) | 
| spFVector | xfvrandun (long length) | 
| spDVector | xdvrandun (long length) | 
| void | fvgauss (spFVector x, float mu, float sigma) | 
| void | dvgauss (spDVector x, double mu, double sigma) | 
| spFVector | xfvgaussul (spPlugin *plugin, long length, float mu, float sigma, spBool unlock_flag) | 
| spDVector | xdvgaussul (spPlugin *plugin, long length, double mu, double sigma, spBool unlock_flag) | 
| spFVector | xfvgauss (long length, float mu, float sigma) | 
| spDVector | xdvgauss (long length, double mu, double sigma) | 
| void | fvrandn (spFVector x) | 
| void | dvrandn (spDVector x) | 
| spFVector | xfvrandnul (spPlugin *plugin, long length, spBool unlock_flag) | 
| spDVector | xdvrandnul (spPlugin *plugin, long length, spBool unlock_flag) | 
| spFVector | xfvrandn (long length) | 
| spDVector | xdvrandn (long length) | 
| #define dvdiff | ( | x | ) | dvcodiff(x, 1.0); | 
Calculates the differences between the elements of x . For example, the k-th element of the differences is x->data[k + 1] - x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0. 
| #define xdvdiff | ( | x | ) | xdvcodiff(x, 1.0); | 
Creates a new vector containing the differences between the elements of x . For example, the k-th element of the new vector is x->data[k + 1] - x->data[k]. The number of elements of the new vector is x->length - 1. 
| #define fvdiff | ( | x | ) | fvcodiff(x, 1.0); | 
Calculates the differences between the elements of x . For example, the k-th element of the differences is x->data[k + 1] - x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| #define xfvdiff | ( | x | ) | xfvcodiff(x, 1.0); | 
Creates a new vector containing the differences between the elements of x . For example, the k-th element of the new vector is x->data[k + 1] - x->data[k]. The number of elements of the new vector is x->length - 1.    
| #define lvdiff | ( | x | ) | lvcodiff(x, 1.0); | 
Calculates the differences between the elements of x . For example, the k-th element of the differences is x->data[k + 1] - x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| #define xlvdiff | ( | x | ) | xlvcodiff(x, 1.0); | 
Creates a new vector containing the differences between the elements of x . For example, the k-th element of the new vector is x->data[k + 1] - x->data[k]. The number of elements of the new vector is x->length - 1.    
Calculates the mean of the real elements of x .    
| #define svdiff | ( | x | ) | svcodiff(x, 1.0); | 
Calculates the differences between the elements of x . For example, the k-th element of the differences is x->data[k + 1] - x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| #define xsvdiff | ( | x | ) | xsvcodiff(x, 1.0); | 
Creates a new vector containing the differences between the elements of x . For example, the k-th element of the new vector is x->data[k + 1] - x->data[k]. The number of elements of the new vector is x->length - 1.    
Calculates the mean of the real elements of x .    
| void svabs | ( | spSVector | x | ) | 
Calculates the absolute value of each element of x . If the imaginary part of x exists, it will be disposed.    
| void lvabs | ( | spLVector | x | ) | 
Calculates the absolute value of each element of x . If the imaginary part of x exists, it will be disposed.    
| void fvabs | ( | spFVector | x | ) | 
Calculates the absolute value of each element of x . If the imaginary part of x exists, it will be disposed.    
| void dvabs | ( | spDVector | x | ) | 
Calculates the absolute value of each element of x . If the imaginary part of x exists, it will be disposed. 
Creates a new vector whose each element is the absolute value of the corresponding element of x .    
Creates a new vector whose each element is the absolute value of the corresponding element of x .    
Creates a new vector whose each element is the absolute value of the corresponding element of x .    
Creates a new vector whose each element is the absolute value of the corresponding element of x . 
| void svsqrt | ( | spSVector | x | ) | 
Calculates the square root of each element of x .    
| void lvsqrt | ( | spLVector | x | ) | 
Calculates the square root of each element of x .    
| void fvsqrt | ( | spFVector | x | ) | 
Calculates the square root of each element of x .    
| void dvsqrt | ( | spDVector | x | ) | 
Calculates the square root of each element of x . 
Creates a new vector whose each element is the square root of the corresponding element of x .    
Creates a new vector whose each element is the square root of the corresponding element of x .    
Creates a new vector whose each element is the square root of the corresponding element of x .    
Creates a new vector whose each element is the square root of the corresponding element of x . 
| void svsquare | ( | spSVector | x | ) | 
Calculates |x|^2 of each element of x .    
| void lvsquare | ( | spLVector | x | ) | 
Calculates |x|^2 of each element of x .    
| void fvsquare | ( | spFVector | x | ) | 
Calculates |x|^2 of each element of x .    
| void dvsquare | ( | spDVector | x | ) | 
Calculates |x|^2 of each element of x . 
Creates a new vector whose each element is |x|^2 of the corresponding element of x .    
Creates a new vector whose each element is |x|^2 of the corresponding element of x .    
Creates a new vector whose each element is |x|^2 of the corresponding element of x .    
Creates a new vector whose each element is |x|^2 of the corresponding element of x . 
| void svsign | ( | spSVector | x | ) | 
Calculates the sign function of each element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
| void lvsign | ( | spLVector | x | ) | 
Calculates the sign function of each element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
| void fvsign | ( | spFVector | x | ) | 
Calculates the sign function of each element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
| void dvsign | ( | spDVector | x | ) | 
Calculates the sign function of each element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0. 
Creates a new vector whose each element is output of the sign function of the corresponding element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
Creates a new vector whose each element is output of the sign function of the corresponding element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
Creates a new vector whose each element is output of the sign function of the corresponding element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0.    
Creates a new vector whose each element is output of the sign function of the corresponding element of x . The sign function returns 1 if the element's value is greater than 0, 0 if that is equal to 0, or -1 if that is less than 0. 
| void svcumsum | ( | spSVector | x | ) | 
Calculates the cumulative sum of the elements of x .    
| void lvcumsum | ( | spLVector | x | ) | 
Calculates the cumulative sum of the elements of x .    
| void fvcumsum | ( | spFVector | x | ) | 
Calculates the cumulative sum of the elements of x .    
| void dvcumsum | ( | spDVector | x | ) | 
Calculates the cumulative sum of the elements of x . 
Creates a new vector containing the cumulative sum of the elements of x .    
Creates a new vector containing the cumulative sum of the elements of x .    
Creates a new vector containing the cumulative sum of the elements of x .    
Creates a new vector containing the cumulative sum of the elements of x . 
| void svcumprod | ( | spSVector | x | ) | 
Calculates the cumulative product of the elements of x .    
| void lvcumprod | ( | spLVector | x | ) | 
Calculates the cumulative product of the elements of x .    
| void fvcumprod | ( | spFVector | x | ) | 
Calculates the cumulative product of the elements of x .    
| void dvcumprod | ( | spDVector | x | ) | 
Calculates the cumulative product of the elements of x . 
Creates a new vector containing the cumulative product of the elements of x .    
Creates a new vector containing the cumulative product of the elements of x .    
Creates a new vector containing the cumulative product of the elements of x .    
Creates a new vector containing the cumulative product of the elements of x . 
| void svcodiff | ( | spSVector | x, | 
| double | coef ) | 
Calculates the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the differences is x->data[k + 1] - coef * x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| void lvcodiff | ( | spLVector | x, | 
| double | coef ) | 
Calculates the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the differences is x->data[k + 1] - coef * x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| void fvcodiff | ( | spFVector | x, | 
| double | coef ) | 
Calculates the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the differences is x->data[k + 1] - coef * x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0.    
| void dvcodiff | ( | spDVector | x, | 
| double | coef ) | 
Calculates the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the differences is x->data[k + 1] - coef * x->data[k]. The final element is calculated by regarding x->data[k + 1] = 0. 
Creates a new vector containing the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the new vector is x->data[k + 1] - coef * x->data[k]. The number of elements of the new vector is x->length - 1.    
Creates a new vector containing the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the new vector is x->data[k + 1] - coef * x->data[k]. The number of elements of the new vector is x->length - 1.    
Creates a new vector containing the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the new vector is x->data[k + 1] - coef * x->data[k]. The number of elements of the new vector is x->length - 1.    
Creates a new vector containing the differences between the elements of x using coef as a weighting factor. For example, the k-th element of the new vector is x->data[k + 1] - coef * x->data[k]. The number of elements of the new vector is x->length - 1. 
| long svsum | ( | spSVector | x | ) | 
Calculates the sum of the real elements of x .    
| long lvsum | ( | spLVector | x | ) | 
Calculates the sum of the real elements of x .    
| float fvsum | ( | spFVector | x | ) | 
Calculates the sum of the real elements of x .    
| double dvsum | ( | spDVector | x | ) | 
Calculates the sum of the real elements of x . 
| long svisum | ( | spSVector | x | ) | 
Calculates the sum of the imaginary elements of x .    
| long lvisum | ( | spLVector | x | ) | 
Calculates the sum of the imaginary elements of x .    
| float fvisum | ( | spFVector | x | ) | 
Calculates the sum of the imaginary elements of x .    
| double dvisum | ( | spDVector | x | ) | 
Calculates the sum of the imaginary elements of x . 
| long svsqsum | ( | spSVector | x | ) | 
Calculates the sum of the absolute square elements of x .    
| long lvsqsum | ( | spLVector | x | ) | 
Calculates the sum of the absolute square elements of x .    
| float fvsqsum | ( | spFVector | x | ) | 
Calculates the sum of the absolute square elements of x .    
| double dvsqsum | ( | spDVector | x | ) | 
Calculates the sum of the absolute square elements of x . 
| long svabssum | ( | spSVector | x | ) | 
Calculates the sum of the absolute elements of x .    
| long lvabssum | ( | spLVector | x | ) | 
Calculates the sum of the absolute elements of x .    
| float fvabssum | ( | spFVector | x | ) | 
Calculates the sum of the absolute elements of x .    
| double dvabssum | ( | spDVector | x | ) | 
Calculates the sum of the absolute elements of x . 
| long svprod | ( | spSVector | x | ) | 
Calculates the product of the real elements of x .    
| long lvprod | ( | spLVector | x | ) | 
Calculates the product of the real elements of x .    
| float fvprod | ( | spFVector | x | ) | 
Calculates the product of the real elements of x .    
| double dvprod | ( | spDVector | x | ) | 
Calculates the product of the real elements of x . 
| long svriprod | ( | spSVector | x, | 
| long * | oiprod ) | 
Calculates the product of the real and imaginary elements of x .    
| long lvriprod | ( | spLVector | x, | 
| long * | oiprod ) | 
Calculates the product of the real and imaginary elements of x .    
| float fvriprod | ( | spFVector | x, | 
| float * | oiprod ) | 
Calculates the product of the real and imaginary elements of x .    
| double dvriprod | ( | spDVector | x, | 
| double * | oiprod ) | 
Calculates the product of the real and imaginary elements of x . 
| double svnorm | ( | spSVector | x, | 
| long | p ) | 
Calculates the norm of the input vector x . The value of p must be greater than or equal to 1 except that p = 0: the default Euclidean norm which corresponds to p = 2, and p = -1: the infinity norm. 
| [in] | x | The input vector. | 
| [in] | p | The number which is greater than or equal to -1 corresponding to the norm type. | 
| double lvnorm | ( | spLVector | x, | 
| long | p ) | 
Calculates the norm of the input vector x . The value of p must be greater than or equal to 1 except that p = 0: the default Euclidean norm which corresponds to p = 2, and p = -1: the infinity norm. 
| [in] | x | The input vector. | 
| [in] | p | The number which is greater than or equal to -1 corresponding to the norm type. | 
| float fvnorm | ( | spFVector | x, | 
| long | p ) | 
Calculates the norm of the input vector x . The value of p must be greater than or equal to 1 except that p = 0: the default Euclidean norm which corresponds to p = 2, and p = -1: the infinity norm. 
| [in] | x | The input vector. | 
| [in] | p | The number which is greater than or equal to -1 corresponding to the norm type. | 
| double dvnorm | ( | spDVector | x, | 
| long | p ) | 
Calculates the norm of the input vector x . The value of p must be greater than or equal to 1 except that p = 0: the default Euclidean norm which corresponds to p = 2, and p = -1: the infinity norm. 
| [in] | x | The input vector. | 
| [in] | p | The number which is greater than or equal to -1 corresponding to the norm type. | 
Calculates the scalar dot product of x and y for the real part.    
Calculates the scalar dot product of x and y for the real part.    
Calculates the scalar dot product of x and y for the real part.    
Calculates the scalar dot product of x and y for the real part. 
Calculates the scalar dot product of x and y for complex data.    
Calculates the scalar dot product of x and y for complex data.    
Calculates the scalar dot product of x and y for complex data.    
Calculates the scalar dot product of x and y for complex data. 
| double svvar | ( | spSVector | x, | 
| double * | mean ) | 
Calculates the variance of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| double lvvar | ( | spLVector | x, | 
| double * | mean ) | 
Calculates the variance of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| float fvvar | ( | spFVector | x, | 
| float * | mean ) | 
Calculates the variance of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| double dvvar | ( | spDVector | x, | 
| double * | mean ) | 
Calculates the variance of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| double svstd | ( | spSVector | x, | 
| double * | mean ) | 
Calculates the standard deviation of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| double lvstd | ( | spLVector | x, | 
| double * | mean ) | 
Calculates the standard deviation of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| float fvstd | ( | spFVector | x, | 
| float * | mean ) | 
Calculates the standard deviation of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| double dvstd | ( | spDVector | x, | 
| double * | mean ) | 
Calculates the standard deviation of the real elements of x . 
| [in] | x | The input vector. | 
| [out] | mean | The address of a variable to receive the mean of real elements of x. This can be NULL. | 
| short svmin | ( | spSVector | x, | 
| long * | index ) | 
Finds the smallest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the smallest element. This can be NULL. | 
| long lvmin | ( | spLVector | x, | 
| long * | index ) | 
Finds the smallest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the smallest element. This can be NULL. | 
| float fvmin | ( | spFVector | x, | 
| long * | index ) | 
Finds the smallest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the smallest element. This can be NULL. | 
| double dvmin | ( | spDVector | x, | 
| long * | index ) | 
Finds the smallest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the smallest element. This can be NULL. | 
| short svmax | ( | spSVector | x, | 
| long * | index ) | 
Finds the largest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the largest element. This can be NULL. | 
| long lvmax | ( | spLVector | x, | 
| long * | index ) | 
Finds the largest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the largest element. This can be NULL. | 
| float fvmax | ( | spFVector | x, | 
| long * | index ) | 
Finds the largest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the largest element. This can be NULL. | 
| double dvmax | ( | spDVector | x, | 
| long * | index ) | 
Finds the largest real elements of x . 
| [in] | x | The input vector. | 
| [in] | index | The address of a variable to receive the index of the largest element. This can be NULL. | 
| void svscmin | ( | spSVector | x, | 
| short | a ) | 
Takes the smallest value between each element of x and a .    
| void lvscmin | ( | spLVector | x, | 
| long | a ) | 
Takes the smallest value between each element of x and a .    
| void fvscmin | ( | spFVector | x, | 
| float | a ) | 
Takes the smallest value between each element of x and a .    
| void dvscmin | ( | spDVector | x, | 
| double | a ) | 
Takes the smallest value between each element of x and a . 
| void svscmax | ( | spSVector | x, | 
| short | a ) | 
Takes the largest value between each element of x and a .    
| void lvscmax | ( | spLVector | x, | 
| long | a ) | 
Takes the largest value between each element of x and a .    
| void fvscmax | ( | spFVector | x, | 
| float | a ) | 
Takes the largest value between each element of x and a .    
| void dvscmax | ( | spDVector | x, | 
| double | a ) | 
Takes the largest value between each element of x and a . 
Takes the smallest value between each element of x and that of y .    
Takes the smallest value between each element of x and that of y .    
Takes the smallest value between each element of x and that of y .    
Takes the smallest value between each element of x and that of y . 
Takes the largest value between each element of x and that of y .    
Takes the largest value between each element of x and that of y .    
Takes the largest value between each element of x and that of y .    
Takes the largest value between each element of x and that of y . 
| void svsort | ( | spSVector | x | ) | 
Sorts the real elements of x in ascending order.    
| void lvsort | ( | spLVector | x | ) | 
Sorts the real elements of x in ascending order.    
| void fvsort | ( | spFVector | x | ) | 
Sorts the real elements of x in ascending order.    
| void dvsort | ( | spDVector | x | ) | 
Sorts the real elements of x in ascending order. 
Creates a new vector containing the sorted real elements x in ascending order.    
Creates a new vector containing the sorted real elements x in ascending order.    
Creates a new vector containing the sorted real elements x in ascending order.    
Creates a new vector containing the sorted real elements x in ascending order. 
Sorts the real elements of x in ascending order and returns the index vector which describes the rearrangement of th elements in sorting. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
Sorts the real elements of x in ascending order and returns the index vector which describes the rearrangement of th elements in sorting. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
Sorts the real elements of x in ascending order and returns the index vector which describes the rearrangement of th elements in sorting. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
Sorts the real elements of x in ascending order and returns the index vector which describes the rearrangement of th elements in sorting. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
| double svmedian | ( | spSVector | x | ) | 
Sorts the real elements of x and calculates the median value. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
| double lvmedian | ( | spLVector | x | ) | 
Sorts the real elements of x and calculates the median value. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
| float fvmedian | ( | spFVector | x | ) | 
Sorts the real elements of x and calculates the median value. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
| double dvmedian | ( | spDVector | x | ) | 
Sorts the real elements of x and calculates the median value. 
| [in,out] | x | The input vector. After calling this function, the elements are sorted in ascending order. | 
Sorts the real elements of x and calculates the median value. 
| [in] | x | The input vector. | 
| [out] | median | The address of a variable to receive the median value. | 
Sorts the real elements of x and calculates the median value. 
| [in] | x | The input vector. | 
| [out] | median | The address of a variable to receive the median value. | 
Sorts the real elements of x and calculates the median value. 
| [in] | x | The input vector. | 
| [out] | median | The address of a variable to receive the median value. | 
Sorts the real elements of x and calculates the median value. 
| [in] | x | The input vector. | 
| [out] | median | The address of a variable to receive the median value. | 
| long svzerocross | ( | spSVector | x, | 
| int | slope_sign ) | 
Counts the number of zero-crossings of the input vector x . 
| [in] | x | The input vector. | 
| [in] | slope_sign | The switch to determine which slope direction is used to calculate the zero-crossings; 0: both directions, 1: positive direction only, and -1: negative direction only. | 
| long lvzerocross | ( | spLVector | x, | 
| int | slope_sign ) | 
Counts the number of zero-crossings of the input vector x . 
| [in] | x | The input vector. | 
| [in] | slope_sign | The switch to determine which slope direction is used to calculate the zero-crossings; 0: both directions, 1: positive direction only, and -1: negative direction only. | 
| long fvzerocross | ( | spFVector | x, | 
| int | slope_sign ) | 
Counts the number of zero-crossings of the input vector x . 
| [in] | x | The input vector. | 
| [in] | slope_sign | The switch to determine which slope direction is used to calculate the zero-crossings; 0: both directions, 1: positive direction only, and -1: negative direction only. | 
| long dvzerocross | ( | spDVector | x, | 
| int | slope_sign ) | 
Counts the number of zero-crossings of the input vector x . 
| [in] | x | The input vector. | 
| [in] | slope_sign | The switch to determine which slope direction is used to calculate the zero-crossings; 0: both directions, 1: positive direction only, and -1: negative direction only. | 
| void fvangle | ( | spFVector | x | ) | 
Calculates the phase angle of each element of x .    
Creates a new vector whose each element is the phase angle of the corresponding element of x .    
| void dvangle | ( | spDVector | x | ) | 
Calculates the phase angle of each element of x . 
Creates a new vector whose each element is the phase angle of the corresponding element of x . 
| void fvcos | ( | spFVector | x | ) | 
Calculates cos of each element of x .    
| void dvcos | ( | spDVector | x | ) | 
Calculates cos of each element of x . 
Creates a new vector whose each element is cos of the corresponding element of x .    
Creates a new vector whose each element is cos of the corresponding element of x . 
| void fvsin | ( | spFVector | x | ) | 
Calculates sin of each element of x .    
| void dvsin | ( | spDVector | x | ) | 
Calculates sin of each element of x . 
Creates a new vector whose each element is sin of the corresponding element of x .    
Creates a new vector whose each element is sin of the corresponding element of x . 
| void fvtan | ( | spFVector | x | ) | 
Calculates tan of each element of x .    
| void dvtan | ( | spDVector | x | ) | 
Calculates tan of each element of x . 
Creates a new vector whose each element is tan of the corresponding element of x .    
Creates a new vector whose each element is tan of the corresponding element of x . 
| void fvcosh | ( | spFVector | x | ) | 
Calculates cosh of each element of x .    
| void dvcosh | ( | spDVector | x | ) | 
Calculates cosh of each element of x . 
Creates a new vector whose each element is cosh of the corresponding element of x .    
Creates a new vector whose each element is cosh of the corresponding element of x . 
| void fvsinh | ( | spFVector | x | ) | 
Calculates sinh of each element of x .    
| void dvsinh | ( | spDVector | x | ) | 
Calculates sinh of each element of x . 
Creates a new vector whose each element is sinh of the corresponding element of x .    
Creates a new vector whose each element is sinh of the corresponding element of x . 
| void fvtanh | ( | spFVector | x | ) | 
Calculates tanh of each element of x .    
| void dvtanh | ( | spDVector | x | ) | 
Calculates tanh of each element of x . 
Creates a new vector whose each element is tanh of the corresponding element of x .    
Creates a new vector whose each element is tanh of the corresponding element of x . 
| void fvacos | ( | spFVector | x | ) | 
Calculates acos of each element of x .    
| void dvacos | ( | spDVector | x | ) | 
Calculates acos of each element of x . 
Creates a new vector whose each element is acos of the corresponding element of x .    
Creates a new vector whose each element is acos of the corresponding element of x . 
| void fvasin | ( | spFVector | x | ) | 
Calculates asin of each element of x .    
| void dvasin | ( | spDVector | x | ) | 
Calculates asin of each element of x . 
Creates a new vector whose each element is asin of the corresponding element of x .    
Creates a new vector whose each element is asin of the corresponding element of x . 
| void fvatan | ( | spFVector | x | ) | 
Calculates atan of each element of x .    
| void dvatan | ( | spDVector | x | ) | 
Calculates atan of each element of x . 
Creates a new vector whose each element is atan of the corresponding element of x .    
Creates a new vector whose each element is atan of the corresponding element of x . 
Calculates atan2(y, x) for each element and overwrites the result to y . If reverse is SP_TRUE , this function calculates atan2(x, y) for each element and overwrites the result to y . The imaginary parts of y and x are not used.    
Calculates atan2(y, x) for each element and overwrites the result to y . If reverse is SP_TRUE , this function calculates atan2(x, y) for each element and overwrites the result to y . The imaginary parts of y and x are not used. 
Creates a new vector whose each element is atan2 of the corresponding element of x . The imaginary parts of y and x are not used.    
Creates a new vector whose each element is atan2 of the corresponding element of x . The imaginary parts of y and x are not used. 
| void fvexp | ( | spFVector | x | ) | 
Calculates exp of each element of x .    
| void dvexp | ( | spDVector | x | ) | 
Calculates exp of each element of x . 
Creates a new vector whose each element is exp of the corresponding element of x .    
Creates a new vector whose each element is exp of the corresponding element of x . 
| void fvlog | ( | spFVector | x | ) | 
Calculates log of each element of x .    
| void dvlog | ( | spDVector | x | ) | 
Calculates log of each element of x . 
Creates a new vector whose each element is log of the corresponding element of x .    
Creates a new vector whose each element is log of the corresponding element of x . 
| void fvlog10 | ( | spFVector | x | ) | 
Calculates log10 of each element of x .    
| void dvlog10 | ( | spDVector | x | ) | 
Calculates log10 of each element of x . 
Creates a new vector whose each element is log10 of the corresponding element of x .    
Creates a new vector whose each element is log10 of the corresponding element of x . 
| void fvdecibela | ( | spFVector | x | ) | 
Calculates 20*log10(x) of each element of x . If x includes negative values, the result is undefined.    
| void dvdecibela | ( | spDVector | x | ) | 
Calculates 20*log10(x) of each element of x . If x includes negative values, the result is undefined. 
Creates a new vector whose each element is 20*log10(x) of the corresponding element of x . If x includes negative values, the result is undefined.    
Creates a new vector whose each element is 20*log10(x) of the corresponding element of x . If x includes negative values, the result is undefined. 
| void fvdecibelp | ( | spFVector | x | ) | 
Calculates 10*log10(x) of each element of x . If x includes negative values, the result is undefined.    
| void dvdecibelp | ( | spDVector | x | ) | 
Calculates 10*log10(x) of each element of x . If x includes negative values, the result is undefined. 
Creates a new vector whose each element is 10*log10(x) of the corresponding element of x . If x includes negative values, the result is undefined.    
Creates a new vector whose each element is 10*log10(x) of the corresponding element of x . If x includes negative values, the result is undefined. 
| void fvundecibelp | ( | spFVector | x | ) | 
Calculates 10^(x/10) of each element of x .    
| void dvundecibelp | ( | spDVector | x | ) | 
Calculates 10^(x/10) of each element of x . 
Creates a new vector whose each element is 10^(x/10) of the corresponding element of x .    
Creates a new vector whose each element is 10^(x/10) of the corresponding element of x . 
| void fvdecibel | ( | spFVector | x | ) | 
Calculates 10*log10(|x|^2) of each element of x .    
| void dvdecibel | ( | spDVector | x | ) | 
Calculates 10*log10(|x|^2) of each element of x . 
Creates a new vector whose each element is 10*log10(|x|^2) of the corresponding element of x .    
Creates a new vector whose each element is 10*log10(|x|^2) of the corresponding element of x . 
| void fvundecibel | ( | spFVector | x | ) | 
Calculates 10^(x/20) of each element of x .    
| void dvundecibel | ( | spDVector | x | ) | 
Calculates 10^(x/20) of each element of x . 
Creates a new vector whose each element is 10^(x/20) of the corresponding element of x .    
Creates a new vector whose each element is 10^(x/20) of the corresponding element of x . 
| void fvrandun | ( | spFVector | x | ) | 
Calculates a uniformly distributed random number in the interval (0,1) for each element of x .    
| void dvrandun | ( | spDVector | x | ) | 
Calculates a uniformly distributed random number in the interval (0,1) for each element of x . 
Creates a new plugin-based vector whose each element is a uniformly distributed random number in the interval (0,1).
Creates a new plugin-based vector whose each element is a uniformly distributed random number in the interval (0,1).
| spFVector xfvrandun | ( | long | length | ) | 
Creates a new vector whose each element is a uniformly distributed random number in the interval (0,1).
| spDVector xdvrandun | ( | long | length | ) | 
Creates a new vector whose each element is a uniformly distributed random number in the interval (0,1).
| void fvgauss | ( | spFVector | x, | 
| float | mu, | ||
| float | sigma ) | 
Calculates a Gaussian random number with the mean of mu and the standard dev. of sigma for each element of x .    
| void dvgauss | ( | spDVector | x, | 
| double | mu, | ||
| double | sigma ) | 
Calculates a Gaussian random number with the mean of mu and the standard dev. of sigma for each element of x . 
Creates a new plugin-based vector whose each element is a Gaussian random number with the mean of mu and the standard dev. of sigma .    
| spDVector xdvgaussul | ( | spPlugin * | plugin, | 
| long | length, | ||
| double | mu, | ||
| double | sigma, | ||
| spBool | unlock_flag ) | 
Creates a new plugin-based vector whose each element is a Gaussian random number with the mean of mu and the standard dev. of sigma . 
| spFVector xfvgauss | ( | long | length, | 
| float | mu, | ||
| float | sigma ) | 
Creates a new vector whose each element is a Gaussian random number with the mean of mu and the standard dev. of sigma .    
| spDVector xdvgauss | ( | long | length, | 
| double | mu, | ||
| double | sigma ) | 
Creates a new vector whose each element is a Gaussian random number with the mean of mu and the standard dev. of sigma . 
| void fvrandn | ( | spFVector | x | ) | 
Calculates a normally distributed random number for each element of x .    
| void dvrandn | ( | spDVector | x | ) | 
Calculates a normally distributed random number for each element of x . 
Creates a new plugin-based vector whose each element is a normally distributed random number.
Creates a new plugin-based vector whose each element is a normally distributed random number.
| spFVector xfvrandn | ( | long | length | ) | 
Creates a new vector whose each element is a normally distributed random number.
| spDVector xdvrandn | ( | long | length | ) | 
Creates a new vector whose each element is a normally distributed random number.