Registered Member
|
Hi,
I have just started reading about Eigen and its new tensor module. I need to support tensors for which the rank is only known at run-time - is this possible in Eigen? If so, can you point me to an example of how that is done? Thanks! Fabian |
Moderator
|
This is not possible by design. However, you can probably get a similar effect by defining a Tensor type with the maximal rank you have to support, and then set the remaining dimensions to 1.
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft