Template Function Jet::operator<<(std::ostream&, const TaskBasedContractor<TensorType>&)

Function Documentation

template<class TensorType>
inline std::ostream &Jet::operator<<(std::ostream &out, const TaskBasedContractor<TensorType> &tbc)

Streams a TaskBasedContractor to an output stream.

Currently, this function just dumps the task dependency graph of the given TaskBasedContractor instance in a DOT format to the specified output stream.

See

See Taskflow::dump().

Template Parameters

Tensor – Type of the tensors to be contracted.

Parameters
  • out – Output stream to be modified.

  • tbc – Task-based contractor with the taskflow to be inserted.

Returns

Reference to the given output stream.