Template Function Pennylane::Util::operator<<(std::ostream&, const std::vector<T>&)

Function Documentation

template<class T>
inline auto Pennylane::Util::operator<<(std::ostream &os, const std::vector<T> &vec) -> std::ostream&

Streaming operator for vector data.

Template Parameters

T – Vector data type.

Parameters
  • os – Output stream.

  • vec – Vector data.

Returns

std::ostream&