Initializes a random vector with a Gaussian distribution.
IppStatus ippsRandomNoiseExcitation_G729B_16s (Ipp16s* pSeed, Ipp16s* pExc, int len);
IppStatus ippsRandomNoiseExcitation_G729B_16s32f(Ipp16s* pSeed, Ipp32f* pExc, int len);
pSeed |
Pointer to the input/output seed of random generator. |
pExc |
Pointer to the destination vector. |
len |
Length of the destination vector. |
The function ippsRandomNoiseExcitation_G729B is declared in the ippsc.h file. This function generates random excitations as follows:
n = 0,..., len-1
where ξk+1 = 31821* ξk + 13839, ξ0 = pSeed.
The seed of the random generator ξ is updated.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error when len is less than or equal to 0. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.