mptensor v0.6.0
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
complex.hpp File Reference

Define the type of a complex number. More...

#include <complex>
Include dependency graph for complex.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mptensor
 

Typedefs

using mptensor::complex = std::complex< double >
 

Functions

template<typename C >
constexpr size_t mptensor::value_type_tag ()
 
template<>
constexpr size_t mptensor::value_type_tag< double > ()
 
template<>
constexpr size_t mptensor::value_type_tag< complex > ()
 
template<typename C >
constexpr char * mptensor::value_type_name ()
 
template<>
constexpr char * mptensor::value_type_name< double > ()
 
template<>
constexpr char * mptensor::value_type_name< complex > ()
 

Detailed Description

Define the type of a complex number.

Author
Satoshi Morita
Date
Jan 13 2015