#include <complex>
#include <cstdint>
#include <string>
#include <type_traits>
#include <tuple>
#include <array>
#include <utility>
#include <vector>
#include <variant>
#include "cytnx_error.hpp"
Go to the source code of this file.
◆ MKL_Complex16
| #define MKL_Complex16 std::complex<double> |
◆ MKL_Complex8
| #define MKL_Complex8 std::complex<float> |
◆ blas_int
◆ __blasINTsize__
◆ Type
| constexpr Type_class Type |
|
constexpr |
data type
This is the variable about the data type of the UniTensor, Tensor, ... .
You can use it as following:
constexpr Type_class Type
data type
Definition Type.hpp:555
The supported enumerations are as following:
| enumeration | description |
| Void | the data type is void (nothing) |
| ComplexDouble | complex double type with 128 bits |
| ComplexFloat | complex float type with 64 bits |
| Double | double float type with 64 bits |
| Float | single float type with 32 bits |
| Int64 | long long integer type with 64 bits |
| Uint64 | unsigned long long integer type with 64 bits |
| Int32 | integer type with 32 bits |
| Uint32 | unsigned integer type with 32 bits |
| Int16 | short integer type with 16 bits |
| Uint16 | undigned short integer with 16 bits |
| Bool | boolean type |