26 #include "op_traits.hpp"
27 #include "../../utilities/container_iterator.hpp"
33 template<
typename ATYPE>
class array_view;
101 return this->_op1[i]*this->_op2[i];
114 value_type
at(
size_t i)
const
131 return _op1.size() > _op2.size() ? _op1.size() : _op2.size();
148 const_iterator
end()
const
array_view< array_type > view_type
view type
Definition: mult_op.hpp:70
const_iterator begin() const
get iterator on first element
Definition: mult_op.hpp:139
OP1T::value_type value_type
value type of the multiplication
Definition: mult_op.hpp:56
container_iterator< const array_type > const_iterator
const iterator type
Definition: mult_op.hpp:64
OP1::inplace_arithmetic inplace_arithmetic
inplace arithmetic type
Definition: op_traits.hpp:88
#define EXCEPTION_RECORD
macro creating an instance of ExceptionRecord
Definition: exceptions.hpp:48
container_iterator< array_type > reverse_iterator
reverse iterator type
Definition: mult_op.hpp:66
mult_op(const OP1T &o1, const OP2T &o2)
constructor
Definition: mult_op.hpp:86
size_t size() const
return size of the operator
Definition: mult_op.hpp:129
value_type operator[](size_t i) const
get value at index i
Definition: mult_op.hpp:99
void storage_type
storage type
Definition: mult_op.hpp:60
array_trait< OP1T, OP2T >::inplace_arithmetic inplace_arithmetic
inplace arithmetic type
Definition: mult_op.hpp:76
iterator type
Definition: container_iterator.hpp:59
OP1::map_type map_type
index map type
Definition: op_traits.hpp:86
const_iterator end() const
get iterator on last+1 element
Definition: mult_op.hpp:148
value_type at(size_t i) const
get value at index i
Definition: mult_op.hpp:114
index error
Definition: exceptions.hpp:437
array_trait< OP1T, OP2T >::map_type map_type
index map type
Definition: mult_op.hpp:73
Definition: add_op.hpp:29
op_trait< OP1T >::ref_type _op1
left operand
Definition: mult_op.hpp:50
container_iterator< const array_type > const_reverse_iterator
const reverse iterator type
Definition: mult_op.hpp:68
container_iterator< array_type > iterator
non-const iterator type - this is only to satsify the interaface
Definition: mult_op.hpp:62
op_trait< OP2T >::ref_type _op2
right operand
Definition: mult_op.hpp:52
Multiplication expression template.
Definition: mult_op.hpp:46
operator reference trait
Definition: op_traits.hpp:43
mult_op< OP1T, OP2T > array_type
type of the operation class
Definition: mult_op.hpp:58
provides a view on a part of an array
Definition: add_op.hpp:32