#include <shark/LinAlg/BLAS/matrix_set.hpp>
Public Types | |
typedef array_type::const_reference | const_reference |
typedef array_type::reference | reference |
typedef value_type const * | const_pointer |
typedef value_type * | pointer |
typedef element_type::const_index_pointer | const_index_pointer |
typedef element_type::index_pointer | index_pointer |
typedef element_type::storage_category | storage_category |
typedef element_type::orientation | orientation |
typedef array_type::iterator | iterator |
typedef array_type::const_iterator | const_iterator |
Public Member Functions | |
matrix_set () | |
Default matrix_set constructor. Make a dense matrix_set of size (0,0) More... | |
matrix_set (size_type size) | |
matrix_set (size_type size, value_type const &init) | |
template<class E > | |
matrix_set (matrix_set_expression< E > const &e) | |
matrix_set (size_type size, size_type size1, size_type size2) | |
size_type | size () const |
Returns the number of matrices in the set. More... | |
size_type | size1 () const |
Returns the first dimension of the matrices in the set. More... | |
size_type | size2 () const |
Returns the second dimension of the matrices in the set. More... | |
void | resize (size_type size) |
const_reference | operator() (index_type i) const |
Return a const reference to the element \(i\). More... | |
reference | operator() (index_type i) |
Return a reference to the element \(i\). More... | |
const_reference | operator[] (index_type i) const |
Return a const reference to the element \(i\). More... | |
reference | operator[] (index_type i) |
Return a reference to the element \(i\). More... | |
reference | front () |
Returns the first element of the vector. More... | |
const_reference | front () const |
Returns the first element of the vector. More... | |
reference | back () |
Returns the last element of the vector. More... | |
const_reference | back () const |
Returns the last element of the vector. More... | |
const_iterator | cbegin () const |
return a const iterator on the first element of the vector More... | |
const_iterator | cend () const |
return a const iterator after the last element of the vector More... | |
const_iterator | begin () const |
return an iterator on the first element of the vector More... | |
const_iterator | end () const |
return an iterator after the last element of the vector More... | |
iterator | begin () |
Return an iterator on the first element of the vector. More... | |
iterator | end () |
Return an iterator at the end of the vector. More... | |
template<class E > | |
matrix_set & | assign (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | plus_assign (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | minus_assign (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | multiply_assign (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | divide_assign (matrix_set_expression< E > const &e) |
matrix_set & | operator= (matrix_set m) |
template<class E > | |
matrix_set & | operator= (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | operator+= (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | operator-= (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | operator*= (matrix_set_expression< E > const &e) |
template<class E > | |
matrix_set & | operator/= (matrix_set_expression< E > const &e) |
matrix_set & | operator*= (scalar_type t) |
matrix_set & | operator/= (scalar_type t) |
void | swap (matrix_set &m) |
void | clear () |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
Definition at line 39 of file matrix_set.hpp.
typedef element_type::const_index_pointer shark::blas::matrix_set< element_type >::const_index_pointer |
Definition at line 55 of file matrix_set.hpp.
typedef array_type::const_iterator shark::blas::matrix_set< element_type >::const_iterator |
Definition at line 161 of file matrix_set.hpp.
typedef value_type const* shark::blas::matrix_set< element_type >::const_pointer |
Definition at line 51 of file matrix_set.hpp.
typedef array_type::const_reference shark::blas::matrix_set< element_type >::const_reference |
Definition at line 49 of file matrix_set.hpp.
typedef element_type::index_pointer shark::blas::matrix_set< element_type >::index_pointer |
Definition at line 56 of file matrix_set.hpp.
typedef array_type::iterator shark::blas::matrix_set< element_type >::iterator |
Definition at line 160 of file matrix_set.hpp.
typedef element_type::orientation shark::blas::matrix_set< element_type >::orientation |
Definition at line 61 of file matrix_set.hpp.
typedef value_type* shark::blas::matrix_set< element_type >::pointer |
Definition at line 52 of file matrix_set.hpp.
typedef array_type::reference shark::blas::matrix_set< element_type >::reference |
Definition at line 50 of file matrix_set.hpp.
typedef element_type::storage_category shark::blas::matrix_set< element_type >::storage_category |
Definition at line 60 of file matrix_set.hpp.
|
inline |
Default matrix_set constructor. Make a dense matrix_set of size (0,0)
Definition at line 66 of file matrix_set.hpp.
|
inline |
matrix_set constructor with defined size
size | number of element matrices |
Definition at line 71 of file matrix_set.hpp.
|
inline |
matrix_set constructor with defined size
size | number of element matrices |
init | initial value for matrices |
Definition at line 77 of file matrix_set.hpp.
|
inline |
Copy-constructor of a dense matrix_set from a matrix_set expression
e | is a matrix_set expression |
Definition at line 83 of file matrix_set.hpp.
|
inline |
Definition at line 87 of file matrix_set.hpp.
|
inline |
Definition at line 196 of file matrix_set.hpp.
Referenced by shark::blas::matrix_set< RealMatrix >::matrix_set().
|
inline |
Returns the last element of the vector.
Definition at line 149 of file matrix_set.hpp.
|
inline |
Returns the last element of the vector.
Definition at line 153 of file matrix_set.hpp.
|
inline |
return an iterator on the first element of the vector
Definition at line 174 of file matrix_set.hpp.
|
inline |
Return an iterator on the first element of the vector.
Definition at line 184 of file matrix_set.hpp.
|
inline |
return a const iterator on the first element of the vector
Definition at line 164 of file matrix_set.hpp.
|
inline |
return a const iterator after the last element of the vector
Definition at line 169 of file matrix_set.hpp.
|
inline |
Definition at line 303 of file matrix_set.hpp.
Referenced by shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::setStructure().
|
inline |
Definition at line 229 of file matrix_set.hpp.
|
inline |
return an iterator after the last element of the vector
Definition at line 179 of file matrix_set.hpp.
|
inline |
Return an iterator at the end of the vector.
Definition at line 189 of file matrix_set.hpp.
|
inline |
Returns the first element of the vector.
Definition at line 141 of file matrix_set.hpp.
|
inline |
Returns the first element of the vector.
Definition at line 145 of file matrix_set.hpp.
|
inline |
Definition at line 212 of file matrix_set.hpp.
|
inline |
Definition at line 221 of file matrix_set.hpp.
|
inline |
Return a const reference to the element \(i\).
Definition at line 121 of file matrix_set.hpp.
|
inline |
Return a reference to the element \(i\).
Definition at line 126 of file matrix_set.hpp.
|
inline |
Definition at line 267 of file matrix_set.hpp.
|
inline |
Definition at line 284 of file matrix_set.hpp.
|
inline |
Definition at line 249 of file matrix_set.hpp.
|
inline |
Definition at line 258 of file matrix_set.hpp.
|
inline |
Definition at line 276 of file matrix_set.hpp.
|
inline |
Definition at line 290 of file matrix_set.hpp.
|
inline |
Definition at line 238 of file matrix_set.hpp.
|
inline |
Definition at line 243 of file matrix_set.hpp.
|
inline |
Return a const reference to the element \(i\).
Definition at line 131 of file matrix_set.hpp.
|
inline |
Return a reference to the element \(i\).
Definition at line 136 of file matrix_set.hpp.
|
inline |
Definition at line 204 of file matrix_set.hpp.
|
inline |
Resize a matrix_set to new dimensions. If resizing is performed, the data is not preserved.
size | the new number of elements |
Definition at line 112 of file matrix_set.hpp.
|
inline |
Definition at line 312 of file matrix_set.hpp.
|
inline |
Returns the number of matrices in the set.
Definition at line 94 of file matrix_set.hpp.
Referenced by shark::blas::matrix_set< RealMatrix >::assign(), shark::blas::matrix_set< RealMatrix >::back(), shark::blas::matrix_set< RealMatrix >::clear(), shark::blas::matrix_set< RealMatrix >::divide_assign(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputHidden(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputVisible(), shark::blas::matrix_set< RealMatrix >::minus_assign(), shark::blas::matrix_set< RealMatrix >::multiply_assign(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::numFilters(), shark::blas::matrix_set< RealMatrix >::operator*=(), shark::blas::matrix_set< RealMatrix >::operator+=(), shark::blas::matrix_set< RealMatrix >::operator-=(), shark::blas::matrix_set< RealMatrix >::operator/=(), and shark::blas::matrix_set< RealMatrix >::plus_assign().
|
inline |
Returns the first dimension of the matrices in the set.
Definition at line 99 of file matrix_set.hpp.
Referenced by shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::filterSize1(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputHidden(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputVisible(), and shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::responseSize1().
|
inline |
Returns the second dimension of the matrices in the set.
Definition at line 104 of file matrix_set.hpp.
Referenced by shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::filterSize2(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputHidden(), shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputVisible(), and shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::responseSize2().
|
inline |
Definition at line 298 of file matrix_set.hpp.
Referenced by shark::blas::matrix_set< RealMatrix >::operator=(), and shark::blas::matrix_set< RealMatrix >::swap().