asVector for row/column marix