|
const std::regex | occ::core::numpy::impl::numeric_regex ("[0-9]+") |
|
char | occ::core::numpy::host_endian_char () |
|
template<typename T > |
constexpr char | occ::core::numpy::type_char () |
|
void | occ::core::numpy::parse_numpy_header (const std::string header, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | occ::core::numpy::parse_numpy_header (std::istream &file, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | occ::core::numpy::parse_numpy_header (unsigned char *buffer, size_t &word_size, std::vector< size_t > &shape, bool &fortran_order) |
|
void | occ::core::numpy::parse_zip_footer (std::istream &file, uint16_t &num_records, size_t &global_header_size, size_t &global_header_offset) |
|
NumpyArray | occ::core::numpy::parse_npy_array (std::istream &file) |
|
NumpyArray | occ::core::numpy::load_npy (const std::string &fname) |
|
template<typename T > |
std::vector< char > & | occ::core::numpy::impl::operator+= (std::vector< char > &lhs, const T rhs) |
|
template<> |
std::vector< char > & | occ::core::numpy::impl::operator+= (std::vector< char > &lhs, const std::string rhs) |
|
template<> |
std::vector< char > & | occ::core::numpy::impl::operator+= (std::vector< char > &lhs, const char *rhs) |
|
template<typename ScalarType , bool column_major = false> |
std::vector< char > | occ::core::numpy::create_npy_header (const std::vector< size_t > &shape) |
|
template<typename ScalarType , bool column_major = false> |
void | occ::core::numpy::save_npy (const std::string &filename, const ScalarType *data, const std::vector< size_t > &shape, const std::string mode="w") |
|
template<typename T > |
void | occ::core::numpy::save_npy (const std::string &filename, const Eigen::DenseBase< T > &mat, std::string mode="w") |
|
template<typename T , bool column_major = false> |
void | occ::core::numpy::save_npy (const std::string &filename, const std::vector< T > &data, std::string mode="w") |
|