From: Maxim Nikulin <>
Date: Thu, 27 Oct 2005 16:51:14 +0700


Is there a native ROOT class similar to STL std::valarray template? I'm interested in e.g. element to element multiplication operator (c = a*b means c[i] = a[i]*b[i]). Actually I prefer STL classes but in general ROOT behaves better with native classes.

I found no valarray CINT library, although the headers are present. I've managed to build a dictionary with subset of valarray functions and operators but it's better to have the library "out of box". I can't say that writing correct LinkDef.h file was trivial problem and it's seems that generating dictionary for operators is missed in the ROOT Users Guide.

I'm using ROOT-5.05/01, 2005-10-12 CVS HEAD, Fedora Core 2 Linux on Pentium IV PC. Of course I made cintdlls during ROOT installation.

Yours faithfully,
Maxim Nikulin
Received on Thu Oct 27 2005 - 11:51:32 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:13 MET