Make Field(Matrix|Vector) constructor from initializer_list constexpr
This allos to do
constexpr auto M = Dune::FieldMatrix<double,2,2>{ {1,2}, {3,4}};
Notive that copy_n
is not constexpr
. Hence we implement this
with a manual for loop.
Edited by Carsten Gräser