#include <vnl_diag_matrix.h>
Inheritance diagram for vnl_diag_matrix:


Public Types | |
| typedef vnl_vector< T >::iterator | iterator |
| typedef vnl_vector< T >::const_iterator | const_iterator |
Public Methods | |
| vnl_diag_matrix () | |
| vnl_diag_matrix (unsigned nn) | |
| vnl_diag_matrix (unsigned nn, T const &value) | |
| vnl_diag_matrix (vnl_vector< T > const &that) | |
| ~vnl_diag_matrix () | |
| vnl_diag_matrix & | operator= (vnl_diag_matrix< T > const &that) |
| vnl_diag_matrix< T > & | operator *= (T v) |
| vnl_diag_matrix< T > & | operator/= (T v) |
| void | invert_in_place () |
| T | determinant () const |
| vnl_vector< T > | solve (vnl_vector< T > const &b) |
| void | solve (vnl_vector< T > const &b, vnl_vector< T > *out) |
| T | operator() (unsigned i, unsigned j) const |
| T & | operator() (unsigned i, unsigned j) |
| T & | operator() (unsigned i) |
| T const & | operator() (unsigned i) const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| unsigned | size () const |
| unsigned | n () const |
| unsigned | rows () const |
| unsigned | cols () const |
| unsigned | columns () const |
| vnl_matrix< T > | asMatrix () const |
| void | resize (int n) |
| void | clear () |
| T * | data_block () |
| T const * | data_block () const |
| vnl_vector< T > const & | diagonal () const |
| void | set (vnl_vector< T > const &v) |
Protected Attributes | |
| vnl_vector< T > | diagonal_ |
Definition at line 38 of file vnl_diag_matrix.h.
|
|||||
|
Definition at line 92 of file vnl_diag_matrix.h. |
|
|||||
|
Definition at line 89 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 40 of file vnl_diag_matrix.h. |
|
||||||||||
|
Construct an empty diagonal matrix. Definition at line 44 of file vnl_diag_matrix.h. |
|
||||||||||||||||
|
Construct a diagonal matrix with diagonal elements equal to value. Definition at line 48 of file vnl_diag_matrix.h. |
|
||||||||||
|
Construct a diagonal matrix from a Vector.\ The vector elements become. the diagonal elements. Definition at line 53 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 54 of file vnl_diag_matrix.h. |
|
|||||||||
|
Convert a vnl_diag_matrix to a Matrix. Definition at line 148 of file vnl_diag_matrix.h. References vnl_diag_matrix< T >::data_block(), and vnl_diag_matrix< T >::diagonal_. |
|
|||||||||
|
Definition at line 93 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 90 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 106 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 99 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 100 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 111 of file vnl_diag_matrix.h. |
|
|||||||||
|
Return pointer to the diagonal elements as a contiguous 1D C array;. Definition at line 110 of file vnl_diag_matrix.h. Referenced by vnl_diag_matrix< T >::asMatrix(), vnl_diag_matrix< T >::invert_in_place(), and operator+(). |
|
|||||||||
|
Return determinant as product of diagonal values. Definition at line 174 of file vnl_diag_matrix.h. References vnl_matrix< T >::columns(), and vnl_matrix< T >::rows(). |
|
|||||||||
|
Return diagonal elements as a vector. Definition at line 115 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 94 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 91 of file vnl_diag_matrix.h. |
|
|||||||||
|
Invert a vnl_diag_matrix in-situ. Just replaces each element with its reciprocal. Definition at line 162 of file vnl_diag_matrix.h. References vnl_diag_matrix< T >::data_block(), and vnl_diag_matrix< T >::diagonal_. |
|
|||||||||
|
Definition at line 97 of file vnl_diag_matrix.h. Referenced by operator+(), and vnl_diag_matrix< vcl_complex< double > >::rows(). |
|
||||||||||
|
In-place arithmetic operations. Definition at line 65 of file vnl_diag_matrix.h. |
|
||||||||||
|
Definition at line 86 of file vnl_diag_matrix.h. |
|
||||||||||
|
Definition at line 85 of file vnl_diag_matrix.h. |
|
||||||||||||||||
|
Definition at line 81 of file vnl_diag_matrix.h. |
|
||||||||||||||||
|
Definition at line 77 of file vnl_diag_matrix.h. |
|
||||||||||
|
In-place arithmetic operations. Definition at line 68 of file vnl_diag_matrix.h. |
|
||||||||||
|
Definition at line 57 of file vnl_diag_matrix.h. |
|
||||||||||
|
Definition at line 105 of file vnl_diag_matrix.h. |
|
|||||||||
|
Definition at line 98 of file vnl_diag_matrix.h. |
|
||||||||||
|
Set diagonal elements using vector. Definition at line 119 of file vnl_diag_matrix.h. |
|
||||||||||
|
Definition at line 96 of file vnl_diag_matrix.h. |
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||
1.2.15 written by Dimitri van Heesch,
© 1997-2000