23 #include <cusp/detail/config.h>
67 template <
typename Matrix>
100 template <
typename Matrix,
typename Stream>
138 template <
typename Matrix>
173 template <
typename Matrix,
typename Stream>
182 #include <cusp/io/detail/binary.inl>
void write_binary_file(const Matrix &mtx, const std::string &filename)
Write a binary file.
void write_binary_stream(const Matrix &mtx, Stream &output)
Write binary data to a stream.
void read_binary_file(Matrix &mtx, const std::string &filename)
Read a binary file.
void read_binary_stream(Matrix &mtx, Stream &input)
Read binary data from a stream.