v0.14.0
src
ftensor
src
FTensor
Christof
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
6
namespace
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
}
FTensor::Christof_number_0::Christof_number_0
Christof_number_0(const A &a)
Definition:
Christof_number.hpp:14
FTensor::Christof_number_0::operator()
T operator()(const int N1, const int N2) const
Definition:
Christof_number.hpp:13
FTensor
JSON compatible output.
Definition:
Christof_constructor.hpp:6
A
constexpr AssemblyType A
Definition:
operators_tests.cpp:30
FTensor::Christof_number_0::iterA
const A iterA
Definition:
Christof_number.hpp:10
a
constexpr double a
Definition:
approx_sphere.cpp:30
N
const int N
Definition:
speed_test.cpp:3
FTensor::Christof_number_0
Definition:
Christof_number.hpp:8
Generated by
Doxygen
1.8.17 and hosted at