|
char | BigEndianTest () |
|
char | map_type (const std::type_info &t) |
|
template<typename T > |
std::vector< char > | create_npy_header (const std::vector< size_t > &shape) |
|
void | parse_npy_header (FILE *fp, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order, std::string &number_type) |
|
void | parse_npy_header (unsigned char *buffer, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order, std::string &number_type) |
|
void | parse_zip_footer (FILE *fp, uint16_t &nrecs, size_t &global_header_size, size_t &global_header_offset) |
|
npz_t | npz_load (std::string fname) |
|
NpyArray | npz_load (std::string fname, std::string varname) |
|
NpyArray | npy_load (std::string fname) |
|
template<typename T > |
std::vector< char > & | operator+= (std::vector< char > &lhs, const T rhs) |
|
template<> |
std::vector< char > & | operator+= (std::vector< char > &lhs, const std::string rhs) |
|
template<> |
std::vector< char > & | operator+= (std::vector< char > &lhs, const char *rhs) |
|
template<typename T > |
void | npy_save (std::string fname, const T *data, const std::vector< size_t > shape, std::string mode="w") |
|
template<typename T > |
void | npz_save (std::string zipname, std::string fname, const T *data, const std::vector< size_t > &shape, std::string mode="w") |
|
template<typename T > |
void | npy_save (std::string fname, const std::vector< T > data, std::string mode="w") |
|
template<typename T > |
void | npz_save (std::string zipname, std::string fname, const std::vector< T > data, std::string mode="w") |
|
template<typename T , int dim> |
Eigen::Matrix< T, -1, dim > | load (Eigen::Matrix< T, -1, dim > &mat, const std::string fname, std::string order="rowMajor") |
|
template<typename T > |
Eigen::SparseMatrix< T > | load (Eigen::SparseMatrix< T > &mat, const std::string fname) |
|
template<typename T > |
Eigen::Tensor< T, 3 > | load (Eigen::Tensor< T, 3 > &tens, const std::string fname, std::string order="rowMajor") |
|
template<typename T , int dim> |
void | save (const Eigen::Matrix< T, -1, dim > &mat, const std::string fname) |
|
template<typename T > |
void | save (const Eigen::Tensor< T, 3 > &tensor, const std::string fname) |
|
template<typename T > |
void | save (const Eigen::SparseMatrix< T > &mat, const std::string fname) |
|
cnpy::NpyArray | load_the_npy_file (FILE *fp) |
|
cnpy::NpyArray | load_the_npy_file (std::string fname) |
|