The output type must be floating point, thus a check was added to make sure it
is the case. Though I had to add specific cases for float32_t as std::is_floating_point does not
consider it a floating point type
The accumulate part was wrong, it multiplied by delta_t on every sum, which is wrong
Use 8 way nabla compute.
This is just different discretization of Laplace operator
https://en.wikipedia.org/wiki/Discrete_Laplace_operator
Laplace stencils are now the same as in mathematical notation
The new function will provide a uniform way to generate stencils
by making sure directions are indexed properly
Add only required stencil points:
The 5 points Laplace stencil is now adding only required points and not assuming that others are zero
Motivation is to:
- use on simpler and light test framework,
- eliminate dependency on libraries like Boost.MPL,
- achieve faster compilation times for CI builds (20% seems feasible)
- have test programs easy to run and debug
- avoid macros
Remove outdated FIXME-s for bugs that have been already fixed.
Fix off-by-one bug in test/core/test_fixture.hpp generators.
Minor corrections and tidying up.
Add missing test assertions to numeric extension tests.
Fixes#458
Since `std::uninitialized_fill` performs a placement new on each
element in the range, it is important to ensure core and packed
pixel types behave correctly.
Split general purpose test fixtures into core/test_fixture.hpp.