2 #ifndef vnl_generalized_schur_h_ 3 #define vnl_generalized_schur_h_ 13 #include <vnl/algo/vnl_algo_export.h> 57 # include <vcl_msvc_warnings.h> 74 std::copy(A->
begin(), A->
end(), A_.begin());
75 std::copy(B->
begin(), B->
end(), B_.begin());
96 std::transform(beta_ .begin(), beta_ .end(), beta ->begin(), vnl_generalized_schur_convert_cast<T>);
107 #endif // vnl_generalized_schur_h_ unsigned int cols() const
Return the number of columns.
iterator end()
Iterator pointing to element beyond end of data.
An ordinary mathematical matrix.
bool set_size(size_t n)
Resize to n elements.
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.
iterator begin()
Iterator pointing to start of data.
An ordinary mathematical matrix.
bool vnl_generalized_schur(vnl_matrix< T > *A, vnl_matrix< T > *B, vnl_vector< T > *alphar, vnl_vector< T > *alphai, vnl_vector< T > *beta, vnl_matrix< T > *L, vnl_matrix< T > *R)
For a real scalar type T, this function uses orthogonal matrices L, R to reduce the (square) matrices...
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.
T vnl_generalized_schur_convert_cast(double a)
bool set_size(unsigned r, unsigned c)
Resize to r rows by c columns. Old data lost.