#include <omatrix_tlate.h>
The basic matrix classes are built upon this template. A matrix of double-precision numbers is an object of type omatrix , which is just a typedef
defined using this class template. See Arrays, Vectors, Matrices and Tensors in the User's Guide for more information.
Definition at line 654 of file omatrix_tlate.h.
Public Member Functions | |
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_const_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_const_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_base_tlate< data_t, vparent_t, block_t > ova[]) | |
Deep copy from an array of ovectors. | |
omatrix_tlate (size_t n, uvector_base_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 () |
Compute the transpose (even if matrix is not square). |
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 966 of file omatrix_tlate.h.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page