I do want to write a custom nullary-expression in Eigen3, which is modifyable. As described in the Eigen documentation it seems like nullary-expression are not modifiable. Is there an easy way to get something like a modifyable custom nullary-expression?
I would like to use it to write a custom data wrapper.