![]() |
|
Implementation details and helper functions for the lapacke glue code. More...
Classes | |
struct | rank_update |
struct | rank_update< Lower > |
struct | rank_update< Upper > |
struct | lapacke_llt |
struct | lapacke_partial_lu |
struct | translate_type_imp |
struct | translate_type_imp< float > |
struct | translate_type_imp< double > |
struct | translate_type_imp< std::complex< double > > |
struct | translate_type_imp< std::complex< float > > |
struct | WrappingHelper |
Helper type to facilitate the wrapping of raw LAPACKE functions for different types into a single, overloaded C++ function. This is achieved in combination with \r EIGEN_MAKE_LAPACKE_WRAPPER. More... | |
struct | lapacke_hqr |
class | BDCSVD_LAPACKE |
Typedefs | |
template<typename Scalar > | |
using | translated_type = typename translate_type_imp< Scalar >::type |
Given an Eigen types, this is defined to be the corresponding, layout-compatible lapack type. More... | |
Functions | |
template<typename Source , typename Target = translated_type<Source>> | |
EIGEN_ALWAYS_INLINE auto | to_lapack (Source value) |
template<typename Source , typename Target = translated_type<Source>> | |
EIGEN_ALWAYS_INLINE auto | to_lapack (Source *value) |
EIGEN_ALWAYS_INLINE lapack_int | to_lapack (Index index) |
template<typename Derived > | |
EIGEN_ALWAYS_INLINE EIGEN_CONSTEXPR lapack_int | lapack_storage_of (const EigenBase< Derived > &) |
translates storage order of the given Eigen object to the corresponding lapack constant More... | |
template<typename DoubleFn , typename SingleFn , typename DoubleCpxFn , typename SingleCpxFn , typename... Args> | |
EIGEN_ALWAYS_INLINE auto | call_wrapper (DoubleFn df, SingleFn sf, DoubleCpxFn dcf, SingleCpxFn scf, Args &&...args) |
template<typename MatrixType_ , int Options> | |
BDCSVD< MatrixType_, Options > & | BDCSVD_wrapper (BDCSVD< MatrixType_, Options > &svd, const MatrixType_ &matrix, int computationOptions) |
Implementation details and helper functions for the lapacke glue code.
using Eigen::internal::lapacke_helpers::translated_type = typedef typename translate_type_imp<Scalar>::type |
Given an Eigen types, this is defined to be the corresponding, layout-compatible lapack type.
BDCSVD<MatrixType_, Options>& Eigen::internal::lapacke_helpers::BDCSVD_wrapper | ( | BDCSVD< MatrixType_, Options > & | svd, |
const MatrixType_ & | matrix, | ||
int | computationOptions | ||
) |
References Eigen::internal::lapacke_helpers::BDCSVD_LAPACKE< MatrixType_, Options >::compute_impl_lapacke(), matrix(), and svd().
EIGEN_ALWAYS_INLINE auto Eigen::internal::lapacke_helpers::call_wrapper | ( | DoubleFn | df, |
SingleFn | sf, | ||
DoubleCpxFn | dcf, | ||
SingleCpxFn | scf, | ||
Args &&... | args | ||
) |
Helper function that generates a WrappingHelper
object with the given function pointers and invokes its call
method, thus selecting one of the overloads.
References compute_granudrum_aor::args, and Eigen::internal::lapacke_helpers::WrappingHelper< DoubleFn, SingleFn, DoubleCpxFn, SingleCpxFn >::call().
EIGEN_ALWAYS_INLINE EIGEN_CONSTEXPR lapack_int Eigen::internal::lapacke_helpers::lapack_storage_of | ( | const EigenBase< Derived > & | ) |
translates storage order of the given Eigen object to the corresponding lapack constant
References LAPACK_COL_MAJOR, and LAPACK_ROW_MAJOR.
Referenced by Eigen::internal::lapacke_helpers::BDCSVD_LAPACKE< MatrixType_, Options >::compute_impl_lapacke(), Eigen::internal::lapacke_helpers::lapacke_llt< Scalar, Mode >::EIGEN_STATIC_ASSERT(), and Eigen::internal::lapacke_helpers::lapacke_hqr< MatrixQR, HCoeffs >::run().
EIGEN_ALWAYS_INLINE lapack_int Eigen::internal::lapacke_helpers::to_lapack | ( | Index | index | ) |
EIGEN_ALWAYS_INLINE auto Eigen::internal::lapacke_helpers::to_lapack | ( | Source * | value | ) |
This function performs conversions for pointer types corresponding to the translations abovce. This is valid because the translations are between layout-compatible types.
References Eigen::Architecture::Target, and Eigen::value.
EIGEN_ALWAYS_INLINE auto Eigen::internal::lapacke_helpers::to_lapack | ( | Source | value | ) |
These functions convert their arguments from Eigen to Lapack types This function performs conversion for any of the translations defined above.
References Eigen::Architecture::Target, and Eigen::value.
Referenced by Eigen::internal::lapacke_helpers::lapacke_partial_lu< Scalar, StorageOrder >::blocked_lu(), Eigen::internal::lapacke_helpers::BDCSVD_LAPACKE< MatrixType_, Options >::compute_impl_lapacke(), Eigen::internal::lapacke_helpers::lapacke_llt< Scalar, Mode >::EIGEN_STATIC_ASSERT(), and Eigen::internal::lapacke_helpers::lapacke_hqr< MatrixQR, HCoeffs >::run().