mptensor v0.5.1
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches
common.hpp File Reference
#include <iomanip>
#include <sstream>
#include <string>
#include <mptensor/mptensor.hpp>
Include dependency graph for common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using sdtensor = Tensor< lapack::Matrix< double > >
 
using sztensor = Tensor< lapack::Matrix< complex > >
 
using pdtensor = Tensor< scalapack::Matrix< double > >
 
using pztensor = Tensor< scalapack::Matrix< complex > >
 

Functions

template<typename tensor >
tensor initialize (size_t n)
 
std::string filename (const std::string &prefix, int proc_size)
 

Typedef Documentation

◆ pdtensor

using pdtensor = Tensor<scalapack::Matrix<double> >

◆ pztensor

using pztensor = Tensor<scalapack::Matrix<complex> >

◆ sdtensor

using sdtensor = Tensor<lapack::Matrix<double> >

◆ sztensor

using sztensor = Tensor<lapack::Matrix<complex> >

Function Documentation

◆ filename()

std::string filename ( const std::string &  prefix,
int  proc_size 
)

◆ initialize()

template<typename tensor >
tensor initialize ( size_t  n)