Closed ghost closed 7 years ago
Is it possible to add a column or row to the left or right of a matrix using the provided methods (ie. without using a loop to copy elements)?
No, it's not (you can make a larger matrix and offset copy. This reflects the behaviour or slices in the language.
Thanks.
Is it possible to add a column or row to the left or right of a matrix using the provided methods (ie. without using a loop to copy elements)?