support for Orca format in binary put() and get()

This commit is contained in:
2025-11-28 14:20:05 +01:00
parent 253a554e8e
commit 3a176ddb13
6 changed files with 65 additions and 28 deletions

4
mat.h
View File

@@ -305,9 +305,9 @@ public:
inline size_t size() const;
//! unformatted input
void get(int fd, bool dimensions = 1, bool transposed = false);
void get(int fd, bool dimensions = 1, bool transposed = false, bool orcaformat=false);
//! unformatted output
void put(int fd, bool dimensions = 1, bool transposed = false) const;
void put(int fd, bool dimensions = 1, bool transposed = false, bool orcaformat=false) const;
//! formatted output
void fprintf(FILE *f, const char *format, const int modulo) const;
//! formatted input