156 Index nlibraries()
const;
157 Index nvitrines()
const;
158 Index nshelves()
const;
159 Index nbooks()
const;
160 Index npages()
const;
174 const Range& c)
const;
192 const Range& c)
const;
200 const Range& c)
const;
208 const Range& c)
const;
216 const Range& c)
const;
224 const Range& c)
const;
232 const Range& c)
const;
290 const Range& c)
const;
298 const Range& c)
const;
306 const Range& c)
const;
314 const Range& c)
const;
322 const Range& c)
const;
330 const Range& c)
const;
338 const Range& c)
const;
346 const Range& c)
const;
354 const Range& c)
const;
362 const Range& c)
const;
370 const Range& c)
const;
378 const Range& c)
const;
386 const Range& c)
const;
394 const Range& c)
const;
402 const Range& c)
const;
532 const Range& c)
const;
540 const Range& c)
const;
548 const Range& c)
const;
556 const Range& c)
const;
564 const Range& c)
const;
572 const Range& c)
const;
580 const Range& c)
const;
588 const Range& c)
const;
596 const Range& c)
const;
604 const Range& c)
const;
612 const Range& c)
const;
620 const Range& c)
const;
628 const Range& c)
const;
636 const Range& c)
const;
644 const Range& c)
const;
652 const Range& c)
const;
660 const Range& c)
const;
668 const Range& c)
const;
676 const Range& c)
const;
684 const Range& c)
const;
694 const Range& c)
const;
702 const Range& c)
const;
710 const Range& c)
const;
718 const Range& c)
const;
726 const Range& c)
const;
734 const Range& c)
const;
742 const Range& c)
const;
750 const Range& c)
const;
758 const Range& c)
const;
766 const Range& c)
const;
774 const Range& c)
const;
782 const Range& c)
const;
790 const Range& c)
const;
798 const Range& c)
const;
806 const Range& c)
const;
976 const Range& c)
const;
984 const Range& c)
const;
992 const Range& c)
const;
1000 const Range& c)
const;
1008 const Range& c)
const;
1016 const Range& c)
const;
1146 const Range& c)
const;
1207 return get(l, v, s, b, p,
r, c);
1291 using ConstTensor7View::operator();
2304 return get(l, v, s, b, p,
r, c);
2314 const Numeric* get_c_array()
const;
2449 #endif // matpackVII_h INDEX Index
The type to use for all integer numbers and indices.
Tensor6View & operator*()
Dereferencing.
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...
Tensor7(Tensor7 &&v) noexcept
ConstIterator7D(const ConstTensor6View &x, Index stride)
Explicit constructor.
Numeric & operator()(Index l, Index v, Index s, Index b, Index p, Index r, Index c)
A constant view of a Tensor6.
Numeric min(const ConstTensor7View &x)
Min function, tensor version.
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.
G0 G2 FVC Y DV Numeric Numeric Numeric Zeeman LowerQuantumNumbers void * data
Numeric operator()(Index l, Index v, Index s, Index b, Index p, Index r, Index c) const
ConstIterator7D end() const
Return const iterator behind last sub-tensor.
A constant view of a Tensor4.
Range mbr
The book range of mdata that is actually used.
void swap(ComplexVector &v1, ComplexVector &v2)
Swaps two objects.
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.
ConstTensor7View()=default
#define CHECK(x)
Implementation of Tensors of Rank 6.
Iterator7D()=default
Default constructor.
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.
Range mrr
The row range of mdata that is actually used.
ConstIterator7D begin() const
Return const iterator to first sub-tensor.
A constant view of a Tensor5.
NUMERIC Numeric
The type to use for all floating point numbers.
bool operator!=(const Iterator7D &other) const
Not equal operator, needed for algorithms like copy.
ConstTensor6View msv
Current position.
Implementation of Tensors of Rank 7.
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.
constexpr Rational end(Rational Ju, Rational Jl, Polarization type) noexcept
Gives the largest M for a polarization type of this transition.
Range mlr
The library range of mdata that is actually used.
Range mbr
The book range of mdata that is actually used.
MatrixView & operator+=(MatrixView &A, const Block &B)
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.