35#ifndef _BLAZE_MATH_HYBRIDVECTOR_H_
36#define _BLAZE_MATH_HYBRIDVECTOR_H_
66template<
typename Type
81 inline const HybridVector<Type,N,TF,AF,PF,Tag>
generate(
size_t n )
const
83 HybridVector<Type,N,TF,AF,PF,Tag> vector( n );
97 template<
typename Arg >
98 inline const HybridVector<Type,N,TF,AF,PF,Tag>
101 HybridVector<Type,N,TF,AF,PF,Tag> vector( n );
113 inline void randomize( HybridVector<Type,N,TF,AF,PF,Tag>& vector )
const
117 for(
size_t i=0UL; i<vector.size(); ++i ) {
131 template<
typename Arg >
132 inline void randomize( HybridVector<Type,N,TF,AF,PF,Tag>& vector,
133 const Arg&
min,
const Arg&
max )
const
137 for(
size_t i=0UL; i<vector.size(); ++i ) {
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 dynamically sized vector with static memory.
Definition HybridVector.h:222
Default implementation of the Rand class.
Definition Random.h:230
Header file for the HybridVector class template.
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
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
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
void randomize(T &&value)
Randomization of a given variable.
Definition Random.h:626
Implementation of a random number generator.