Row_vector vs vector compatibility

I seem to run into this a bit, and haven’t come across nice solution. I have nonlinear model where my process model involves modifying a matrix. I often pull out a row to do some sort of manipulation and come into incompatibilities between vector and row_vector, is there a way to cast one to the other? and not have to worry about compatibility issues.

Cheers,
C

Are you after the transpose operator '? That will coerce vectors to row_vectors and the other way around.

2 Likes