MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cnpy.cpp File Reference
#include "cnpy.hpp"
#include <cstring>
#include "print_function.hpp"
+ Include dependency graph for cnpy.cpp:

Go to the source code of this file.

Namespaces

 cnpy2
 

Functions

char cnpy2::BigEndianTest ()
 
void cnpy2::change_shape_in_header (const string &filename, const size_t data_len, const size_t numcols)
 Change shape in numpy header. More...
 
bool cnpy2::is_valid_numpy_file (FILE *fp)
 Check if a numpy file is sane or not. More...
 
char cnpy2::map_type (const std::type_info &t)
 
void cnpy2::parse_header (FILE *fp, string &header)
 Parser header from a numpy file. Store it in vector. More...
 
void cnpy2::split (vector< string > &strs, string &input, const string &pat)