22 #ifndef _BLAZE_MATH_DYNAMICVECTOR_H_
23 #define _BLAZE_MATH_DYNAMICVECTOR_H_
52 template<
typename Type
54 class Rand< DynamicVector<Type,TF> >
60 inline const DynamicVector<Type,TF>
generate(
size_t n )
const;
62 template<
typename Arg >
63 inline const DynamicVector<Type,TF>
generate(
size_t n,
const Arg&
min,
const Arg&
max )
const;
70 inline void randomize( DynamicVector<Type,TF>& vector )
const;
72 template<
typename Arg >
73 inline void randomize( DynamicVector<Type,TF>& vector,
const Arg&
min,
const Arg&
max )
const;
88 template<
typename Type
90 inline const DynamicVector<Type,TF> Rand< DynamicVector<Type,TF> >::generate(
size_t n )
const
92 DynamicVector<Type,TF> vector( n );
109 template<
typename Type
111 template<
typename Arg >
112 inline const DynamicVector<Type,TF>
113 Rand< DynamicVector<Type,TF> >::generate(
size_t n,
const Arg&
min,
const Arg&
max )
const
115 DynamicVector<Type,TF> vector( n );
130 template<
typename Type
132 inline void Rand< DynamicVector<Type,TF> >
::randomize( DynamicVector<Type,TF>& vector )
const
136 const size_t size( vector.size() );
137 for(
size_t i=0UL; i<size; ++i ) {
154 template<
typename Type
156 template<
typename Arg >
157 inline void Rand< DynamicVector<Type,TF> >
::randomize( DynamicVector<Type,TF>& vector,
158 const Arg&
min,
const Arg&
max )
const
162 const size_t size( vector.size() );
163 for(
size_t i=0UL; i<size; ++i ) {