|
char | host_endian_char () |
|
template<typename T > |
constexpr char | type_char () |
|
void | parse_numpy_header (const std::string header, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | parse_numpy_header (std::istream &file, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | parse_numpy_header (unsigned char *buffer, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | parse_zip_footer (std::istream &file, uint16_t &num_records, size_t &global_header_size, size_t &global_header_offset) |
|
NumpyArray | parse_npy_array (std::istream &file) |
|
NumpyArray | load_npy (const std::string &fname) |
|
template<typename ScalarType , bool column_major = false> |
std::vector< char > | create_npy_header (const std::vector< size_t > &shape) |
|
template<typename ScalarType , bool column_major = false> |
void | save_npy (const std::string &filename, const ScalarType *data, const std::vector< size_t > &shape, const std::string mode="w") |
|
template<typename T > |
void | save_npy (const std::string &filename, const Eigen::DenseBase< T > &mat, std::string mode="w") |
|
template<typename T , bool column_major = false> |
void | save_npy (const std::string &filename, const std::vector< T > &data, std::string mode="w") |
|