35 #ifndef _BLAZE_MATH_DENSESUBMATRIX_H_
36 #define _BLAZE_MATH_DENSESUBMATRIX_H_
71 class Rand< DenseSubmatrix<MT,AF,SO> >
79 template<
typename Arg >
80 inline void randomize( DenseSubmatrix<MT,AF,SO>&
submatrix,
const Arg& min,
const Arg& max )
const;
98 inline void Rand< DenseSubmatrix<MT,AF,SO> >
::randomize( DenseSubmatrix<MT,AF,SO>&
submatrix )
const
103 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
104 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
110 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
111 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
130 template<
typename MT
133 template<
typename Arg >
134 inline void Rand< DenseSubmatrix<MT,AF,SO> >
::randomize( DenseSubmatrix<MT,AF,SO>& submatrix,
135 const Arg& min,
const Arg& max )
const
140 for(
size_t i=0UL; i<submatrix.rows(); ++i ) {
141 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
147 for(
size_t j=0UL; j<submatrix.columns(); ++j ) {
148 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
Header file for the sparse matrix SMP implementation.
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 dense matrix SMP implementation.
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:136
const bool rowMajor
Storage order flag for row-major matrices.
Definition: StorageOrder.h:71
Header file for the SparseSubmatrix class template.