v0.15.0
Loading...
Searching...
No Matches
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
}
a
constexpr double a
Definition
approx_sphere.cpp:30
FTensor::Christof_number_0
Definition
Christof_number.hpp:9
FTensor::Christof_number_0::operator()
T operator()(const int N1, const int N2) const
Definition
Christof_number.hpp:13
FTensor::Christof_number_0::iterA
const A iterA
Definition
Christof_number.hpp:10
FTensor::Christof_number_0::Christof_number_0
Christof_number_0(const A &a)
Definition
Christof_number.hpp:14
FTensor
Tensors class implemented by Walter Landry.
Definition
FTensor.hpp:51
N
const int N
Definition
speed_test.cpp:3
Generated by
Doxygen
1.12.0 and hosted at