26 #include <vnl/algo/vnl_algo_export.h> 28 # include <vcl_msvc_warnings.h>
vnl_matrix< T > inverse() const
return the inverse matrix of M.
vnl_matrix< T > solve(const vnl_matrix< T > &rhs) const
Solve equation M x = rhs for x using the computed decomposition.
vnl_matrix< T > tinverse() const
return the transpose of the inverse matrix of M.
An ordinary mathematical matrix.
void extract_q_and_r(vnl_matrix< T > *q, vnl_matrix< T > *r) const
vnl_matrix< T > qrdc_out_
vnl_matrix< T > const & Q() const
Unpack and return unitary part Q.
vnl_matrix< T > const & R() const
Unpack and return R.
std::ostream & operator<<(std::ostream &s, vnl_decnum const &r)
decimal output.
vnl_qr(const vnl_qr< T > &)
Extract the Q*R decomposition of matrix M.
T determinant() const
Return the determinant of M. This is computed from M = Q R as follows:.
An ordinary mathematical matrix.
vnl_qr< T > & operator=(const vnl_qr< T > &)
vnl_vector< T > QtB(const vnl_vector< T > &b) const
Return residual vector d of M x = b -> d = Q'b.
T vnl_qr_determinant(vnl_matrix< T > const &m)
Compute determinant of matrix "M" using QR.
Mathematical vector class, templated by type of element.
vnl_qr(vnl_matrix< T > const &M)
vnl_matrix< T > recompose() const
return the original matrix M.