|
Morpheus 1.0.0
Dynamic matrix type and algorithms for sparse matrices
|
Routines for writing data to file. More...

Functions | |
| template<typename Container , typename Stream > | |
| void | Morpheus::IO::write_matrix_market_stream (const Container &container, Stream &output) |
| Writes a container to a stream in the MatrixMarket file format. More... | |
| template<typename Container > | |
| void | Morpheus::IO::write_matrix_market_file (const Container &container, const std::string &filename) |
| Writes a container to a file in the MatrixMarket file format. More... | |
Routines for writing data to file.
| void Morpheus::IO::write_matrix_market_file | ( | const Container & | container, |
| const std::string & | filename | ||
| ) |
Writes a container to a file in the MatrixMarket file format.
| Container | Type of the container that holds the data |
| Stream | The type of the stream to write the data |
| container | The container that holds the data |
| filename | The absolute path to the filename to write the data |
is_coo_matrix_format_container, is_dynamic_matrix_format_container, is_dense_matrix_format_container and is_dense_vector_format_container checks.has_host_memory_space check. | void Morpheus::IO::write_matrix_market_stream | ( | const Container & | container, |
| Stream & | output | ||
| ) |
Writes a container to a stream in the MatrixMarket file format.
| Container | Type of the container that holds the data |
| Stream | The type of the stream to write the data |
| container | The container that holds the data |
| output | The output stream |
is_coo_matrix_format_container, is_dynamic_matrix_format_container, is_dense_matrix_format_container and is_dense_vector_format_container checks.has_host_memory_space check.