Public Member Functions | Protected Attributes
vnl_fortran_copy< T > Class Template Reference

Convert row-stored matrix to column-stored. More...

#include <vnl_fortran_copy.h>

List of all members.

Public Member Functions

 vnl_fortran_copy (vnl_matrix< T > const &M)
 Generate a fortran column-storage matrix from the given matrix.
 ~vnl_fortran_copy ()
 Destructor.
 operator T * ()

Protected Attributes

int sz
T * data

Detailed Description

template<class T>
class vnl_fortran_copy< T >

Convert row-stored matrix to column-stored.

Convert C format (row-stored) matrix to fortran format (column-stored) matrix.

Definition at line 26 of file vnl_fortran_copy.h.


Constructor & Destructor Documentation

template<class T >
vnl_fortran_copy< T >::vnl_fortran_copy ( vnl_matrix< T > const &  M)

Generate a fortran column-storage matrix from the given matrix.

Definition at line 13 of file vnl_fortran_copy.txx.

template<class T >
vnl_fortran_copy< T >::~vnl_fortran_copy ( )

Destructor.

Definition at line 27 of file vnl_fortran_copy.txx.


Member Function Documentation

template<class T>
vnl_fortran_copy< T >::operator T * ( ) [inline]

Definition at line 36 of file vnl_fortran_copy.h.


Member Data Documentation

template<class T>
T* vnl_fortran_copy< T >::data [protected]

Definition at line 41 of file vnl_fortran_copy.h.

template<class T>
int vnl_fortran_copy< T >::sz [protected]

Definition at line 40 of file vnl_fortran_copy.h.


The documentation for this class was generated from the following files: