35 #ifndef _BLAZE_MATH_DENSESUBMATRIX_H_
36 #define _BLAZE_MATH_DENSESUBMATRIX_H_
69 class Rand< DenseSubmatrix<MT,AF,SO> >
77 template<
typename Arg >
78 inline void randomize( DenseSubmatrix<MT,AF,SO>&
submatrix,
const Arg& min,
const Arg& max )
const;
96 inline void Rand< DenseSubmatrix<MT,AF,SO> >
::randomize( DenseSubmatrix<MT,AF,SO>&
submatrix )
const
101 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
102 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
108 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
109 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
128 template<
typename MT
131 template<
typename Arg >
132 inline void Rand< DenseSubmatrix<MT,AF,SO> >
::randomize( DenseSubmatrix<MT,AF,SO>& submatrix,
133 const Arg& min,
const Arg& max )
const
138 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
139 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
145 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
146 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
Header file for all restructuring submatrix functions.
void randomize(T &value)
Randomization of a given variable.
Definition: Random.h:1043
Implementation of a random number generator.
Header file for all restructuring subvector functions.
Header file for the DenseSubmatrix class template.
void randomize(T &value) const
Randomization of the given variable with a new value in the range .
Definition: Random.h:262
Header file for the DenseSubvector class template.
SubmatrixExprTrait< MT, unaligned >::Type submatrix(Matrix< MT, SO > &matrix, size_t row, size_t column, size_t m, size_t n)
Creating a view on a specific submatrix of the given matrix.
Definition: Submatrix.h:134
const bool rowMajor
Storage order flag for row-major matrices.
Definition: StorageOrder.h:71
Header file for the SparseSubmatrix class template.