Classes | Enumerations | Functions
core/vnl/vnl_matrix.h File Reference

An ordinary mathematical matrix. More...

#include <vcl_iosfwd.h>
#include <vnl/vnl_tag.h>
#include <vnl/vnl_c_vector.h>
#include <vnl/vnl_config.h>

Go to the source code of this file.

Classes

class  vnl_matrix< T >
 An ordinary mathematical matrix. More...

Enumerations

enum  vnl_matrix_type { vnl_matrix_null, vnl_matrix_identity }

Functions

template<class T >
operator+ (T const &, m const &)
template<class T >
operator- (T const &, m const &)
template<class T >
operator* (T const &, m const &)
template<class T >
element_product (m const &, m const &)
template<class T >
element_quotient (m const &, m const &)
template<class T >
dot_product (m const &, m const &)
template<class T >
inner_product (m const &, m const &)
template<class T >
cos_angle (m const &, m const &)
template<class T >
vcl_ostream & operator<< (vcl_ostream &, m const &)
template<class T >
vcl_istream & operator>> (vcl_istream &, m &)
template<class T >
vnl_matrix< T > operator* (T const &value, vnl_matrix< T > const &m)
template<class T >
vnl_matrix< T > operator+ (T const &value, vnl_matrix< T > const &m)
template<class T >
void swap (vnl_matrix< T > &A, vnl_matrix< T > &B)
 Swap two matrices.

Detailed Description

An ordinary mathematical matrix.

    Modifications
     Apr 21, 1989 - MBN - Initial design and implementation
     Jun 22, 1989 - MBN - Removed non-destructive methods
     Aug 09, 1989 - LGO - Inherit from Generic
     Aug 20, 1989 - MBN - Changed template usage to reflect new syntax
     Sep 11, 1989 - MBN - Added conditional exception handling and base class
     Oct 05, 1989 - LGO - Don't re-allocate data in operator= when same size
     Oct 19, 1989 - LGO - Add extra parameter to varargs constructor
     Oct 19, 1989 - MBN - Added optional argument to set_compare method
     Dec 08, 1989 - LGO - Allocate column data in one chunk
     Dec 08, 1989 - LGO - Clean-up get and put, add const everywhere.
     Dec 19, 1989 - LGO - Remove the map and reduce methods
     Feb 22, 1990 - MBN - Changed size arguments from int to unsigned int
     Jun 30, 1990 - MJF - Added base class name to constructor initializer
     Feb 21, 1992 - VDN - New lite version
     May 05, 1992 - VDN - Use envelope to avoid unnecessary copying
     Sep 30, 1992 - VDN - Matrix inversion with singular value decomposition
     Aug 21, 1996 - AWF - set_identity, normalize_rows, scale_row.
     Sep 30, 1996 - AWF - set_row/column methods. Const-correct data_block().
     14 Feb 1997  - AWF - get_n_rows, get_n_columns.
     20 Mar 1997  - PVR - get_row, get_column.
     24-Oct-2010 - Peter Vanroose - mutators and filling methods now return *this
     18-Jan-2011 - Peter Vanroose - added methods set_diagonal() & get_diagonal()
   

Definition in file vnl_matrix.h.


Enumeration Type Documentation

Enumerator:
vnl_matrix_null 
vnl_matrix_identity 

Definition at line 75 of file vnl_matrix.h.


Function Documentation

template<class T >
T cos_angle ( m const &  ,
m const &   
)
template<class T >
T dot_product ( m const &  ,
m const &   
)
template<class T >
m element_product ( m const &  ,
m const &   
)
template<class T >
m element_quotient ( m const &  ,
m const &   
)
template<class T >
T inner_product ( m const &  ,
m const &   
)
template<class T >
m operator* ( T const &  ,
m const &   
)
template<class T >
vnl_matrix< T > operator* ( T const &  value,
vnl_matrix< T > const &  m 
) [inline]

Definition at line 732 of file vnl_matrix.h.

template<class T >
m operator+ ( T const &  ,
m const &   
)
template<class T >
vnl_matrix< T > operator+ ( T const &  value,
vnl_matrix< T > const &  m 
) [inline]

Definition at line 740 of file vnl_matrix.h.

template<class T >
m operator- ( T const &  ,
m const &   
)
template<class T >
vcl_ostream& operator<< ( vcl_ostream &  ,
m const &   
)
template<class T >
vcl_istream& operator>> ( vcl_istream &  ,
m &   
)
template<class T >
void swap ( vnl_matrix< T > &  A,
vnl_matrix< T > &  B 
) [inline]

Swap two matrices.

Definition at line 748 of file vnl_matrix.h.