Dear Jacek, "Jacek M. Holeczek" wrote: > let me ask the following question. > Is it possible to have a "dual" morality Matrix class : > 1. when the script is compiled it goes through > compiler's "expression templates", ... but ... > 2. when the script is interpreted it goes through > CINT's standard C++ with it's abstraction penalty > ??? > In other words, do you think that it would be possible to > create a "dumb" Blitz++-"compatible" class headers for CINT ??? > So that CINT's dictionary is build from it, but it could share > objects with compiled scripts which use Blitz++ ? in fact, this would be the challenge. I cannot imagine right now whether this is really feasible. Another approach would be to support two different libraries, both templated but one using expression templates and the other using classical unary/binary operators. The classes must have the same type, but reside in different namespaces. Then one could switch between them just by exchanging the "using" directive. Goodbye, Thorsten --------------------------------------------------------- Dr. Thorsten Glebe <T.Glebe@mpi-hd.mpg.de> Max-Planck-Institut für Kernphysik Saupfercheckweg 1 Tel: +49/(0)6221/516-631 D-69117 Heidelberg Fax: +49/(0)6221/516-603 ---------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:46 MET