RandUniformFree

Closes the uniform distribution generator state.

Syntax

IppStatus ippsRandUniformFree_8u(IppsRandUniState_8u* pRandUniState);

IppStatus ippsRandUniformFree_16s(IppsRandUniState_16s* pRandUniState);

IppStatus ippsRandUniformFree_32f(IppsRandUniState_32f* pRandUniState);

Parameters

pRandUniState

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

Description

The function ippsRandUniformFree is declared in the ipps.h file. This function closes the noise generator state pRandUniState by freeing all memory allocated by the function ippsRandUniformInitAlloc.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pRandUniState 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.