Alexandria 2.31.0
SDC-CH common library for the Euclid project
Loading...
Searching...
No Matches
Namespaces | Functions
NpyCommon.cpp File Reference
#include "NdArray/io/_impl/NpyCommon.h"
#include "AlexandriaKernel/RegexHelper.h"
Include dependency graph for NpyCommon.cpp:

Go to the source code of this file.

Namespaces

namespace  Euclid
 
namespace  Euclid::NdArray
 

Functions

void Euclid::NdArray::parseSingleValue (const std::string &descr, bool &big_endian, std::string &dtype)
 
void Euclid::NdArray::parseFieldValues (const std::string &descr, bool &big_endian, std::vector< std::string > &attrs, std::string &dtype)
 
void Euclid::NdArray::parseNpyDict (const std::string &header, bool &fortran_order, bool &big_endian, std::string &dtype, std::vector< size_t > &shape, std::vector< std::string > &attrs, size_t &n_elements)
 
void Euclid::NdArray::readNpyHeader (std::istream &input, std::string &dtype, std::vector< size_t > &shape, std::vector< std::string > &attrs, size_t &n_elements)