You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sphinx/Array.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Resizing a ``LvArray::Array``
69
69
70
70
It is important to note that unless the array being resized is one dimensional the resize methods above do not preserve the values in the array. That is if you have a two dimensional array ``A`` of size :math:`M \times N` and you resize it to :math:`P \times Q` using any of the methods above then you cannot rely on ``A( i, j )`` having the same value it did before the resize.
71
71
72
-
There is also a method ``resize`` which takes a single parameter and will resize the dimension given by ``getSingleParameterResizeIndex``. Unlike the previous methods this will preserve the values in the array. By default the first dimension is resized but you can choose the dimension with ``setSingleParameterResizeIndex``.
72
+
There is also a method ``resize`` which takes a single parameter and will resize the first dimension of the array.
0 commit comments