35 #ifndef _BLAZE_MATH_STATICVECTOR_H_ 36 #define _BLAZE_MATH_STATICVECTOR_H_ 65 template<
typename Type
68 class Rand< StaticVector<Type,N,TF> >
74 inline const StaticVector<Type,N,TF>
generate()
const;
76 template<
typename Arg >
77 inline const StaticVector<Type,N,TF>
generate(
const Arg&
min,
const Arg&
max )
const;
84 inline void randomize( StaticVector<Type,N,TF>& vector )
const;
86 template<
typename Arg >
87 inline void randomize( StaticVector<Type,N,TF>& vector,
const Arg&
min,
const Arg&
max )
const;
101 template<
typename Type
104 inline const StaticVector<Type,N,TF> Rand< StaticVector<Type,N,TF> >
::generate()
const 106 StaticVector<Type,N,TF> vector;
122 template<
typename Type
125 template<
typename Arg >
126 inline const StaticVector<Type,N,TF>
127 Rand< StaticVector<Type,N,TF> >
::generate(
const Arg&
min,
const Arg&
max )
const 129 StaticVector<Type,N,TF> vector;
144 template<
typename Type
147 inline void Rand< StaticVector<Type,N,TF> >
::randomize( StaticVector<Type,N,TF>& vector )
const 151 for(
size_t i=0UL; i<N; ++i ) {
168 template<
typename Type
171 template<
typename Arg >
172 inline void Rand< StaticVector<Type,N,TF> >
::randomize( StaticVector<Type,N,TF>& vector,
173 const Arg&
min,
const Arg&
max )
const 177 for(
size_t i=0UL; i<N; ++i ) {
Header file for the implementation of a fixed-size vector.
void randomize(T &&value)
Randomization of a given variable.
Definition: Random.h:929
const ElementType_< MT > min(const DenseMatrix< MT, SO > &dm)
Returns the smallest element of the dense matrix.
Definition: DenseMatrix.h:1903
Implementation of a random number generator.
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1950
void randomize(T &value) const
Randomization of the given variable with a new value in the range .
Definition: Random.h:292
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the complete DynamicVector implementation.
Header file for all basic DenseVector functionality.
T generate() const
Generation of a random value in the range .
Definition: Random.h:252
Header file for the complete StaticMatrix implementation.