![]() |
Object-oriented Scientific Computing Library: Version 0.910
|
A base class for uvectors.
#include <uvector_tlate.h>
Definition at line 485 of file uvector_tlate.h.
Public Member Functions | |
Copy constructors | |
uvector_view_tlate (const uvector_view_tlate &v) | |
Copy constructor - create a new view of the same vector. | |
uvector_view_tlate & | operator= (const uvector_view_tlate &v) |
Copy constructor - create a new view of the same vector. | |
uvector_view_tlate (uvector_base_tlate< data_t > &v) | |
Copy constructor - create a new view of the same vector. | |
uvector_view_tlate & | operator= (uvector_base_tlate< data_t > &v) |
Copy constructor - create a new view of the same vector. | |
Get and set methods | |
data_t & | operator[] (size_t i) const |
Array-like indexing. | |
data_t & | operator() (size_t i) const |
Array-like indexing. | |
data_t * | get_ptr (size_t i) const |
Get pointer (with optional range-checking) | |
int | set (size_t i, data_t val) const |
Set (with optional range-checking) | |
int | set_all (data_t val) const |
Set all of the value to be the value val . | |
Protected Member Functions | |
uvector_view_tlate () | |
Empty constructor provided for use by uvector_view_tlate(const uvector_view_tlate &v) |
Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).