Skip to content

Interest in reading/writing Armadillo? #505

@berquist

Description

@berquist

Once nice thing about https://github.com/steven-varga/h5cpp is that it works with matrix libraries (Armadillo, Eigen, ...) out of the box. I 'm writing a uniform HDF5 interface with h5cpp and prefer to read/write Armadillo using it rather than their interface, and came up with https://github.com/berquist/eg/blob/1f176dca5e122720c1ba74dc8840d769f3692c64/cpp/h5cpp/h5cpp_arma.hpp as a first pass at bindings. Is this something that you would be interested in including with h5cpp, so that others don't have to rewrite this boilerplate?

I'm not sure the above bindings are done yet, since I haven't confirmed the data layout (column- vs. row-major) is correct, and maybe more specializations should be added, but it seems like the general approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions