Modifications
IMS (Manchester) 16 Mar 2001: Tidied up the documentation + added binary_io
Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
Sep.2002 - Peter Vanroose - Added operator+, operator-, operator*
Mar.2004 - Peter Vanroose - removed deprecated resize()
Definition in file vnl_diag_matrix_fixed.h.
#include <vcl_cassert.h>
#include <vcl_iosfwd.h>
#include <vnl/vnl_vector_fixed.h>
#include <vnl/vnl_matrix_fixed.h>
Go to the source code of this file.
Classes | |
| class | vnl_diag_matrix_fixed< T, N > |
| stores a diagonal matrix as a single vector. More... | |
Functions | |
| template<class T, unsigned int N> | |
| vnl_vector_fixed< T, N > | operator * (vnl_diag_matrix_fixed< T, N > const &D, vnl_vector_fixed< T, N > const &A) |
| Multiply a vnl_diag_matrix_fixed by a vnl_vector_fixed. n flops. | |
| template<class T, unsigned int N> | |
| vcl_ostream & | operator<< (vcl_ostream &, vnl_diag_matrix_fixed< T, N > const &) |
| Print in MATLAB diag([1 2 3]) form. | |
| template<class T, unsigned int N> | |
| vnl_diag_matrix_fixed< T, N > | operator * (vnl_diag_matrix_fixed< T, N > const &A, vnl_diag_matrix_fixed< T, N > const &B) |
| Multiply two vnl_diag_matrices. Just multiply the diag elements - n flops. | |
| template<class T, unsigned int R, unsigned int C> | |
| vnl_matrix_fixed< T, R, C > | operator * (vnl_matrix_fixed< T, R, C > const &A, vnl_diag_matrix_fixed< T, C > const &D) |
| Multiply a vnl_matrix by a vnl_diag_matrix_fixed. Just scales the columns - mn flops. | |
| template<class T, unsigned int R, unsigned int C> | |
| vnl_matrix_fixed< T, R, C > | operator * (vnl_diag_matrix_fixed< T, R > const &D, vnl_matrix_fixed< T, R, C > const &A) |
| Multiply a vnl_diag_matrix_fixed by a vnl_matrix. Just scales the rows - mn flops. | |
| template<class T, unsigned int N> | |
| vnl_diag_matrix_fixed< T, N > | operator+ (vnl_diag_matrix_fixed< T, N > const &A, vnl_diag_matrix_fixed< T, N > const &B) |
| Add two vnl_diag_matrices. Just add the diag elements - n flops. | |
| template<class T, unsigned int N> | |
| vnl_matrix_fixed< T, N, N > | operator+ (vnl_matrix_fixed< T, N, N > const &A, vnl_diag_matrix_fixed< T, N > const &D) |
| Add a vnl_diag_matrix_fixed to a vnl_matrix. n adds, mn copies. | |
| template<class T, unsigned int N> | |
| vnl_matrix_fixed< T, N, N > | operator+ (vnl_diag_matrix_fixed< T, N > const &D, vnl_matrix_fixed< T, N, N > const &A) |
| Add a vnl_matrix to a vnl_diag_matrix_fixed. n adds, mn copies. | |
| template<class T, unsigned int N> | |
| vnl_diag_matrix_fixed< T, N > | operator- (vnl_diag_matrix_fixed< T, N > const &A, vnl_diag_matrix_fixed< T, N > const &B) |
| Subtract two vnl_diag_matrices. Just subtract the diag elements - n flops. | |
| template<class T, unsigned int N> | |
| vnl_matrix_fixed< T, N, N > | operator- (vnl_matrix_fixed< T, N, N > const &A, vnl_diag_matrix_fixed< T, N > const &D) |
| Subtract a vnl_diag_matrix_fixed from a vnl_matrix. n adds, mn copies. | |
| template<class T, unsigned int N> | |
| vnl_matrix_fixed< T, N, N > | operator- (vnl_diag_matrix_fixed< T, N > const &D, vnl_matrix_fixed< T, N, N > const &A) |
| Subtract a vnl_matrix from a vnl_diag_matrix_fixed. n adds, mn copies. | |
| template<class T, unsigned int N> | |
| vnl_vector_fixed< T, N > | operator * (vnl_vector_fixed< T, N > const &A, vnl_diag_matrix_fixed< T, N > const &D) |
| Multiply a vnl_vector_fixed by a vnl_diag_matrix_fixed. n flops. | |
| vnl_vector_fixed< T, N > operator * | ( | vnl_vector_fixed< T, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | D | |||
| ) | [inline] |
Multiply a vnl_vector_fixed by a vnl_diag_matrix_fixed. n flops.
Definition at line 313 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, R, C > operator * | ( | vnl_diag_matrix_fixed< T, R > const & | D, | |
| vnl_matrix_fixed< T, R, C > const & | A | |||
| ) | [inline] |
Multiply a vnl_diag_matrix_fixed by a vnl_matrix. Just scales the rows - mn flops.
Definition at line 214 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, R, C > operator * | ( | vnl_matrix_fixed< T, R, C > const & | A, | |
| vnl_diag_matrix_fixed< T, C > const & | D | |||
| ) | [inline] |
Multiply a vnl_matrix by a vnl_diag_matrix_fixed. Just scales the columns - mn flops.
Definition at line 201 of file vnl_diag_matrix_fixed.h.
| vnl_diag_matrix_fixed< T, N > operator * | ( | vnl_diag_matrix_fixed< T, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | B | |||
| ) | [inline] |
Multiply two vnl_diag_matrices. Just multiply the diag elements - n flops.
Definition at line 189 of file vnl_diag_matrix_fixed.h.
| vnl_vector_fixed< T, N > operator * | ( | vnl_diag_matrix_fixed< T, N > const & | , | |
| vnl_vector_fixed< T, N > const & | ||||
| ) | [inline] |
Multiply a vnl_diag_matrix_fixed by a vnl_vector_fixed. n flops.
Definition at line 304 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, N, N > operator+ | ( | vnl_diag_matrix_fixed< T, N > const & | D, | |
| vnl_matrix_fixed< T, N, N > const & | A | |||
| ) | [inline] |
Add a vnl_matrix to a vnl_diag_matrix_fixed. n adds, mn copies.
Definition at line 252 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, N, N > operator+ | ( | vnl_matrix_fixed< T, N, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | D | |||
| ) | [inline] |
Add a vnl_diag_matrix_fixed to a vnl_matrix. n adds, mn copies.
Definition at line 239 of file vnl_diag_matrix_fixed.h.
| vnl_diag_matrix_fixed< T, N > operator+ | ( | vnl_diag_matrix_fixed< T, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | B | |||
| ) | [inline] |
Add two vnl_diag_matrices. Just add the diag elements - n flops.
Definition at line 227 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, N, N > operator- | ( | vnl_diag_matrix_fixed< T, N > const & | D, | |
| vnl_matrix_fixed< T, N, N > const & | A | |||
| ) | [inline] |
Subtract a vnl_matrix from a vnl_diag_matrix_fixed. n adds, mn copies.
Definition at line 285 of file vnl_diag_matrix_fixed.h.
| vnl_matrix_fixed< T, N, N > operator- | ( | vnl_matrix_fixed< T, N, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | D | |||
| ) | [inline] |
Subtract a vnl_diag_matrix_fixed from a vnl_matrix. n adds, mn copies.
Definition at line 272 of file vnl_diag_matrix_fixed.h.
| vnl_diag_matrix_fixed< T, N > operator- | ( | vnl_diag_matrix_fixed< T, N > const & | A, | |
| vnl_diag_matrix_fixed< T, N > const & | B | |||
| ) | [inline] |
Subtract two vnl_diag_matrices. Just subtract the diag elements - n flops.
Definition at line 260 of file vnl_diag_matrix_fixed.h.
| vcl_ostream & operator<< | ( | vcl_ostream & | , | |
| vnl_diag_matrix_fixed< T, N > const & | ||||
| ) |
1.5.1