|
| | vnl_matrix_inverse (vnl_matrix< T > const &M) |
| |
| | ~vnl_matrix_inverse () override=default |
| |
| | operator vnl_matrix< T > () const |
| |
| void | zero_out_absolute (double tol=1e-8) |
| | find weights below threshold tol, zero them out, and update W_ and Winverse_. More...
|
| |
| void | zero_out_relative (double tol=1e-8) |
| | find weights below tol*max(w) and zero them out. More...
|
| |
| int | singularities () const |
| |
| unsigned int | rank () const |
| |
| singval_t | well_condition () const |
| |
| singval_t | determinant_magnitude () const |
| | Calculate determinant as product of diagonals in W. More...
|
| |
| singval_t | norm () const |
| |
| vnl_matrix< T > & | U () |
| | Return the matrix U. More...
|
| |
| vnl_matrix< T > const & | U () const |
| | Return the matrix U. More...
|
| |
| T | U (int i, int j) const |
| | Return the matrix U's (i,j)th entry (to avoid svd.U()(i,j); ). More...
|
| |
| vnl_diag_matrix< singval_t > & | W () |
| | Get at DiagMatrix (q.v.) of singular values, sorted from largest to smallest. More...
|
| |
| vnl_diag_matrix< singval_t > const & | W () const |
| | Get at DiagMatrix (q.v.) of singular values, sorted from largest to smallest. More...
|
| |
| singval_t & | W (int i, int j) |
| |
| singval_t & | W (int i) |
| |
| vnl_diag_matrix< singval_t > & | Winverse () |
| |
| vnl_diag_matrix< singval_t > const & | Winverse () const |
| |
| singval_t | sigma_max () const |
| |
| singval_t | sigma_min () const |
| |
| vnl_matrix< T > & | V () |
| | Return the matrix V. More...
|
| |
| vnl_matrix< T > const & | V () const |
| | Return the matrix V. More...
|
| |
| T | V (int i, int j) const |
| | Return the matrix V's (i,j)th entry (to avoid svd.V()(i,j); ). More...
|
| |
| vnl_matrix< T > | inverse () const |
| |
| vnl_matrix< T > | pinverse (unsigned int rank=~0u) const |
| | pseudo-inverse (for non-square matrix) of desired rank. More...
|
| |
| vnl_matrix< T > | tinverse (unsigned int rank=~0u) const |
| | Calculate inverse of transpose, using desired rank. More...
|
| |
| vnl_matrix< T > | recompose (unsigned int rank=~0u) const |
| | Recompose SVD to U*W*V', using desired rank. More...
|
| |
| vnl_matrix< T > | solve (vnl_matrix< T > const &B) const |
| | Solve the matrix equation M X = B, returning X. More...
|
| |
| vnl_vector< T > | solve (vnl_vector< T > const &y) const |
| | Solve the matrix-vector system M x = y, returning x. More...
|
| |
| void | solve (T const *rhs, T *lhs) const |
| |
| void | solve_preinverted (vnl_vector< T > const &rhs, vnl_vector< T > *out) const |
| | Solve the matrix-vector system M x = y. More...
|
| |
| vnl_matrix< T > | nullspace () const |
| | Return N such that M * N = 0. More...
|
| |
| vnl_matrix< T > | nullspace (int required_nullspace_dimension) const |
| | Return N such that M * N = 0. More...
|
| |
| vnl_matrix< T > | left_nullspace () const |
| | Return N such that M' * N = 0. More...
|
| |
| vnl_matrix< T > | left_nullspace (int required_nullspace_dimension) const |
| | Implementation to be done yet; currently returns left_nullspace(). - PVR. More...
|
| |
| vnl_vector< T > | nullvector () const |
| | Return the rightmost column of V. More...
|
| |
| vnl_vector< T > | left_nullvector () const |
| | Return the rightmost column of U. More...
|
| |
| bool | valid () const |
| |
template<class T>
struct vnl_matrix_inverse< T >
Calculates inverse of a matrix (wrapper around vnl_svd<double>).
vnl_matrix_inverse is a wrapper around vnl_svd<double> that allows you to write
This is exactly equivalent to
but is arguably clearer, and also allows for the vnl_matrix_inverse class to be changed to use vnl_qr, say.
Definition at line 6 of file vnl_algo_fwd.h.