64 CODE( Tarray A(3,4) );
66 CODE( Tarray::Tcoc AC=A );
81 CODE(
typedef Tmap::const_iterator Tmapit );
82 CODE(
for (Tmapit i=mymap.begin(); i!=mymap.end(); ++i) \
83 { cout << i->first <<
"\t" << i->second << endl; } );
85 CODE( avalmap[-4.]=1 );
86 CODE( avalmap[1.]=2 );
87 CODE( avalmap[2.]=3 );
88 CODE( avalmap[5.]=4 );
90 aff::func::valmap<aff::Array>(A, avalmap) );
C::Tvalue avg(const C &c)
C::Tvalue sum(const C &c)
C::Tvalue min(const C &c)
aff::util::Subarray< C > subarray(const C &c)
Wrapper function to select correct type.
C::Tvalue rms(const C &c)
aff::func::util::Extracthisto< C >::Tmap histo(const C &c)
#define CODE(C)
Dump code and execute (works like echo)
void dump_array(const ConstArray< T > &array, const Tdim &i=(Strided::Mmax_dimen-1), std::ostream &os=std::cout)
Dump array values.
C::Tvalue sqrsum(const C &c)
C::Tvalue absmax(const C &c)
Full multi-dimensional array functionality.This is the full array class template. It adds no addition...
C::Tvalue max(const C &c)
std::map< double, int > Tvalmap