AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ operator=()

template<class C >
Subarray& aff::util::Subarray< C >::operator= ( Tconst_reference  value)
inline

provide value assignment to a subarray

Definition at line 121 of file subarray.h.

References aff::util::Subarray< C >::Mrepresentation, and aff::util::Subarray< C >::Mshape.

122  {
123  typename Tshape::Tstepper st(Mshape);
124  for(st.tofirst(); st.valid(); st.incr())
125  { Mrepresentation[st.current()]=value; }
126  return(*this);
127  }
Tshape Mshape
Shape to process.
Definition: subarray.h:142
Trepresentation Mrepresentation
Representation to use.
Definition: subarray.h:144