唐翔昊
  1. 唐翔昊

cnpy

Public
AuthorCommitMessageCommit dateIssues
carlcarl
4e8810b1a86MMerge branch 'lematt1991-read-scalar'
Matthew Lelematt1991Matthew Le
b4090bdcbf4Use regex to parse shape information
carlcarl
e6536edb128fix some type mismatch issues
carlcarl
5cc18b0d554replace abort with runtime_error
Christian Rauchcarl rogersChristian Rauch
be30d504dd8throw exception instead of assertion in case file does not exist
Christian Rauchcarl rogersChristian Rauch
71aa46a382bconstant accessors
Carl RogersGitHubCarl Rogers
bb2cdc724a0MMerge pull request #25 from chraibi/masterMarkdown editing of README.md
Mohcine ChraibiGitHubMohcine Chraibi
b30299ee733Update README.md
Mohcine ChraibiGitHubMohcine Chraibi
f3a199b461dRename README to README.md
Mohcine ChraibiGitHubMohcine Chraibi
05b4d9e9ff9MMerge pull request #1 from chraibi/chraibi-patch-1Markdown editing of README
Mohcine ChraibiGitHubMohcine Chraibi
4ecb0a544ecMarkdown editing of README
Carl RogersGitHubCarl Rogers
f19917f6c44MMerge pull request #22 from benjaminjeliot/find_package_zlibadding zlib package finding
Jim EliotJim Eliot
112af6f7e93adding zlib package finding
Carl RogersCarl Rogers
d598a21c380MMerge branch 'chaloz-master'
Carl RogersCarl Rogers
94b9124cd19MMerge branch 'master' of https://github.com/chaloz/cnpy into chaloz-master
Carl RogersCarl Rogers
a6ad5f4e836removing libzip dependency for reading compressed npz files
Carl RogersCarl Rogers
91887b59872MMerge branch 'rtotheb2000-master'use proper unsigned types for array sizes
Carl RogersCarl Rogers
9dd4005fc52MMerge branch 'master' of https://github.com/rtotheb2000/cnpy into rtotheb2000-master
Carl RogersCarl Rogers
6fafb0aa71cadding support for reading compressed npz files
Carl RogersCarl Rogers
b39d58d3640fix README to include zlib when compiling test code
Carl RogersCarl Rogers
7e7ea2d3458fix fortran order parsing
Carl RogersCarl Rogers
38d51156759simplify npy save logic
Carl RogersCarl Rogers
553d51d1010a few quick fixes
Carl RogersCarl Rogers
f805f1b53b4MMerge branch 'dstahlke-master'
Carl RogersCarl Rogers
c5593f695abMMerge branch 'master' of https://github.com/dstahlke/cnpy into dstahlke-master
ZdenekZdenek
cf4aab6de43Revert "Adding a bit more proper header parser that throws error in case the checks won't match."This reverts commit c3bc6204cdcb47c78db720617ef114fe9167a74e as the code committed there has not been checked properly.
ZdenekZdenek
c3bc6204cdcAdding a bit more proper header parser that throws error in case the checks won't match.
rschwarzrschwarz
0fcddfe3988fixed unsigned and signed comparisons
ZdenekZdenek
64f66702b62If function find(keyword) fails to locate specified keyword in the header of the numpy file it returns -1.This indicates problems with header and therefore should be caught properly by raising runtime error.
Carl RogersCarl Rogers
814b38e3b44MMerge pull request #10 from rjw57/fix-memory-leakcnpy.cpp: fix memory leak in parsing shape field
Rich WarehamRich Wareham
e210e16c49dcnpy.cpp: fix memory leak in parsing shape fieldThe shape array created at cnpy.cpp:80 was never delete-ed. Add a delete[] call at cnpy.cpp:136 to address this. A better solution may be to pass a std::vector<> reference to parse_npy_header().
Dan StahlkeDan Stahlke
e4faae86e72NpyArray.as_vec method
Dan StahlkeDan Stahlke
5038afe8430for 1-d data, can just pass vector; some c++11 stuff
Dan StahlkeDan Stahlke
8b82250e9eeproper memory management; use std::vector rather than arraysNow it is no longer necessary to manually delete data.
Dan StahlkeDan Stahlke
2696719686duse portable data types from stdint.h
Dan StahlkeDan Stahlke
1aebad5cabfuse size_t for sizes
Dan StahlkeDan Stahlke
f3b00b32fe5remove unused parameters to avoid compiler warnings with -Wextra
Dan StahlkeDan Stahlke
ede2462281bfix endian testTo be honest, I don't remember exactly the use case that broke the previous version. Perhaps it was on the Raspberry Pi (can't test right now). In any case, after much research I found that there was a subtle problem with the old endian test, and that everyone on the net recommends this new idiom. Sorry that I don't remember the details.
Carl RogersCarl Rogers
013d31d2e26MMerge branch 'master' of https://github.com/temporaer/cnpy into temporaer-masterConflicts: cnpy.cpp
Carl RogersCarl Rogers
b2305866a52MMerge pull request #5 from julienr/fortran_orderAdd fortran_order field to NpyArray to allow loading of Fortran-ordered ...
Julien RebetezJulien Rebetez
474a2293cf4Add fortran_order field to NpyArray to allow loading of Fortran-ordered arrays
Hannes SchulzHannes Schulz
add0e5b653badd error handling (removes compile warnings)
Carl RogersCarl Rogers
58b7ca8ea23updating little endian assertion on data load as per damiendrix's issue
Carl RogersCarl Rogers
4e505adc567npz2mat installed via CMakeLists.txt
Carl RogersCarl Rogers
2442faf4b9fadding npz2mat
Carl RogersCarl Rogers
e3ca1e66964adding missing declaration of create_npy_header
Carl RogersCarl Rogers
14c6dab7bf4npz_t now a class dervied from std::map
Carl RogersCarl Rogers
76f956c7072adding typedef in cnpy.h for npz map<string,npyarray> type
Carl RogersCarl Rogers
805110c10a2fixing load_the_npy_file to not overflow for files with nbytes greater than unsigned int range
Carl RogersCarl Rogers
106bfe4aa8fadding example1.cpp, updating readme to reflect this