mptensor  v0.3.0
Parallel Library for Tensor Network Methods
common.hpp File Reference
#include <iomanip>
#include <sstream>
#include <string>
#include <mptensor/mptensor.hpp>

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

◆ sdtensor

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

◆ sztensor

Function Documentation

◆ filename()

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

◆ initialize()

template<typename tensor >
tensor initialize ( size_t  n)