simplification

This commit is contained in:
conrad
2023-02-06 12:40:29 +10:00
parent 538e1cb117
commit 4ac49fbda5
+2 -3
View File
@@ -753,9 +753,8 @@ in Armadillo 10.4 and earlier versions, the elements are not initialised unless
<br>
<li>
For the <i>mat(string)</i> constructor, the format is elements separated by spaces, and rows denoted by semicolons;
for example, the 2x2 identity matrix can be created using <code>"1&nbsp;0;&nbsp;0&nbsp;1"</code>.
<br>
<b>Caveat:</b> string based initialisation is slower than directly <a href="#element_access">setting the elements</a> or using <a href="#element_initialisation">element initialisation</a>.
for example, the 2x2 identity matrix can be created using <code>"1&nbsp;0;&nbsp;0&nbsp;1"</code>;
note that string based initialisation is slower than directly <a href="#element_access">setting the elements</a> or using <a href="#element_initialisation">element initialisation</a>
</li>
<br>
<li>