#include <shark/LinAlg/BLAS/matrix_proxy.hpp>
Public Types | |
typedef Orientation::orientation | orientation |
typedef value_type const & | const_reference |
typedef T & | reference |
typedef T * | pointer |
typedef value_type const * | const_pointer |
typedef index_type const * | const_index_pointer |
typedef index_type * | index_pointer |
typedef dense_tag | storage_category |
typedef elementwise_tag | evaluation_category |
typedef dense_storage_iterator< T > | row_iterator |
typedef dense_storage_iterator< T > | column_iterator |
typedef dense_storage_iterator< value_type const > | const_row_iterator |
typedef dense_storage_iterator< value_type const > | const_column_iterator |
typedef major_iterator< self_type >::type | major_iterator |
Public Member Functions | |
dense_matrix_adaptor (dense_matrix_adaptor< value_type, Orientation > const &expression) | |
template<class E > | |
dense_matrix_adaptor (matrix_expression< E > const &expression) | |
Constructor of a vector proxy from a Dense MatrixExpression. More... | |
template<class E > | |
dense_matrix_adaptor (matrix_expression< E > &expression) | |
Constructor of a vector proxy from a Dense MatrixExpression. More... | |
dense_matrix_adaptor (pointer values, size_type size1, size_type size2, difference_type stride1=0, difference_type stride2=0) | |
Constructor of a vector proxy from a block of memory. More... | |
size_type | size1 () const |
Return the number of rows of the matrix. More... | |
size_type | size2 () const |
Return the number of columns of the matrix. More... | |
difference_type | stride1 () const |
difference_type | stride2 () const |
pointer | storage () const |
self_type & | operator= (self_type const &e) |
template<class E > | |
self_type & | operator= (matrix_expression< E > const &e) |
const_reference | operator() (index_type i, index_type j) const |
reference | operator() (index_type i, index_type j) |
void | set_element (size_type i, size_type j, value_type t) |
const_row_iterator | row_begin (index_type i) const |
const_row_iterator | row_end (index_type i) const |
row_iterator | row_begin (index_type i) |
row_iterator | row_end (index_type i) |
const_column_iterator | column_begin (index_type j) const |
const_column_iterator | column_end (index_type j) const |
column_iterator | column_begin (index_type j) |
column_iterator | column_end (index_type j) |
major_iterator | set_element (major_iterator pos, index_type index, value_type value) |
major_iterator | clear_element (major_iterator elem) |
major_iterator | clear_range (major_iterator start, major_iterator end) |
void | clear () |
![]() | |
const expression_type & | operator() () const |
expression_type & | operator() () |
Definition at line 1379 of file matrix_proxy.hpp.
typedef dense_storage_iterator<T> shark::blas::dense_matrix_adaptor< T, Orientation >::column_iterator |
Definition at line 1537 of file matrix_proxy.hpp.
typedef dense_storage_iterator<value_type const> shark::blas::dense_matrix_adaptor< T, Orientation >::const_column_iterator |
Definition at line 1539 of file matrix_proxy.hpp.
typedef index_type const* shark::blas::dense_matrix_adaptor< T, Orientation >::const_index_pointer |
Definition at line 1395 of file matrix_proxy.hpp.
typedef value_type const* shark::blas::dense_matrix_adaptor< T, Orientation >::const_pointer |
Definition at line 1392 of file matrix_proxy.hpp.
typedef value_type const& shark::blas::dense_matrix_adaptor< T, Orientation >::const_reference |
Definition at line 1389 of file matrix_proxy.hpp.
typedef dense_storage_iterator<value_type const> shark::blas::dense_matrix_adaptor< T, Orientation >::const_row_iterator |
Definition at line 1538 of file matrix_proxy.hpp.
typedef elementwise_tag shark::blas::dense_matrix_adaptor< T, Orientation >::evaluation_category |
Definition at line 1402 of file matrix_proxy.hpp.
typedef index_type* shark::blas::dense_matrix_adaptor< T, Orientation >::index_pointer |
Definition at line 1396 of file matrix_proxy.hpp.
typedef major_iterator<self_type>::type shark::blas::dense_matrix_adaptor< T, Orientation >::major_iterator |
Definition at line 1567 of file matrix_proxy.hpp.
typedef Orientation::orientation shark::blas::dense_matrix_adaptor< T, Orientation >::orientation |
Definition at line 1384 of file matrix_proxy.hpp.
typedef T* shark::blas::dense_matrix_adaptor< T, Orientation >::pointer |
Definition at line 1391 of file matrix_proxy.hpp.
typedef T& shark::blas::dense_matrix_adaptor< T, Orientation >::reference |
Definition at line 1390 of file matrix_proxy.hpp.
typedef dense_storage_iterator<T> shark::blas::dense_matrix_adaptor< T, Orientation >::row_iterator |
Definition at line 1536 of file matrix_proxy.hpp.
typedef dense_tag shark::blas::dense_matrix_adaptor< T, Orientation >::storage_category |
Definition at line 1401 of file matrix_proxy.hpp.
|
inline |
Definition at line 1407 of file matrix_proxy.hpp.
|
inline |
Constructor of a vector proxy from a Dense MatrixExpression.
Be aware that the expression must live longer than the proxy!
expression | Expression from which to construct the Proxy |
Definition at line 1420 of file matrix_proxy.hpp.
|
inline |
Constructor of a vector proxy from a Dense MatrixExpression.
Be aware that the expression must live longer than the proxy!
expression | Expression from which to construct the Proxy |
Definition at line 1437 of file matrix_proxy.hpp.
|
inline |
Constructor of a vector proxy from a block of memory.
values | the block of memory used |
size1 | size in 1st direction |
size2 | size in 2nd direction |
stride1 | distance in 1st direction between elements of the self_type in memory |
stride2 | distance in 2nd direction between elements of the self_type in memory |
Definition at line 1455 of file matrix_proxy.hpp.
|
inline |
Definition at line 1586 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::size1(), and shark::blas::matrix_reference< M >::size2().
Referenced by shark::ConvolutionalRBM< VisibleLayerT, HiddenLayerT, RngT >::inputVisible().
|
inline |
Definition at line 1575 of file matrix_proxy.hpp.
|
inline |
Definition at line 1580 of file matrix_proxy.hpp.
|
inline |
Definition at line 1554 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1560 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1557 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::size1(), shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1563 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::size1(), shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1520 of file matrix_proxy.hpp.
|
inline |
Definition at line 1523 of file matrix_proxy.hpp.
|
inline |
Definition at line 1504 of file matrix_proxy.hpp.
References shark::blas::assign(), shark::blas::matrix_reference< M >::size1(), shark::blas::matrix_reference< M >::size2(), and SIZE_CHECK.
|
inline |
Definition at line 1510 of file matrix_proxy.hpp.
References shark::blas::assign(), shark::blas::matrix_reference< M >::size1(), shark::blas::matrix_reference< M >::size2(), and SIZE_CHECK.
|
inline |
Definition at line 1541 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1547 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1544 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::size2(), shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1550 of file matrix_proxy.hpp.
References shark::blas::matrix_reference< M >::size2(), shark::blas::matrix_reference< M >::stride1(), and shark::blas::matrix_reference< M >::stride2().
|
inline |
Definition at line 1526 of file matrix_proxy.hpp.
|
inline |
Definition at line 1569 of file matrix_proxy.hpp.
References RANGE_CHECK.
|
inline |
Return the number of rows of the matrix.
Definition at line 1477 of file matrix_proxy.hpp.
Referenced by shark::createBatch().
|
inline |
Return the number of columns of the matrix.
Definition at line 1481 of file matrix_proxy.hpp.
|
inline |
Definition at line 1492 of file matrix_proxy.hpp.
|
inline |
Definition at line 1485 of file matrix_proxy.hpp.
|
inline |
Definition at line 1488 of file matrix_proxy.hpp.