core/vnl/vnl_matlab_print.h File Reference


Detailed Description

Print matrices and vectors in nice MATLAB format.

Author:
fsm, from awf's MatOps code.

Definition in file vnl_matlab_print.h.

#include <vcl_iosfwd.h>
#include <vnl/vnl_fwd.h>
#include <vnl/vnl_matlab_print_format.h>

Go to the source code of this file.


Functions

template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, T const *array, unsigned length, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a 1D array.
template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, T const *const *array, unsigned rows, unsigned cols, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a 2D array.
template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_diag_matrix< T > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_diagonal_matrix<T>.
template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_matrix< T > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_matrix<T>.
template<class T, unsigned int n, unsigned int m>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_matrix_fixed< T, n, m > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_matrix_fixed<T>.
template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_matrix_ref< T > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_matrix_ref<T>.
template<class T>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_vector< T > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_vector<T>.
template<class T, unsigned int n>
vcl_ostream & vnl_matlab_print (vcl_ostream &, vnl_vector_fixed< T, n > const &, char const *variable_name=0, vnl_matlab_print_format=vnl_matlab_print_format_default)
 print a vnl_vector_fixed<T>.

Function Documentation

template<class T, unsigned int n>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_vector_fixed< T, n > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_vector_fixed<T>.

Definition at line 158 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_vector< T > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_vector<T>.

Definition at line 92 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_matrix_ref< T > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_matrix_ref<T>.

Definition at line 133 of file vnl_matlab_print.txx.

template<class T, unsigned int n, unsigned int m>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_matrix_fixed< T, n, m > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_matrix_fixed<T>.

Definition at line 109 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_matrix< T > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_matrix<T>.

Definition at line 68 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream & vnl_matlab_print ( vcl_ostream &  ,
vnl_diag_matrix< T > const &  ,
char const *  variable_name = 0,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a vnl_diagonal_matrix<T>.

Definition at line 51 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream& vnl_matlab_print ( vcl_ostream &  ,
T const *const *  array,
unsigned  rows,
unsigned  cols,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a 2D array.

Definition at line 40 of file vnl_matlab_print.txx.

template<class T>
vcl_ostream& vnl_matlab_print ( vcl_ostream &  ,
T const *  array,
unsigned  length,
vnl_matlab_print_format  = vnl_matlab_print_format_default 
)

print a 1D array.

Definition at line 23 of file vnl_matlab_print.txx.


Generated on Mon Mar 8 05:06:48 2010 for core/vnl by  doxygen 1.5.1