simplifications
This commit is contained in:
@@ -3531,8 +3531,7 @@ only a subset of the elements is taken
|
||||
<b>Caveats:</b>
|
||||
<ul>
|
||||
<li>
|
||||
do not use <i>.reshape()</i> to change the size without preserving data;
|
||||
use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
to change the size without preserving data, use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
</li>
|
||||
<li>
|
||||
to grow/shrink the object while preserving the elements <b>as well as</b> the layout of the elements,
|
||||
@@ -3620,8 +3619,7 @@ Can be used for growing or shrinking an object (ie. adding/removing rows, and/or
|
||||
<br>
|
||||
<li>
|
||||
<b>Caveat:</b>
|
||||
do not use <i>.resize()</i> to change the size without preserving data;
|
||||
use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
to change the size without preserving data, use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
</li>
|
||||
<br>
|
||||
<li>
|
||||
@@ -10966,8 +10964,7 @@ only a subset of elements is taken from the given object
|
||||
<b>Caveats:</b>
|
||||
<ul>
|
||||
<li>
|
||||
do not use <i>reshape()</i> to change the size without preserving data;
|
||||
use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
to change the size without preserving data, use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
</li>
|
||||
<li>
|
||||
to grow/shrink a matrix while preserving the elements <b>as well as</b> the layout of the elements,
|
||||
@@ -11024,8 +11021,7 @@ whose elements as well as the layout of the elements are taken from the given ob
|
||||
<br>
|
||||
<li>
|
||||
<b>Caveat:</b>
|
||||
do not use <i>resize()</i> to change the size without preserving data;
|
||||
use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
to change the size without preserving data, use <a href="#set_size">.set_size()</a> instead, which is much faster
|
||||
</li>
|
||||
<br>
|
||||
<li>
|
||||
|
||||
Reference in New Issue
Block a user