#include <shark/LinAlg/BLAS/vector_expression.hpp>
Public Types | |
typedef value_type | const_reference |
typedef value_type | reference |
typedef value_type const * | const_pointer |
typedef value_type const * | pointer |
typedef E1::const_index_pointer | const_index_pointer |
typedef index_pointer< E1 >::type | index_pointer |
typedef unknown_storage_tag | storage_category |
typedef evaluation_restrict_traits< E1, E2 >::type | evaluation_category |
typedef binary_transform_iterator< typename E1::const_iterator, typename E2::const_iterator, functor_type > | const_iterator |
typedef const_iterator | iterator |
Public Member Functions | |
vector_addition (expression_closure1_type e1, expression_closure2_type e2) | |
size_type | size () const |
expression_closure1_type const & | expression1 () const |
expression_closure2_type const & | expression2 () const |
const_reference | operator() (index_type i) const |
const_reference | operator[] (index_type i) const |
template<class VecX > | |
void | assign_to (vector_expression< VecX > &x, scalar_type alpha=scalar_type(1)) const |
template<class VecX > | |
void | plus_assign_to (vector_expression< VecX > &x, scalar_type alpha=scalar_type(1)) const |
template<class VecX > | |
void | minus_assign_to (vector_expression< VecX > &x, scalar_type alpha=scalar_type(1)) const |
const_iterator | begin () const |
const_iterator | end () const |
![]() | |
const expression_type & | operator() () const |
expression_type & | operator() () |
Definition at line 382 of file vector_expression.hpp.
typedef E1::const_index_pointer shark::blas::vector_addition< E1, E2 >::const_index_pointer |
Definition at line 399 of file vector_expression.hpp.
typedef binary_transform_iterator< typename E1::const_iterator, typename E2::const_iterator, functor_type > shark::blas::vector_addition< E1, E2 >::const_iterator |
Definition at line 465 of file vector_expression.hpp.
typedef value_type const* shark::blas::vector_addition< E1, E2 >::const_pointer |
Definition at line 395 of file vector_expression.hpp.
typedef value_type shark::blas::vector_addition< E1, E2 >::const_reference |
Definition at line 393 of file vector_expression.hpp.
typedef evaluation_restrict_traits<E1,E2>::type shark::blas::vector_addition< E1, E2 >::evaluation_category |
Definition at line 408 of file vector_expression.hpp.
typedef index_pointer<E1>::type shark::blas::vector_addition< E1, E2 >::index_pointer |
Definition at line 400 of file vector_expression.hpp.
typedef const_iterator shark::blas::vector_addition< E1, E2 >::iterator |
Definition at line 466 of file vector_expression.hpp.
typedef value_type const* shark::blas::vector_addition< E1, E2 >::pointer |
Definition at line 396 of file vector_expression.hpp.
typedef value_type shark::blas::vector_addition< E1, E2 >::reference |
Definition at line 394 of file vector_expression.hpp.
typedef unknown_storage_tag shark::blas::vector_addition< E1, E2 >::storage_category |
Definition at line 407 of file vector_expression.hpp.
|
inlineexplicit |
Definition at line 411 of file vector_expression.hpp.
References SIZE_CHECK.
|
inline |
Definition at line 444 of file vector_expression.hpp.
References shark::blas::assign(), and shark::blas::plus_assign().
|
inline |
Definition at line 468 of file vector_expression.hpp.
|
inline |
Definition at line 474 of file vector_expression.hpp.
|
inline |
Definition at line 424 of file vector_expression.hpp.
|
inline |
Definition at line 427 of file vector_expression.hpp.
|
inline |
Definition at line 455 of file vector_expression.hpp.
References shark::blas::minus_assign().
|
inline |
Definition at line 432 of file vector_expression.hpp.
References shark::blas::vector_scalar_multiply< E >::size(), and SIZE_CHECK.
|
inline |
Definition at line 437 of file vector_expression.hpp.
References shark::blas::vector_scalar_multiply< E >::size(), and SIZE_CHECK.
|
inline |
Definition at line 449 of file vector_expression.hpp.
References shark::blas::plus_assign().
|
inline |
Definition at line 419 of file vector_expression.hpp.