- std::lerp - std::midpoint - std::cmp_less etc. - ~std::valarray~ - expression templates for tensor expressions ## Tensors - templated 1st performance 2nd - follow 'Haskell logic': - simple representational types - apply structure via type traits (must have sensible and usable defaults) - --> increases flexibility - separate representation from operation: - Tensor representation = multidim-array (and not more) - operations should be in namespace scope not class scope if possible since the latter forces a specific interpretation ## Observations - The MSVC 19 `std::array<T, 0>` is not empty since the constructor still takes one argument of type `int`.
std::valarrayTensors
Observations
std::array<T, 0>is not empty since the constructor still takes one argument of typeint.