Expression Templates For Quantitative Analysis