1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*!
Contains all the tooling for working with arbitrary rank tensors, symbolically, numerically, and parametrically.
It includes special support for a minkowski metric, and a way to add any custom diagonal (sign based) metric.
All tensor types make use of a tensor structure type, either the minimum `Vec` of [`Slot`]s or a more complete (but slightly more computationally heavy) [`HistoryStructure`].
Data is then added, to make parametric, or fully numeric tensors.
If no data is added, some [`TensorStructure`]s behave like symbolic tensors: namely [`HistoryStructure`] and [`SymbolicTensor`]
There are two main types of data tensors, [`DenseTensor`] and [`SparseTensor`].
They each implement a different type of storage for data.
All types of tensors can be contracted together using the [`Contract`] trait.
This can be done manually, or using a [`TensorNetwork`] and specifying a contraction algorithm.
Several Enums are defined to be able to store heterogenous tensors.
Namely
- [`DataTensor`]
- [`NumTensor`]
- [`MixedTensor`]
*/
/// All tooling for tensor structures, indices and representations
// pub use structure::*;
//
/// More ergonomic, and smart arithmatic with symbolic types
// pub use upgrading_arithmetic::*;
/// Tensors with data
// pub use data::*;
/// complex numbers
// pub use complex::*;
// pub use symbolic::*;
/// Iterators on fibers of tensors
/// Parametric tensor contraction
// pub use parametric::*;
/// Symbolic tensors
// pub use iterators::*;
/// Tensor contraction
// pub use contraction::*;
/// Tensor networks
// pub use network::*;
/// Adding, subtracting, scalar multiplication of tensors
/// data types for tensors
// pub use scalar::*;
/// Permutation
// pub use permutation::*;
/// Tensors as defined in the UFO format