Antonio Sanchez 9cb8771e9c Fix tensor casts for large packets and casts to/from std::complex
The original tensor casts were only defined for
`SrcCoeffRatio`:`TgtCoeffRatio` 1:1, 1:2, 2:1, 4:1. Here we add the
missing 1:N and 8:1.

We also add casting `Eigen::half` to/from `std::complex<T>`, which
was missing to make it consistent with `Eigen:bfloat16`, and
generalize the overload to work for any complex type.

Tests were added to `basicstuff`, `packetmath`, and
`cxx11_tensor_casts` to test all cast configurations.
2020-06-30 18:53:55 +00:00
..
2019-03-14 10:08:12 +01:00
2020-06-20 19:16:24 +00:00
2020-05-19 19:24:11 +00:00
2016-05-18 14:03:03 +02:00
2018-11-23 15:37:09 +01:00
2019-12-11 18:22:57 +00:00
2020-06-20 19:16:24 +00:00
2020-06-20 19:16:24 +00:00
2019-01-15 10:51:03 +01:00
2018-11-23 15:12:06 +01:00