#include <omatrix_tlate.h>
Definition at line 362 of file omatrix_tlate.h.
Public Member Functions | |
~omatrix_tlate () | |
Standard constructor | |
omatrix_tlate (size_t r=0, size_t c=0) | |
Create an omatrix of size n with owner as true . | |
Copy constructors | |
omatrix_tlate (const omatrix_tlate &v) | |
Deep copy constructor, allocate new space and make a copy. | |
omatrix_tlate (const omatrix_view_tlate< data_t, mparent_t, block_t > &v) | |
Deep copy constructor, allocate new space and make a copy. | |
omatrix_tlate & | operator= (const omatrix_tlate &v) |
Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
omatrix_tlate & | operator= (const omatrix_view_tlate< data_t, mparent_t, block_t > &v) |
Deep copy constructor, if owner is true, allocate space and make a new copy, otherwise, just copy into the view. | |
omatrix_tlate (size_t n, ovector_view_tlate< data_t, vparent_t, block_t > ova[]) | |
Deep copy from an array of ovectors. | |
omatrix_tlate (size_t n, uvector_view_tlate< data_t > uva[]) | |
Deep copy from an array of uvectors. | |
omatrix_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 | |
omatrix_tlate < data_t, mparent_t, vparent_t, block_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 634 of file omatrix_tlate.h.
omatrix_tlate<data_t,mparent_t,vparent_t,block_t> transpose | ( | ) | [inline] |
Compute the transpose (even if matrix is not square)
Definition at line 653 of file omatrix_tlate.h.