39#ifndef MADNESS_TENSOR_SLICE_H__INCLUDED 
   40#define MADNESS_TENSOR_SLICE_H__INCLUDED 
  118        template <
typename Archive>
 
 
  125    std::ostream& 
operator<<(std::ostream& stream, 
const Slice& s);
 
A slice defines a sub-range or patch of a dimension.
Definition slice.h:103
 
long end
Definition slice.h:107
 
void serialize(Archive &ar)
Definition slice.h:119
 
Slice()
Definition slice.h:110
 
Slice & operator=(const Slice &s)
Definition slice.h:112
 
Slice(long s, long e, long stp=1)
Definition slice.h:111
 
long step
Definition slice.h:108
 
long start
Definition slice.h:106
 
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
 
std::ostream & operator<<(std::ostream &os, const particle< PDIM > &p)
Definition lowrankfunction.h:401
 
static const std::vector< Slice > ___
Entire dimension.
Definition slice.h:128
 
std::vector< T > vector_factory(const T &v0)
Returns a std::vector<T> initialized from the arguments.
Definition vector_factory.h:50
 
static const Slice _(0,-1, 1)
 
static const Slice _reverse(-1, 0,-1)
Entire tensor.
 
void e()
Definition test_sig.cc:75
 
Declares and implements factories for short vectors.