FflasFfpack
Data Structures | Namespaces | Macros | Functions
read_sparse.h File Reference
#include "fflas-ffpack/fflas-ffpack-config.h"
#include <fstream>
#include <string>
#include <cstdlib>
#include <iterator>

Data Structures

struct  Coo< Field >
 
struct  readMyMachineType< Field, T >
 
struct  readMyMachineType< Field, mpz_t >
 

Namespaces

namespace  FFLAS
 
namespace  FFLAS::details_spmv
 

Macros

#define DNS_BIN_VER   0
 
#define mask_t   uint64_t
 

Functions

template<class Field , bool sorted = true, bool read_integer = false>
void readSmsFormat (const std::string &path, const Field &f, index_t *&row, index_t *&col, typename Field::Element_ptr &val, index_t &rowdim, index_t &coldim, uint64_t &nnz)
 
template<class Field >
void readSprFormat (const std::string &path, const Field &f, index_t *&row, index_t *&col, typename Field::Element_ptr &val, index_t &rowdim, index_t &coldim, uint64_t &nnz)
 
template<class T >
std::enable_if< std::is_integral< T >::value, int > getDataType ()
 
template<class T >
std::enable_if< std::is_floating_point< T >::value, int > getDataType ()
 
template<class T >
std::enable_if< std::is_same< T, mpz_t >::value, int > getDataType ()
 
template<class T >
int getDataType ()
 
template<class Field >
void readMachineType (const Field &F, typename Field::Element &modulo, typename Field::Element_ptr val, std::ifstream &file, const uint64_t dims, const mask_t data_type, const mask_t field_desc)
 
template<class Field >
void readDnsFormat (const std::string &path, const Field &F, index_t &rowdim, index_t &coldim, typename Field::Element_ptr &val)
 
template<class Field >
void writeDnsFormat (const std::string &path, const Field &F, const index_t &rowdim, const index_t &coldim, typename Field::Element_ptr A, index_t ldA)
 

Macro Definition Documentation

◆ DNS_BIN_VER

#define DNS_BIN_VER   0

◆ mask_t

#define mask_t   uint64_t