adcomp
adcomp copied to clipboard
matrixes and arrays
In the matrix_arrays.cpp examples, it is possible to get a matrix to behave like an array using the .array() command. Is there a similar method to get an array to behave like a matrix? In particular can you use .head() and .tail() commands?
There are .array() and .matrix() conversions documented here http://eigen.tuxfamily.org/dox/group__QuickRefPage.html
It seems that .head() and .tail() are only for vectors, but checkout .block()