v0.8.12
Number.hpp
Go to the documentation of this file.
1 /* This index class allows you to explicitly use a part of a tensor.
2  If you want to explicitly list all of the indices, just use
3  int's. The usual way to do this is to declare a Number like
4 
5  Number<0> N; */
6 
7 #pragma once
8 
9 namespace FTensor
10 {
11  template <const int N> class Number
12  {
13  public:
14  Number(){};
15  operator int() const { return N; }
16  };
17 }
Fully Antisymmetric Levi-Civita Tensor.
const int N
Definition: speed_test.cpp:3