mptensor  v0.3.0
Parallel Library for Tensor Network Methods
template<template< typename > class Matrix, typename C >
std::ostream & mptensor::operator<< (std::ostream &out, const Tensor< Matrix, C > &t)
 Output elements of tensor in numpy style. More...
 

Detailed Description

Function to output information of a tensor.

Function Documentation

◆ operator<<()

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

Output elements of tensor in numpy style.

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