Object-oriented Scientific Computing Library: Version 0.910
umatrix_cx_tlate< data_t, complex_t > Class Template Reference

A matrix of double-precision numbers. More...

#include <umatrix_cx_tlate.h>

Inheritance diagram for umatrix_cx_tlate< data_t, complex_t >:
umatrix_cx_view_tlate< data_t, complex_t > ufmatrix_cx< N, M >

Detailed Description

template<class data_t, class complex_t>
class umatrix_cx_tlate< data_t, complex_t >

Definition at line 366 of file umatrix_cx_tlate.h.

Public Member Functions

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_tlateoperator= (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_tlateoperator= (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 ()
 Compute the transpose (even if matrix is not square)

Member Function Documentation

template<class data_t, class complex_t>
int umatrix_cx_tlate< data_t, complex_t >::free ( ) [inline]

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

Definition at line 578 of file umatrix_cx_tlate.h.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.