ovector_cx_const_array_stride_tlate Class Template Reference

Create a vector from an array_stride.

#include <ovector_cx_tlate.h>

Inheritance diagram for ovector_cx_const_array_stride_tlate:

ovector_cx_view_tlate

Detailed Description

template<class data_t, class vparent_t, class block_t, class complex_t>
class ovector_cx_const_array_stride_tlate< data_t, vparent_t, block_t, complex_t >

Definition at line 853 of file ovector_cx_tlate.h.


Public Member Functions

 ovector_cx_const_array_stride_tlate (size_t n, const complex_t *dat, size_t s)
 Create a vector from dat with size n.

Protected Member Functions

These are inaccessible to ensure the vector is \c const.
data_t & operator[] (size_t i)
 Array-like indexing.
data_t & operator() (size_t i)
 Array-like indexing.
data_t * get_ptr (size_t i)
 Get pointer (with optional range-checking).
int set (size_t i, data_t val)
int set_all (double val)
vparent_t * get_gsl_vector ()
ovector_cx_view_tlate< data_t,
vparent_t, block_t, complex_t > & 
operator+= (const ovector_cx_view_tlate< data_t, vparent_t, block_t, complex_t > &x)
 operator+=
ovector_cx_view_tlate< data_t,
vparent_t, block_t, complex_t > & 
operator-= (const ovector_cx_view_tlate< data_t, vparent_t, block_t, complex_t > &x)
 operator-=
ovector_cx_view_tlate< data_t,
vparent_t, block_t, complex_t > & 
operator*= (const data_t &y)
 operator*=

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