Fixed expression templates
Brief summary:
- fixed
DistributedExpressionTemplates
- many fixes and simplifications in
ExpressionTemplates
andStaticExpressionTemplates
- extended tests (unified for
VectorExpressions
,VectorViewExpressions
,StaticVectorExpressions
,DistributedVectorExpressions
,DistributedVectorViewExpressions
) - functions
maxNorm
,l1Norm
andl2Norm
- convenient aliases formax(abs(...))
,lpNorm(..., 1)
andlpNorm(..., 2)
- a
cast
function 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
,scalarProduct
andsum
methods from all vector types
Edited by Jakub Klinkovský