#include <umatrix_tlate.h>
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_tlate & | operator= (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_tlate & | operator= (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 () |
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.