shark::blas::vector_addition< E1, E2 > Class Template Reference

#include <shark/LinAlg/BLAS/vector_expression.hpp>

+ Inheritance diagram for shark::blas::vector_addition< E1, E2 >:

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
 
- Public Member Functions inherited from shark::blas::vector_expression< vector_addition< E1, E2 > >
const expression_type & operator() () const
 
expression_type & operator() ()
 

Detailed Description

template<class E1, class E2>
class shark::blas::vector_addition< E1, E2 >

Definition at line 382 of file vector_expression.hpp.

Member Typedef Documentation

§ const_index_pointer

template<class E1, class E2>
typedef E1::const_index_pointer shark::blas::vector_addition< E1, E2 >::const_index_pointer

Definition at line 399 of file vector_expression.hpp.

§ const_iterator

template<class E1, class E2>
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.

§ const_pointer

template<class E1, class E2>
typedef value_type const* shark::blas::vector_addition< E1, E2 >::const_pointer

Definition at line 395 of file vector_expression.hpp.

§ const_reference

template<class E1, class E2>
typedef value_type shark::blas::vector_addition< E1, E2 >::const_reference

Definition at line 393 of file vector_expression.hpp.

§ evaluation_category

template<class E1, class E2>
typedef evaluation_restrict_traits<E1,E2>::type shark::blas::vector_addition< E1, E2 >::evaluation_category

Definition at line 408 of file vector_expression.hpp.

§ index_pointer

template<class E1, class E2>
typedef index_pointer<E1>::type shark::blas::vector_addition< E1, E2 >::index_pointer

Definition at line 400 of file vector_expression.hpp.

§ iterator

template<class E1, class E2>
typedef const_iterator shark::blas::vector_addition< E1, E2 >::iterator

Definition at line 466 of file vector_expression.hpp.

§ pointer

template<class E1, class E2>
typedef value_type const* shark::blas::vector_addition< E1, E2 >::pointer

Definition at line 396 of file vector_expression.hpp.

§ reference

template<class E1, class E2>
typedef value_type shark::blas::vector_addition< E1, E2 >::reference

Definition at line 394 of file vector_expression.hpp.

§ storage_category

template<class E1, class E2>
typedef unknown_storage_tag shark::blas::vector_addition< E1, E2 >::storage_category

Definition at line 407 of file vector_expression.hpp.

Constructor & Destructor Documentation

§ vector_addition()

template<class E1, class E2>
shark::blas::vector_addition< E1, E2 >::vector_addition ( expression_closure1_type  e1,
expression_closure2_type  e2 
)
inlineexplicit

Definition at line 411 of file vector_expression.hpp.

References SIZE_CHECK.

Member Function Documentation

§ assign_to()

template<class E1, class E2>
template<class VecX >
void shark::blas::vector_addition< E1, E2 >::assign_to ( vector_expression< VecX > &  x,
scalar_type  alpha = scalar_type(1) 
) const
inline

Definition at line 444 of file vector_expression.hpp.

References shark::blas::assign(), and shark::blas::plus_assign().

§ begin()

template<class E1, class E2>
const_iterator shark::blas::vector_addition< E1, E2 >::begin ( ) const
inline

Definition at line 468 of file vector_expression.hpp.

§ end()

template<class E1, class E2>
const_iterator shark::blas::vector_addition< E1, E2 >::end ( ) const
inline

Definition at line 474 of file vector_expression.hpp.

§ expression1()

template<class E1, class E2>
expression_closure1_type const& shark::blas::vector_addition< E1, E2 >::expression1 ( ) const
inline

Definition at line 424 of file vector_expression.hpp.

§ expression2()

template<class E1, class E2>
expression_closure2_type const& shark::blas::vector_addition< E1, E2 >::expression2 ( ) const
inline

Definition at line 427 of file vector_expression.hpp.

§ minus_assign_to()

template<class E1, class E2>
template<class VecX >
void shark::blas::vector_addition< E1, E2 >::minus_assign_to ( vector_expression< VecX > &  x,
scalar_type  alpha = scalar_type(1) 
) const
inline

Definition at line 455 of file vector_expression.hpp.

References shark::blas::minus_assign().

§ operator()()

template<class E1, class E2>
const_reference shark::blas::vector_addition< E1, E2 >::operator() ( index_type  i) const
inline

§ operator[]()

template<class E1, class E2>
const_reference shark::blas::vector_addition< E1, E2 >::operator[] ( index_type  i) const
inline

§ plus_assign_to()

template<class E1, class E2>
template<class VecX >
void shark::blas::vector_addition< E1, E2 >::plus_assign_to ( vector_expression< VecX > &  x,
scalar_type  alpha = scalar_type(1) 
) const
inline

Definition at line 449 of file vector_expression.hpp.

References shark::blas::plus_assign().

§ size()

template<class E1, class E2>
size_type shark::blas::vector_addition< E1, E2 >::size ( ) const
inline

Definition at line 419 of file vector_expression.hpp.


The documentation for this class was generated from the following file: