Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_diag_matrix.h File Reference

Contains class for diagonal matrices. More...

Go to the source code of this file.

Compounds

class  vnl_diag_matrix

Functions

template<class T> vcl_ostream & operator<< (vcl_ostream &, vnl_diag_matrix< T > const &)
template<class T> vnl_matrix< T > operator * (vnl_matrix< T > const &A, vnl_diag_matrix< T > const &D)
template<class T> vnl_matrix< T > operator * (vnl_diag_matrix< T > const &D, vnl_matrix< T > const &A)
template<class T> vnl_matrix< T > operator+ (vnl_matrix< T > const &A, vnl_diag_matrix< T > const &D)
template<class T> vnl_matrix< T > operator+ (vnl_diag_matrix< T > const &D, vnl_matrix< T > const &A)
template<class T> vnl_matrix< T > operator- (vnl_matrix< T > const &A, vnl_diag_matrix< T > const &D)
template<class T> vnl_matrix< T > operator- (vnl_diag_matrix< T > const &D, vnl_matrix< T > const &A)
template<class T> vnl_vector< T > operator * (vnl_diag_matrix< T > const &D, vnl_vector< T > const &A)
template<class T> vnl_vector< T > operator * (vnl_vector< T > const &A, vnl_diag_matrix< T > const &D)


Detailed Description

Contains class for diagonal matrices.

Author:
Andrew W. Fitzgibbon (Oxford RRG) 5/8/96
    Modifications
    IMS (Manchester) 16/03/2001: Tidied up the documentation + added binary_io
   

Definition in file vnl_diag_matrix.h.


Function Documentation

template<class T>
vnl_vector<T> operator * vnl_vector< T > const &    A,
vnl_diag_matrix< T > const &    D
[inline]
 

Multiply a Vector by a vnl_diag_matrix.\ n flops.

Definition at line 271 of file vnl_diag_matrix.h.

template<class T>
vnl_vector<T> operator * vnl_diag_matrix< T > const &    D,
vnl_vector< T > const &    A
[inline]
 

Multiply a vnl_diag_matrix by a Vector.\ n flops.

Definition at line 263 of file vnl_diag_matrix.h.

template<class T>
vnl_matrix<T> operator * vnl_diag_matrix< T > const &    D,
vnl_matrix< T > const &    A
[inline]
 

Multiply a vnl_diag_matrix by a Matrix.\ Just scales the rows - mn flops.

Definition at line 199 of file vnl_diag_matrix.h.

template<class T>
vnl_matrix<T> operator * vnl_matrix< T > const &    A,
vnl_diag_matrix< T > const &    D
[inline]
 

Multiply a Matrix by a vnl_diag_matrix.\ Just scales the columns - mn flops.

Definition at line 187 of file vnl_diag_matrix.h.

template<class T>
vnl_matrix<T> operator+ vnl_diag_matrix< T > const &    D,
vnl_matrix< T > const &    A
[inline]
 

Add a Matrix to a vnl_diag_matrix.\ n adds, mn copies.

Definition at line 225 of file vnl_diag_matrix.h.

References vnl_diag_matrix< T >::data_block(), and vnl_diag_matrix< T >::n().

template<class T>
vnl_matrix<T> operator+ vnl_matrix< T > const &    A,
vnl_diag_matrix< T > const &    D
[inline]
 

Add a vnl_diag_matrix to a Matrix.\ n adds, mn copies.

Definition at line 212 of file vnl_diag_matrix.h.

template<class T>
vnl_matrix<T> operator- vnl_diag_matrix< T > const &    D,
vnl_matrix< T > const &    A
[inline]
 

Subtract a Matrix from a vnl_diag_matrix.\ n adds, mn copies.

Definition at line 246 of file vnl_diag_matrix.h.

template<class T>
vnl_matrix<T> operator- vnl_matrix< T > const &    A,
vnl_diag_matrix< T > const &    D
[inline]
 

Subtract a vnl_diag_matrix from a Matrix.\ n adds, mn copies.

Definition at line 233 of file vnl_diag_matrix.h.

template<class T>
vcl_ostream & operator<< vcl_ostream &   ,
vnl_diag_matrix< T > const &   
 


Generated at Fri May 21 01:16:07 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000