RandomNoiseExcitation_G729B

Initializes a random vector with a Gaussian distribution.

Syntax

IppStatus ippsRandomNoiseExcitation_G729B_16s (Ipp16s* pSeed, Ipp16s* pExc, int len);

IppStatus ippsRandomNoiseExcitation_G729B_16s32f(Ipp16s* pSeed, Ipp32f* pExc, int len);

Parameters

pSeed

Pointer to the input/output seed of random generator.

pExc

Pointer to the destination vector.

len

Length of the destination vector.

Description

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.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.