tatami_mtx
Matrix Market to tatami matrices
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
load_matrix.hpp File Reference

Load a tatami matrix from a Matrix Market file. More...

Go to the source code of this file.

Classes

struct  tatami_mtx::Automatic
 Enable automatic type determination. More...
 
struct  tatami_mtx::Options
 Options for load_matrix() and friends. More...
 

Namespaces

namespace  tatami_mtx
 Read tatami matrices from Matrix Market files.
 

Functions

template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix (byteme::Reader &reader, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_text_file (const char *filepath, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_gzip_file (const char *filepath, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_some_file (const char *filepath, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_text_buffer (const unsigned char *buffer, size_t n, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_zlib_buffer (const unsigned char *buffer, size_t n, const Options &options)
 
template<typename Value_ , typename Index_ , typename StoredValue_ = Automatic, typename StoredIndex_ = Automatic>
std::shared_ptr< tatami::Matrix< Value_, Index_ > > tatami_mtx::load_matrix_from_some_buffer (const unsigned char *buffer, size_t n, const Options &options)
 

Detailed Description

Load a tatami matrix from a Matrix Market file.