ampsci
c++ program for highprecision atomic structure calculations of singlevalence systems

Proved a "view" onto an array. More...
Public Member Functions  
View (T *data, std::size_t start, std::size_t size, std::size_t stride)  
std::size_t  size () const 
T &  operator[] (std::size_t i) 
[] index access (with no range checking). [i][j] returns ith row, jth col  
T  operator[] (std::size_t i) const 
As above, but const.  
T &  at (std::size_t i) 
() index access (with range checking). (i,j) returns ith row, jth col  
T  at (std::size_t i) const 
As above, but const.  
T &  operator() (std::size_t i) 
() index access (with range checking). (i,j) returns ith row, jth col  
T  operator() (std::size_t i) const 
As above, but const.  
T *  data () 
Proved a "view" onto an array.