Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ complex_schur_decompose()

template<typename M , require_eigen_dense_dynamic_t< M > * = nullptr>
std::tuple< Eigen::Matrix< complex_return_t< scalar_type_t< M > >, -1, -1 >, Eigen::Matrix< complex_return_t< scalar_type_t< M > >, -1, -1 > > stan::math::complex_schur_decompose ( const M &  m)
inline

Return the complex Schur decomposition of the specified square matrix.

The complex Schur decomposition of a square matrix A produces a complex unitary matrix U and a complex upper-triangular Schur form matrix T such that A = U * T * inv(U). Further, the unitary matrix's inverse is equal to its conjugate transpose, inv(U) = U*, where U*(i, j) = conj(U(j, i))

Template Parameters
Mtype of matrix
Parameters
mreal matrix to decompose
Returns
a tuple (U,T) where U is the complex unitary matrix of the complex Schur decomposition of m and T is the Schur form matrix of the complex Schur decomposition of m

Definition at line 83 of file complex_schur_decompose.hpp.