| 42 | |
| 43 | template <typename T> |
| 44 | constexpr int compute_array_flag_from_tensor() { |
| 45 | static_assert((static_cast<int>(T::Layout) == static_cast<int>(Eigen::RowMajor)) |
| 46 | || (static_cast<int>(T::Layout) == static_cast<int>(Eigen::ColMajor)), |
| 47 | "Layout must be row or column major"); |
| 48 | return (static_cast<int>(T::Layout) == static_cast<int>(Eigen::RowMajor)) ? array::c_style |
| 49 | : array::f_style; |
| 50 | } |
| 51 | |
| 52 | template <typename T> |
| 53 | struct eigen_tensor_helper {}; |
nothing calls this directly
no outgoing calls
no test coverage detected