35#ifndef _BLAZE_MATH_UNIFORMMATRIX_H_
36#define _BLAZE_MATH_UNIFORMMATRIX_H_
64template<
typename Type
67class Rand< UniformMatrix<Type,SO,Tag> >
77 inline const UniformMatrix<Type,SO,Tag>
generate(
size_t m,
size_t n )
const
79 UniformMatrix<Type,SO,Tag> matrix( m, n );
94 template<
typename Arg >
95 inline const UniformMatrix<Type,SO,Tag>
96 generate(
size_t m,
size_t n,
const Arg&
min,
const Arg&
max )
const
98 UniformMatrix<Type,SO,Tag> matrix( m, n );
110 inline void randomize( UniformMatrix<Type,SO,Tag>& matrix )
const
112 matrix = rand<Type>();
124 template<
typename Arg >
125 inline void randomize( UniformMatrix<Type,SO,Tag>& matrix,
126 const Arg&
min,
const Arg&
max )
const
128 matrix = rand<Type>(
min,
max );
Header file for all basic DenseMatrix 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.