5,337
edits
Line 17: | Line 17: | ||
===Data to Eigen=== | ===Data to Eigen=== | ||
You can use <code>Eigen::Map</code> to create an eigen view for your existing data.<br> | You can use [https://eigen.tuxfamily.org/dox/classEigen_1_1Map.html <code>Eigen::Map</code>] to create an eigen view for your existing data. | ||
This works with aligned or unaligned data, row-order or column-order, and different strides.<br> | |||
See [https://eigen.tuxfamily.org/dox/group__TutorialMapClass.html Eigen: Interfacing with raw buffers] for an example. | |||
==Math== | ==Math== |