sisi4s
Loading...
Searching...
No Matches
sisi4s::TensorIo Class Reference

#include <TensorIo.hpp>

Collaboration diagram for sisi4s::TensorIo:

Static Public Member Functions

template<typename F = real, typename T = Tensor<F>>
static T * readBinary (std::string const &fileName)
 
template<typename F = real, typename T = Tensor<F>>
static T * readText (std::string const &fileName, std::string const &delimiter=" ", int64_t const bufferSize=1024 *1024 *1024)
 
template<typename F = real, typename T = Tensor<F>>
static void writeBinary (std::string const &fileName, T &A)
 
template<typename F = real, typename T = Tensor<F>>
static void writeText (std::string const &fileName, T &A, std::string const &rowIndexOrder, std::string const &columnIndexOrder, std::string const &delimiter=" ")
 

Static Protected Member Functions

template<typename F = real, typename T = Tensor<F>>
static T * readBinaryHeader (MPI_File &file, int64_t &offset)
 
template<typename F = real, typename T = Tensor<F>>
static T * readTextHeader (Scanner &scanner)
 

Member Function Documentation

◆ readBinary()

template<typename F , typename T >
template Tensor< Complex< Float64 > > * TensorIo::readBinary< Complex< Float64 > > ( std::string const &  fileName)
static

◆ readBinaryHeader()

template<typename F , typename T >
T * TensorIo::readBinaryHeader ( MPI_File &  file,
int64_t &  offset 
)
staticprotected

◆ readText()

template<typename F , typename T >
template Tensor< Complex< Float64 > > * TensorIo::readText< Complex< Float64 > > ( std::string const &  fileName,
std::string const &  delimiter = " ",
int64_t const  bufferSize = 1024 *1024 *1024 
)
static
Here is the call graph for this function:

◆ readTextHeader()

template<typename F = real, typename T = Tensor<F>>
static T * sisi4s::TensorIo::readTextHeader ( Scanner scanner)
staticprotected

◆ writeBinary()

template<typename F , typename T >
template void TensorIo::writeBinary< Complex< Float64 > > ( std::string const &  fileName,
T &  A 
)
static

◆ writeText()

template<typename F , typename T >
template void TensorIo::writeText< Complex< Float64 > > ( std::string const &  fileName,
T &  A,
std::string const &  rowIndexOrder,
std::string const &  columnIndexOrder,
std::string const &  delimiter = " " 
)
static

The documentation for this class was generated from the following files: