Tatooine
tensor
include
tatooine
tensor_typedefs.h
Go to the documentation of this file.
1
#ifndef TATOOINE_TENSOR_TYPEDEFS_H
2
#define TATOOINE_TENSOR_TYPEDEFS_H
3
//==============================================================================
4
#include <
tatooine/tensor.h
>
5
#include <
tatooine/tensor_concepts.h
>
6
//==============================================================================
7
namespace
tatooine
{
8
//==============================================================================
9
template
<std::size_t... Dims>
10
using
Tensor
=
tensor
<real_number, Dims...>;
11
12
template
<std::size_t... Dims>
13
using
TensorF
=
tensor
<float, Dims...>;
14
15
template
<std::size_t... Dims>
16
using
TensorD
=
tensor
<
double
, Dims...>;
17
18
template
<std::size_t... Dims>
19
using
TensorI64
=
tensor
<std::int64_t, Dims...>;
20
21
template
<
typename
T, std::size_t... Dims>
22
using
complex_tensor
=
tensor<std::complex<T>
, Dims...>;
23
template
<std::size_t ...Dims>
24
using
ComplexTensor
=
tensor<std::complex<real_number>
, Dims...>;
25
template
<std::size_t ...Dims>
26
using
ComplexTensorD
=
tensor<std::complex<double>
, Dims...>;
27
template
<std::size_t ...Dims>
28
using
ComplexTensorF
=
tensor<std::complex<float>
, Dims...>;
29
//==============================================================================
30
}
// namespace tatooine
31
//==============================================================================
32
#endif
double
tatooine
Definition:
algorithm.h:6
tatooine::tensor
tensor(Rows(&&... rows)[N]) -> tensor< common_type< Rows... > >
tatooine::Tensor
tensor< real_number, Dimensions... > Tensor
Definition:
tensor.h:184
tatooine::tensor
Definition:
tensor.h:17
tensor.h
tensor_concepts.h
Generated by
1.9.5