Public Member Functions | Protected Attributes | List of all members
vnl_fortran_copy< T > Class Template Reference

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

#include <vnl_fortran_copy.h>

Public Member Functions

 vnl_fortran_copy (vnl_matrix< T > const &M)
 Generate a fortran column-storage matrix from the given matrix. More...
 
 ~vnl_fortran_copy ()
 Destructor. More...
 
 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 25 of file vnl_fortran_copy.h.

Constructor & Destructor Documentation

◆ vnl_fortran_copy()

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.hxx.

◆ ~vnl_fortran_copy()

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

Destructor.

Definition at line 27 of file vnl_fortran_copy.hxx.

Member Function Documentation

◆ operator T *()

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

Definition at line 35 of file vnl_fortran_copy.h.

Member Data Documentation

◆ data

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

Definition at line 40 of file vnl_fortran_copy.h.

◆ sz

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

Definition at line 39 of file vnl_fortran_copy.h.


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