165 Index nlibraries()
const;
166 Index nvitrines()
const;
167 Index nshelves()
const;
168 Index nbooks()
const;
169 Index npages()
const;
709 return get(l, v, s, b, p, r, c);
717 return *(mdata +
OFFSET(l) +
1857 return get(l, v, s, b, p, r, c);
1865 return *(mdata +
OFFSET(l) +
1872 const Numeric *get_c_array()
const;
1950 void resize(
Index l,
1974 double (&my_func)(
double),
1993 #endif // matpackVII_h INDEX Index
The type to use for all integer numbers and indices.
Tensor6View & operator*()
Dereferencing.
void swap(Vector &v1, Vector &v2)
Swaps two objects.
Iterator7D(const Tensor6View &x, Index stride)
Explicit constructor.
const ConstTensor6View & operator*() const
Dereferencing.
A constant view of a Tensor7.
Range mcr
The column range of mdata that is actually used.
Index mstart
The start index.
void transform(Tensor7View y, double(&my_func)(double), ConstTensor7View x)
A generic transform function for tensors, which can be used to implement mathematical functions opera...
ConstIterator7D(const ConstTensor6View &x, Index stride)
Explicit constructor.
A constant view of a Tensor6.
Iterator7D()
Default constructor.
Numeric min(const ConstTensor7View &x)
Min function, tensor version.
virtual ~ConstTensor7View()
Destructor.
Range msr
The shelf range of mdata that is actually used.
Iterator7D & operator++()
Prefix increment operator.
Numeric max(const ConstTensor7View &x)
Max function, tensor version.
ConstTensor7View operator()(const Range &l, const Range &v, const Range &s, const Range &b, const Range &p, const Range &r, const Range &c) const
A constant view of a Tensor4.
Range mbr
The book range of mdata that is actually used.
void copy(ConstIterator7D origin, const ConstIterator7D &end, Iterator7D target)
Copy data between begin and end to target.
bool operator!=(const ConstIterator7D &other) const
Not equal operator, needed for algorithms like copy.
#define CHECK(x)
Implementation of Tensors of Rank 6.
Range mrr
The row range of mdata that is actually used.
Tensor6View * operator->()
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Range mcr
The column range of mdata that is actually used.
virtual ~Tensor7View()
Destructor.
Range mrr
The row range of mdata that is actually used.
A constant view of a Tensor5.
NUMERIC Numeric
The type to use for all floating point numbers.
ConstTensor7View()
Default constructor.
bool operator!=(const Iterator7D &other) const
Not equal operator, needed for algorithms like copy.
ConstTensor6View msv
Current position.
Implementation of Tensors of Rank 7.
ConstIterator7D()
Default constructor.
Numeric * mdata
Pointer to the plain C array that holds the data.
std::ostream & operator<<(std::ostream &os, const ConstTensor7View &v)
Output operator.
Range mvr
The vitrine range of mdata that is actually used.
Range msr
The shelf range of mdata that is actually used.
Numeric * mdata
Pointer to the plain C array that holds the data.
Const version of Iterator7D.
Numeric get(Index l, Index v, Index s, Index b, Index p, Index r, Index c) const
Get element implementation without assertions.
A constant view of a Tensor3.
A constant view of a Vector.
Numeric debug_tensor7view_get_elem(Tensor7View &tv, Index l, Index v, Index s, Index b, Index p, Index r, Index c)
Helper function to access tensor elements.
Range mpr
The page range of mdata that is actually used.
A constant view of a Matrix.
ConstIterator7D & operator++()
Prefix increment operator.
Range mpr
The page range of mdata that is actually used.
Tensor6View msv
Current position.
Range mlr
The library range of mdata that is actually used.
Range mbr
The book range of mdata that is actually used.
const ConstTensor6View * operator->() const
The -> operator is needed, so that we can write i->begin() to get the 1D iterators.
Range mvr
The vitrine range of mdata that is actually used.