#include <ovector_tlate.h>
Definition at line 887 of file ovector_tlate.h.
Public Member Functions | |
Copy constructors | |
ovector_view_tlate (const ovector_view_tlate &v) | |
Shallow copy constructor - create a new view of the same vector. | |
ovector_view_tlate & | operator= (const ovector_view_tlate &v) |
Shallow copy constructor - create a new view of the same vector. | |
ovector_view_tlate (ovector_base_tlate< data_t, vparent_t, block_t > &v) | |
Shallow copy constructor for non-views. | |
ovector_view_tlate & | operator= (ovector_base_tlate< data_t, vparent_t, block_t > &v) |
Shallow copy constructor for non-views. | |
ovector_view_tlate (uvector_base_tlate< data_t > &v) | |
Shallow copy constructor for unit-stride vectors. | |
ovector_view_tlate & | operator= (uvector_base_tlate< data_t > &v) |
Shallow copy constructor for unit-stride vectors. | |
Get and set methods | |
data_t & | operator[] (size_t i) const |
Array-like indexing. | |
data_t & | operator() (size_t i) const |
Array-like indexing with operator(). | |
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 (double val) const |
Set all of the value to be the value val . | |
Protected Member Functions | |
ovector_view_tlate () | |
Empty constructor provided for use by ovector_view_tlate(const ovector_view_tlate &v). |
int set_all | ( | double | val | ) | const [inline] |
If the vector is empty, this function does not perform any assignment and does not call the error handler.
Definition at line 1041 of file ovector_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