uvector_cx_tlate Class Template Reference

#include <uvector_cx_tlate.h>

Inheritance diagram for uvector_cx_tlate:

uvector_cx_view_tlate

Detailed Description

template<class data_t, class complex_t>
class uvector_cx_tlate< data_t, complex_t >

A vector of double-precision numbers with unit stride.

There are several global binary operators associated with objects of type uvector_cx_tlate. The are documented in the "Functions" section of uvector_cx_tlate.h.

Definition at line 344 of file uvector_cx_tlate.h.


Public Member Functions

Standard constructor
 uvector_cx_tlate (size_t n=0)
 Create an uvector_cx of size n with owner as 'true'.
Copy constructors
 uvector_cx_tlate (const uvector_cx_tlate &v)
 Deep copy constructor - allocate new space and make a copy.
 uvector_cx_tlate (const uvector_cx_view_tlate< data_t, complex_t > &v)
 Deep copy constructor - allocate new space and make a copy.
uvector_cx_tlateoperator= (const uvector_cx_tlate &v)
 Deep copy constructor - if owner is true, allocate space and make a new copy, otherwise, just copy into the view.
uvector_cx_tlateoperator= (const uvector_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.
Memory allocation
int allocate (size_t nsize)
 Allocate memory for size n after freeing any memory presently in use.
int free ()
 Free the memory.

Member Function Documentation

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 498 of file uvector_cx_tlate.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page