2 #ifndef vnl_complex_generalized_schur_h_ 3 #define vnl_complex_generalized_schur_h_ 15 #include <vnl/algo/vnl_algo_export.h> 48 # include <vcl_msvc_warnings.h> 64 std::copy(A->begin(), A->end(), A_.begin());
65 std::copy(B->begin(), B->end(), B_.begin());
81 beta->set_size(beta_.
size());
93 #endif // vnl_complex_generalized_schur_h_ unsigned int cols() const
Return the number of columns.
bool vnl_generalized_schur(vnl_matrix< std::complex< T > > *A, vnl_matrix< std::complex< T > > *B, vnl_vector< std::complex< T > > *alpha, vnl_vector< std::complex< T > > *beta, vnl_matrix< std::complex< T > > *L, vnl_matrix< std::complex< T > > *R)
For a scalar type T, this function uses orthogonal matrices L, R over complex<T> to reduce the (squar...
iterator end()
Iterator pointing to element beyond end of data.
An ordinary mathematical matrix.
size_t size() const
Return the length, number of elements, dimension of this vector.
iterator begin()
Iterator pointing to start of data.
iterator end()
Iterator pointing to element beyond end of data.
std::complex< T > vnl_complex_generalized_schur_convert_cast(std::complex< double > a)
iterator begin()
Iterator pointing to start of data.
An ordinary mathematical matrix.
Mathematical vector class, templated by type of element.
unsigned int size() const
Return the total number of elements stored by the matrix.
unsigned int rows() const
Return the number of rows.
bool set_size(unsigned r, unsigned c)
Resize to r rows by c columns. Old data lost.