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
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
static const std::vector< Slice > ___
Entire dimension.
Definition: slice.h:128
static const Slice _(0,-1, 1)
std::ostream & operator<<(std::ostream &os, const particle< PDIM > &p)
Definition: lowrankfunction.h:397
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 _reverse(-1, 0,-1)
Entire tensor.
void e()
Definition: test_sig.cc:75
Declares and implements factories for short vectors.