A matrix with all values of type T equal to the same value.
More...
#include <shark/LinAlg/BLAS/matrix_expression.hpp>
Inheritance diagram for shark::blas::scalar_matrix< T >:Public Types | |
| typedef const T & | const_reference |
| typedef const_reference | reference |
| typedef value_type const * | const_pointer |
| typedef const_pointer | pointer |
| typedef index_type const * | const_index_pointer |
| typedef index_type | index_pointer |
| typedef dense_tag | storage_category |
| typedef unknown_orientation | orientation |
| typedef elementwise_tag | evaluation_category |
| typedef constant_iterator< value_type > | const_row_iterator |
| typedef constant_iterator< value_type > | const_column_iterator |
| typedef const_row_iterator | row_iterator |
| typedef const_column_iterator | column_iterator |
Public Member Functions | |
| scalar_matrix () | |
| scalar_matrix (size_type size1, size_type size2, const value_type &value=value_type(1)) | |
| scalar_matrix (const scalar_matrix &m) | |
| size_type | size1 () const |
| size_type | size2 () const |
| const_reference | operator() (size_type, size_type) const |
| const_row_iterator | row_begin (std::size_t i) const |
| const_row_iterator | row_end (std::size_t i) const |
| const_row_iterator | column_begin (std::size_t j) const |
| const_row_iterator | column_end (std::size_t j) const |
Public Member Functions inherited from shark::blas::matrix_container< scalar_matrix< T > > | |
| const container_type & | operator() () const |
| container_type & | operator() () |
Public Member Functions inherited from shark::blas::matrix_expression< E > | |
| const expression_type & | operator() () const |
| expression_type & | operator() () |
A matrix with all values of type T equal to the same value.
| T | the type of object stored in the matrix (like double, float, complex, etc...) |
Definition at line 229 of file matrix_expression.hpp.
| typedef const_column_iterator shark::blas::scalar_matrix< T >::column_iterator |
Definition at line 278 of file matrix_expression.hpp.
| typedef constant_iterator<value_type> shark::blas::scalar_matrix< T >::const_column_iterator |
Definition at line 276 of file matrix_expression.hpp.
| typedef index_type const* shark::blas::scalar_matrix< T >::const_index_pointer |
Definition at line 244 of file matrix_expression.hpp.
| typedef value_type const* shark::blas::scalar_matrix< T >::const_pointer |
Definition at line 239 of file matrix_expression.hpp.
| typedef const T& shark::blas::scalar_matrix< T >::const_reference |
Definition at line 237 of file matrix_expression.hpp.
| typedef constant_iterator<value_type> shark::blas::scalar_matrix< T >::const_row_iterator |
Definition at line 275 of file matrix_expression.hpp.
| typedef elementwise_tag shark::blas::scalar_matrix< T >::evaluation_category |
Definition at line 251 of file matrix_expression.hpp.
| typedef index_type shark::blas::scalar_matrix< T >::index_pointer |
Definition at line 245 of file matrix_expression.hpp.
| typedef unknown_orientation shark::blas::scalar_matrix< T >::orientation |
Definition at line 250 of file matrix_expression.hpp.
| typedef const_pointer shark::blas::scalar_matrix< T >::pointer |
Definition at line 241 of file matrix_expression.hpp.
| typedef const_reference shark::blas::scalar_matrix< T >::reference |
Definition at line 238 of file matrix_expression.hpp.
| typedef const_row_iterator shark::blas::scalar_matrix< T >::row_iterator |
Definition at line 277 of file matrix_expression.hpp.
| typedef dense_tag shark::blas::scalar_matrix< T >::storage_category |
Definition at line 249 of file matrix_expression.hpp.
|
inline |
Definition at line 254 of file matrix_expression.hpp.
|
inline |
Definition at line 256 of file matrix_expression.hpp.
|
inline |
Definition at line 258 of file matrix_expression.hpp.
|
inline |
Definition at line 287 of file matrix_expression.hpp.
|
inline |
Definition at line 290 of file matrix_expression.hpp.
References shark::blas::outer_product< E1, E2 >::size1().
|
inline |
Definition at line 270 of file matrix_expression.hpp.
|
inline |
Definition at line 280 of file matrix_expression.hpp.
|
inline |
Definition at line 283 of file matrix_expression.hpp.
References shark::blas::outer_product< E1, E2 >::size2().
|
inline |
Definition at line 262 of file matrix_expression.hpp.
|
inline |
Definition at line 265 of file matrix_expression.hpp.