23#include <cusp/detail/config.h>
24#include <thrust/tuple.h>
68template <
typename Matrix>
69::cuda::std::tuple<typename Matrix::index_type, typename Matrix::index_type>
103template <
typename Matrix,
typename Stream>
104::cuda::std::tuple<typename Matrix::index_type, typename Matrix::index_type>
145template <
typename Matrix>
147 const ::cuda::std::tuple<typename Matrix::index_type,typename Matrix::index_type>& t,
148 const std::string& filename);
185template <
typename Matrix,
typename Stream>
187 const ::cuda::std::tuple<typename Matrix::index_type,typename Matrix::index_type>& t,
196#include <cusp/io/detail/dimacs.inl>
void write_dimacs_file(const Matrix &mtx, const ::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > &t, const std::string &filename)
Write a Dimacs file.
::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > read_dimacs_file(Matrix &mtx, const std::string &filename)
Read a Dimacs file.
::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > read_dimacs_stream(Matrix &mtx, Stream &input)
Read Dimacs data from a stream.
void write_dimacs_stream(const Matrix &mtx, const ::cuda::std::tuple< typename Matrix::index_type, typename Matrix::index_type > &t, Stream &output)
Write Dimacs data to a stream.