RandGaussFree

Closes the Gaussian distribution generator state.

Syntax

IppStatus ippsRandGaussFree_8u(IppsRandGaussState_8u* pRandGaussState);

IppStatus ippsRandGaussFree_16s(IppsRandGaussState_16s* pRandGaussState);

IppStatus ippsRandGaussFree_32f(IppsRandGaussState_32f* pRandGaussState);

Parameters

pRandGaussState

Pointer to the structure containing parameters for the generator of noise.

Description

The function ippsRandGaussFree is declared in the ipps.h file. This function closes the noise generator state pRandGaussState by freeing all memory allocated by the function ippsRandGaussInitAlloc.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pRandGaussState pointer is NULL.

ippStsContextMatchErr

Indicates an error when the state identifier is incorrect.

Submit feedback on this help topic

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