SyTen

◆ readTabulatedCmplx()

template<typename ScalarBase , Rank rank>
void syten::readTabulatedCmplx ( std::istream in,
DenseTensor< rank, std::complex< ScalarBase > > &  t 
)

Reads tabulated complex data into a pre-sized dense tensor.

Each line corresponds to one entry of teh tensor in the format:

[coord1] [coord2] [...] [coordN] [re] [im]

Ignores lines starting with #.

References std::getline(), makeZero(), rank(), and std::string::size().

+ Here is the call graph for this function: