39 #ifndef MADNESS_TENSOR_SLICE_H__INCLUDED 
   40 #define MADNESS_TENSOR_SLICE_H__INCLUDED 
  110         inline Slice() : start(0), end(-1), step(1) {};
 
  111         inline Slice(
long s, 
long e, 
long stp=1) : start(s), end(e), step(stp) {};
 
  120     std::ostream& 
operator<<(std::ostream& stream, 
const Slice& s);
 
  122     static const Slice _(0,-1,1);       
 
  123     static const std::vector<Slice> ___ = 
vector_factory(_,_,_,_,_,_); 
 
  124     static const Slice _reverse(-1,0,-1); 
 
  127 #endif // MADNESS_TENSOR_SLICE_H__INCLUDED 
Slice & operator=(const Slice &s)
Definition: slice.h:112
long start
Definition: slice.h:106
Slice(long s, long e, long stp=1)
Definition: slice.h:111
long end
Definition: slice.h:107
Declares and implements factories for short vectors. 
Slice()
Definition: slice.h:110
long step
Definition: slice.h:108
std::ostream & operator<<(std::ostream &s, const ContractedGaussianShell &c)
Definition: chem/molecularbasis.cc:38
std::vector< T > vector_factory(const T &v0)
Returns a std::vector initialized from the arguments. 
Definition: vector_factory.h:50
A slice defines a sub-range or patch of a dimension. 
Definition: slice.h:103
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces. 
Definition: chem/atomutil.cc:45