umatrix_tlate Class Template Reference

#include <umatrix_tlate.h>

Inheritance diagram for umatrix_tlate:

umatrix_view_tlate ufmatrix

Detailed Description

template<class data_t>
class umatrix_tlate< data_t >

A matrix of double-precision numbers.

Definition at line 344 of file umatrix_tlate.h.


Public Member Functions

 ~umatrix_tlate ()
Standard constructor
 umatrix_tlate (size_t r=0, size_t c=0)
 Create an umatrix of size n with owner as 'true'.
Copy constructors
 umatrix_tlate (const umatrix_tlate &v)
 Deep copy constructor, allocate new space and make a copy.
 umatrix_tlate (const umatrix_view_tlate< data_t > &v)
 Deep copy constructor, allocate new space and make a copy.
umatrix_tlateoperator= (const umatrix_tlate &v)
 Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view.
umatrix_tlateoperator= (const umatrix_view_tlate< data_t > &v)
 Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view.
 umatrix_tlate (size_t n, uvector_view_tlate< data_t > uva[])
 Deep copy from an array of uvectors.
 umatrix_tlate (size_t n, size_t n2, data_t **csa)
 Deep copy from a C-style 2-d array.
Memory allocation
int allocate (size_t nrows, size_t ncols)
 Allocate memory after freeing any memory presently in use.
int free ()
 Free the memory.
Other methods
umatrix_tlate< data_t > transpose ()

Member Function Documentation

int free (  )  [inline]

Free the memory.

This function will safely do nothing if used without first allocating memory or if called multiple times in succession.

Definition at line 548 of file umatrix_tlate.h.

umatrix_tlate<data_t> transpose (  )  [inline]

Compute the transpose (even if matrix is not square)

Definition at line 563 of file umatrix_tlate.h.


The documentation for this class was generated from the following file:
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.