Skip to content
Commit 84b7a213 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Merge branch 'JK/expressions' into 'develop'

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
parents 500523a8 e4ed2628
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment