Fixed expression templates
Brief summary:
- fixed
DistributedExpressionTemplates - many fixes and simplifications in
ExpressionTemplatesandStaticExpressionTemplates - extended tests (unified for
VectorExpressions,VectorViewExpressions,StaticVectorExpressions,DistributedVectorExpressions,DistributedVectorViewExpressions) - functions
maxNorm,l1Normandl2Norm- convenient aliases formax(abs(...)),lpNorm(..., 1)andlpNorm(..., 2) - a
castfunction which makes something like this possible:float s = TNL::sum(cast<float>(vector)), where vector elements may beint,double, etc. - fixed result types in expression templates and vertical operations
- removed
addVector,addVectors,addElement,scalarProductandsummethods from all vector types
Edited by Jakub Klinkovský