ampsci
c++ program for high-precision atomic structure calculations of single-valence systems
Public Member Functions | List of all members
qip::ArrayView< T >

A view onto a 1D array; used for rows/collumns of ND array. Can have a stride. More...

#include <Array.hpp>

Public Member Functions

 ArrayView (T *data, std::size_t size, std::size_t stride=1)
 
std::size_t size () const
 
T & operator[] (std::size_t i)
 
operator[] (std::size_t i) const
 
T & at (std::size_t i)
 
at (std::size_t i) const
 
T & operator() (std::size_t i)
 
operator() (std::size_t i) const
 
T & front ()
 
front () const
 
T & back ()
 
back () const
 
T * data ()
 
auto begin ()
 Iterator to the beginning.
 
auto cbegin () const
 
auto end ()
 
auto cend () const
 
auto rbegin ()
 
auto crbegin () const
 
auto rend ()
 
auto crend () const
 

Detailed Description

template<typename T = double>
class qip::ArrayView< T >

A view onto a 1D array; used for rows/collumns of ND array. Can have a stride.


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