Go to the documentation of this file.
11 #ifndef SPECTRA_UPPER_HESSENBERG_EIGEN_H
12 #define SPECTRA_UPPER_HESSENBERG_EIGEN_H
21 template <
typename Scalar =
double>
97 Scalar t = (
x * lastr - lastw * r) / denom;
114 Scalar lastra(0), lastsa(0), lastw(0);
194 m_tmp.noalias() =
m_eivec.leftCols(
j + 1) *
m_matT.col(
j).segment(0,
j + 1);
215 if (
mat.rows() !=
mat.cols())
216 throw std::invalid_argument(
"UpperHessenbergEigen: matrix must be square");
271 throw std::logic_error(
"UpperHessenbergEigen: need to call compute() first");
281 throw std::logic_error(
"UpperHessenbergEigen: need to call compute() first");
291 matV.col(
j) =
m_eivec.col(
j).template cast<Complex>();
292 matV.col(
j).normalize();
302 matV.col(
j).normalize();
303 matV.col(
j + 1).normalize();
314 #endif // SPECTRA_UPPER_HESSENBERG_EIGEN_H
std::complex< Scalar > Complex
void doComputeEigenvectors()
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void resize(Index rows, Index cols)
const ComplexVector & eigenvalues() const
UpperHessenbergSchur< Scalar > m_schur
ComplexMatrix eigenvectors()
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics scale
EIGEN_DEVICE_FUNC const Scalar & q
static const Line3 l(Rot3(), 1, 1)
const EIGEN_DEVICE_FUNC ImagReturnType imag() const
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar & coeffRef(Index rowId, Index colId)
UpperHessenbergEigen(ConstGenericMatrix &mat)
A matrix or vector expression mapping an existing expression.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE Scalar & coeff(Index rowId, Index colId) const
void compute(ConstGenericMatrix &mat)
Jet< T, N > sqrt(const Jet< T, N > &f)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
gtsam
Author(s):
autogenerated on Sun Feb 16 2025 04:08:29