File: tarray.h

package info (click to toggle)
bagel 1.2.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 134,940 kB
  • sloc: cpp: 1,236,571; javascript: 15,383; python: 1,461; ansic: 674; makefile: 253; sh: 109
file content (17 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __BTAS_TARRAY_H
#define __BTAS_TARRAY_H 1

#include <btas/tensor.h>

namespace btas {

  /// Fixed-rank version of TArray
  template<typename _T,
           unsigned long _N,
           CBLAS_ORDER _Order = CblasRowMajor,
           class _Container = DEFAULT::storage<_T>>
  using TArray = Tensor<_T, RangeNd<_Order, std::array<long, _N> >, _Container >;

} // namespace btas

#endif // __BTAS_TARRAY_H