2 #ifndef vnl_fortran_copy_hxx_ 3 #define vnl_fortran_copy_hxx_ 16 unsigned n = M.
rows();
21 for (
unsigned j = 0; j < p; ++j)
22 for (
unsigned i = 0; i < n; ++i)
35 #undef VNL_FORTRAN_COPY_INSTANTIATE 36 #define VNL_FORTRAN_COPY_INSTANTIATE(T) \ 37 template class VNL_EXPORT vnl_fortran_copy<T > 39 #endif // vnl_fortran_copy_hxx_ static void deallocate(T **, const std::size_t n_when_allocated)
Convert row-stored matrix to column-stored.
static T * allocate_T(const std::size_t n)
An ordinary mathematical matrix.
vnl_fortran_copy(vnl_matrix< T > const &M)
Generate a fortran column-storage matrix from the given matrix.
unsigned int rows() const
Return the number of rows.
~vnl_fortran_copy()
Destructor.
unsigned int columns() const
Return the number of columns.