xcsv: read/write CSV files

Defined in xtensor/xcsv.hpp

Warning

doxygenfunction: Unable to resolve multiple matches for function “xt::load_csv” with arguments () in doxygen xml output for project “xtensor” from directory: ../xml. Potential matches:

- template<class T, class A = std::allocator<T>>
  xcsv_tensor<T, A> xt::load_csv(std::istream&, const char, const std::size_t, const ptrdiff_t, const std::string)
- template<class T, class A>
  xcsv_tensor<T, A> xt::load_csv(std::istream&, const char, const std::size_t, const std::ptrdiff_t, const std::string)
template<class E>
void xt::dump_csv(std::ostream &stream, const xexpression<E> &e)

Dump tensor to CSV.

Parameters
  • stream: the output stream to write the CSV encoded values

  • e: the tensor expression to serialize