#include <umatrix_cx_tlate.h>
Definition at line 363 of file umatrix_cx_tlate.h.
Public Member Functions | |
~umatrix_cx_tlate () | |
Standard constructor | |
umatrix_cx_tlate (size_t r=0, size_t c=0) | |
Create an umatrix of size n with owner as 'true'. | |
Copy constructors | |
umatrix_cx_tlate (const umatrix_cx_tlate &v) | |
Deep copy constructor, allocate new space and make a copy. | |
umatrix_cx_tlate (const umatrix_cx_view_tlate< data_t, complex_t > &v) | |
Deep copy constructor, allocate new space and make a copy. | |
umatrix_cx_tlate & | operator= (const umatrix_cx_tlate &v) |
Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
umatrix_cx_tlate & | operator= (const umatrix_cx_view_tlate< data_t, complex_t > &v) |
Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
umatrix_cx_tlate (size_t n, uvector_cx_view_tlate< data_t, complex_t > uva[]) | |
Deep copy from an array of uvectors. | |
umatrix_cx_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_cx_tlate < data_t, complex_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 568 of file umatrix_cx_tlate.h.
umatrix_cx_tlate<data_t,complex_t> transpose | ( | ) | [inline] |
Compute the transpose (even if matrix is not square)
Definition at line 583 of file umatrix_cx_tlate.h.