Object-oriented Scientific Computing Library: Version 0.910
Protected Member Functions
ovector_view_tlate< data_t, vparent_t, block_t > Class Template Reference

A vector view with finite stride.

#include <ovector_tlate.h>

Inheritance diagram for ovector_view_tlate< data_t, vparent_t, block_t >:
ovector_base_tlate< data_t, vparent_t, block_t > ovector_const_view_tlate< data_t, vparent_t, block_t > omatrix_col_tlate< data_t, mparent_t, vparent_t, block_t > omatrix_diag_tlate< data_t, mparent_t, vparent_t, block_t > omatrix_row_tlate< data_t, mparent_t, vparent_t, block_t > ovector_array_stride_tlate< data_t, vparent_t, block_t > ovector_array_tlate< data_t, vparent_t, block_t > ovector_cx_imag_tlate< data_t, vparent_t, block_t, cvparent_t, cblock_t, complex_t > ovector_cx_real_tlate< data_t, vparent_t, block_t, cvparent_t, cblock_t, complex_t > ovector_subvector_tlate< data_t, vparent_t, block_t >

Detailed Description

template<class data_t, class vparent_t, class block_t>
class ovector_view_tlate< data_t, vparent_t, block_t >

Definition at line 905 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_tlateoperator= (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_tlateoperator= (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_tlateoperator= (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)

Member Function Documentation

template<class data_t, class vparent_t, class block_t>
int ovector_view_tlate< data_t, vparent_t, block_t >::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 1056 of file ovector_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.