35#ifndef _BLAZE_MATH_UNIFORMVECTOR_H_
36#define _BLAZE_MATH_UNIFORMVECTOR_H_
64template<
typename Type
67class Rand< UniformVector<Type,TF,Tag> >
76 inline const UniformVector<Type,TF,Tag>
generate(
size_t n )
const
78 UniformVector<Type,TF,Tag> vector( n );
92 template<
typename Arg >
93 inline const UniformVector<Type,TF,Tag>
generate(
size_t n,
const Arg&
min,
const Arg&
max )
const
95 UniformVector<Type,TF,Tag> vector( n );
107 inline void randomize( UniformVector<Type,TF,Tag>& vector )
const
109 vector = rand<Type>();
121 template<
typename Arg >
122 inline void randomize( UniformVector<Type,TF,Tag>& vector,
123 const Arg&
min,
const Arg&
max )
const
125 vector = rand<Type>(
min,
max );
Header file for all basic DenseVector functionality.
decltype(auto) min(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise minimum of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1339
decltype(auto) max(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise maximum of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1375
decltype(auto) generate(size_t m, size_t n, OP op)
Generates a new dense matrix filled via the given custom binary operation.
Definition: DMatGenExpr.h:675
void randomize(T &&value)
Randomization of a given variable.
Definition: Random.h:626
Implementation of a random number generator.
Header file for basic type definitions.