v0.14.0
Loading...
Searching...
No Matches
src
ftensor
src
FTensor
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
}
FTensor::Number
Definition:
Number.hpp:12
FTensor::Number::Number
Number()
Definition:
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.9.5 and hosted at