Eigen::internal::lapacke_helpers::lapacke_hqr< MatrixQR, HCoeffs > Struct Template Reference

#include <HouseholderQR_LAPACKE.h>

Static Public Member Functions

static void run (MatrixQR &mat, HCoeffs &hCoeffs, Index=32, typename MatrixQR::Scalar *=0)
 

Member Function Documentation

◆ run()

template<typename MatrixQR , typename HCoeffs >
static void Eigen::internal::lapacke_helpers::lapacke_hqr< MatrixQR, HCoeffs >::run ( MatrixQR &  mat,
HCoeffs &  hCoeffs,
Index  = 32,
typename MatrixQR::Scalar = 0 
)
inlinestatic
48  {
51  lapack_int lda = to_lapack(mat.outerStride());
52  lapack_int matrix_order = lapack_storage_of(mat);
53  geqrf(matrix_order, m, n, to_lapack(mat.data()), lda, to_lapack(hCoeffs.data()));
54  hCoeffs.adjointInPlace();
55  }
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11
Index cols() const
Definition: SparseMatrix.h:161
Index rows() const
Definition: SparseMatrix.h:159
constexpr Storage & data()
Definition: SparseMatrix.h:205
#define lapack_int
Definition: lapacke.h:52
const char const int const RealScalar const RealScalar const int * lda
Definition: level2_cplx_impl.h:20
int * m
Definition: level2_cplx_impl.h:294
EIGEN_ALWAYS_INLINE auto to_lapack(Source value)
Definition: lapacke_helpers.h:61
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
Definition: lapacke_helpers.h:78

References Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::cols(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::data(), lapack_int, Eigen::internal::lapacke_helpers::lapack_storage_of(), lda, m, n, Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::rows(), and Eigen::internal::lapacke_helpers::to_lapack().


The documentation for this struct was generated from the following file: