|
MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
|
kron's element type: the common type of the operands' value types, as in dot, axpy and the other mixed-type operations (#694). More...
#include <kron.hpp>
Public Types | |
| using | type = TA |
kron's element type: the common type of the operands' value types, as in dot, axpy and the other mixed-type operations (#694).
Taking A's value type alone narrowed a mixed product: kron(dense2D<int>{2}, dense2D<double>{0.25}) gave 0. A pair of custom types with no std::common_type keeps A's value type, as before, rather than failing to compile.
| using mtl::detail::kron_value< TA, TB, typename >::type = TA |