Re: [eigen] HDF5 persistence for EIGEN3

[ Thread Index | Date Index | More Archives ]

Have a look at I used it before and works great.

2) rows = my_matrix.rows(); cols = my_matrix.cols()
3) Eigen supports practically any Scalar See
4) creating objects from external pointers without copying -- Yes see

On Sun, Feb 25, 2018 at 11:43 AM, Steven Varga <steven.varga@xxxxxxxxx> wrote:

H5CPP is a general purpose template-only data-store mechanism for scientist using LinearAlgebra packages such as EIGEN3, is backed by the HDF5Group.
In order to incorporate EIGEN3 I would like to know the best way to extract the following:

1) read/write pointer to data stored in memory:     ie.
2) dimensions of the object ie:  rows = my_matrix.nrows(); cols = my_matrix.ncols()
3) list of templates for DENSE types:  Matrix<T>( ... params .. ) 
4) creating objects from external pointers without copying -- if supported

At this stage only DENSE storage is considered, leaving sparse and special structures to be implemented in a different phase.

The MIT licensed project may be found here: and here:
thank you for your responses/suggestions in advance!

Mail converted by MHonArc 2.6.19+