simplification
This commit is contained in:
@@ -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 0; 0 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 0; 0 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>
|
||||
|
||||
Reference in New Issue
Block a user