16 #ifndef __IPSDKUTIL_INSTRUCTIONSET_NORMALRANDOM_H__ 17 #define __IPSDKUTIL_INSTRUCTIONSET_NORMALRANDOM_H__ 19 #pragma warning (push) 20 #pragma warning (disable:4251) 37 template <eInstructionSet::domain instructionSet, eInstructionSet::domain instructionSetFma,
typename T>
55 _bGenerate = !_bGenerate;
63 randomPack, _savedRandomPack);
67 return _savedRandomPack;
88 #endif // __IPSDKUTIL_INSTRUCTIONSET_NORMALRANDOM_H__ Defines the IPSDK_FORCEINLINE.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKMATH_API ipReal64 mean(const std::vector< T > &coll)
function allowing to compute mean for a vector
NormalRandom(ipsdk::ipReal32 mean, ipsdk::ipReal32 sigma)
constructor; create a NormalRandom object, that will generate random values whose distribution follow...
Definition: NormalRandom.h:38
NormalRandomPack<eInstructionSet::domain instructionSet, typename T, typename Enable=void> structure...
generator of random values, based on LCG; this generator is fast, but must not be used for applicatio...
IPSDK_FORCEINLINE BasePack< IS2PackType< instructionSet >::_packType, T > operator()()
generate a random value of type T to each element of a Pack<instructionSet, T>
Definition: NormalRandom.h:53
Definition of import/export macro for library.
Definition: NormalRandomPack.h:34
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53
structure containing intrinsic registers used to store vectorized data
Definition: BasePackDecl.h:29