Skip to content
  1. Aug 17, 2019
  2. Aug 16, 2019
  3. Aug 14, 2019
  4. Aug 10, 2019
    • Jakub Klinkovský's avatar
      Merge branch 'JK/expressions' into 'develop' · 84b7a213
      Jakub Klinkovský authored
      Fixed expression templates
      
      Brief summary:
      
      - fixed `DistributedExpressionTemplates`
      - many fixes and simplifications in `ExpressionTemplates` and `StaticExpressionTemplates`
      - extended tests (unified for `VectorExpressions`, `VectorViewExpressions`, `StaticVectorExpressions`, `DistributedVectorExpressions`, `DistributedVectorViewExpressions`)
      - functions `maxNorm`, `l1Norm` and `l2Norm` - convenient aliases for `max(abs(...))`, `lpNorm(..., 1)` and `lpNorm(..., 2)`
      - a `cast` function which makes something like this possible:
        `float s = TNL::sum(cast<float>(vector))`, where vector elements may be `int`, `double`, etc.
      - fixed result types in expression templates and vertical operations
      - removed `addVector`, `addVectors`, `addElement`, `scalarProduct` and `sum` methods from all vector types
      
      
      See merge request !36
      84b7a213