Closed mulaga closed 2 weeks ago
Thank you Martin, that's a great new feature to have. It does seem as if on Linux, the continuous integration testing has some undefined references when it tries to compile. I realize this is whenever the matrix is complex. Are these functions defined, or maybe a template instantiation is missing?
Looking a bit more closely, it indeed seems you just missed the template instantiation for complex matrices, i.e. you only added e.g.:
template void apply
but not
template void apply
i guess the compiler defaulted to weak symbols which don't work on all architectures. not sure that I completely understand the behaviour, but I seem to have missed it since it compiled fine on several computers.
added a fill method that works with matrices. apply is still overloaded to work with both columns and matrices since this seems to be a design decision with the State class.
i also added some docs for this functionality and tests with each block type.