Add template to specify QR permutation index type, Fix ColPivHouseholderQR Lapacke bindings

This commit is contained in:
Charles Schlosser
2023-01-11 15:57:28 +00:00
parent 9463fc95f4
commit be7791e097
10 changed files with 309 additions and 252 deletions

View File

@@ -77,9 +77,9 @@ EIGEN_ALWAYS_INLINE EIGEN_CONSTEXPR lapack_int lapack_storage_of(const EigenBase
}
/// translate UpLo type to the corresponding letter code
template<UpLoType mode> char translate_mode;
template<> constexpr char translate_mode<Lower> = 'L';
template<> constexpr char translate_mode<Upper> = 'U';
//template<UpLoType mode> char translate_mode;
//template<> constexpr char translate_mode<Lower> = 'L';
//template<> constexpr char translate_mode<Upper> = 'U';
// ---------------------------------------------------------------------------------------------------------------------