v0.15.0
Loading...
Searching...
No Matches
Christof_number.hpp
Go to the documentation of this file.
1/* This is for expressions where a number is used for one slot, and
2 an index for the other, yielding a Tensor2_symmetric_Expr. */
3
4#pragma once
5
6namespace FTensor
7{
8 template <class A, class T, int N> class Christof_number_0
9 {
10 const A iterA;
11
12 public:
13 T operator()(const int N1, const int N2) const { return iterA(N, N1, N2); }
14 Christof_number_0(const A &a) : iterA(a) {}
15 };
16}
constexpr double a
T operator()(const int N1, const int N2) const
Tensors class implemented by Walter Landry.
Definition FTensor.hpp:51
const int N
Definition speed_test.cpp:3