mptensor v0.6.0
Parallel Library for Tensor Network Methods
Loading...
Searching...
No Matches

Functions that output information on a tensor. More...

Collaboration diagram for Output:
template<typename MatrixType >
std::ostream & mptensor::operator<< (std::ostream &out, const Tensor< MatrixType > &t)
 Output elements of tensor in numpy style.
 

Detailed Description

Functions that output information on a tensor.

Function Documentation

◆ operator<<()

template<typename MatrixType >
std::ostream & mptensor::operator<< ( std::ostream &  out,
const Tensor< MatrixType > &  t 
)

Output elements of tensor in numpy style.

Parameters
[out]outOutput stream.
[in]tTensor to be output.