Tensor column major (i.e. first dimension is contiguous) storage order.
More...
#include <mpqc/math/tensor/order.hpp>
|
| template<size_t N> |
| static boost::array< size_t, N > | strides (const size_t *ld) |
| | Constructs strides array. More...
|
| |
|
template<class Index , class Strides > |
| static ptrdiff_t | index (const Index &idx, const Strides &strides) |
| | given N-d index tuple and strides, compute 1-d index
|
| |
Tensor column major (i.e. first dimension is contiguous) storage order.
◆ strides()
template<size_t N>
| static boost::array<size_t,N> mpqc::TensorColumnMajor::strides |
( |
const size_t * |
ld | ) |
|
|
inlinestatic |
Constructs strides array.
- Parameters
-
Referenced by index().
The documentation for this struct was generated from the following file: