adcomp icon indicating copy to clipboard operation
adcomp copied to clipboard

matrixes and arrays

Open MonHansen opened this issue 11 years ago • 1 comments

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?

MonHansen avatar Jan 14 '15 13:01 MonHansen

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()

mebrooks avatar Jan 14 '15 13:01 mebrooks