35#ifndef _BLAZE_MATH_CUSTOMVECTOR_H_
36#define _BLAZE_MATH_CUSTOMVECTOR_H_
68template<
typename Type
83 inline void randomize( CustomVector<Type,AF,PF,TF,Tag,RT>& vector )
const
87 const size_t size( vector.size() );
88 for(
size_t i=0UL; i<
size; ++i ) {
102 template<
typename Arg >
103 inline void randomize( CustomVector<Type,AF,PF,TF,Tag,RT>& vector,
104 const Arg&
min,
const Arg&
max )
const
108 const size_t size( vector.size() );
109 for(
size_t i=0UL; i<
size; ++i ) {
Header file for the alignment flag enumeration.
Header file for all basic DenseVector functionality.
Header file for the complete DynamicMatrix implementation.
Header file for the complete ZeroVector implementation.
Efficient implementation of a customizable vector.
Definition CustomVector.h:407
Default implementation of the Rand class.
Definition Random.h:230
Header file for the implementation of a customizable vector.
Header file for the implementation of an arbitrarily sized vector.
Header file for the implementation of a fixed-size vector.
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
PaddingFlag
Padding flag for (un-)padded vectors and matrices.
Definition PaddingFlag.h:77
AlignmentFlag
Alignment flag for (un-)aligned vectors and matrices.
Definition AlignmentFlag.h:63
constexpr size_t size(const Matrix< MT, SO > &matrix) noexcept
Returns the total number of elements of the matrix.
Definition Matrix.h:676
void randomize(T &&value)
Randomization of a given variable.
Definition Random.h:626
Implementation of a random number generator.