mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix some typos
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
555cec17ed
commit
81cb6a51d0
@@ -126,7 +126,7 @@ and contrary to what one might think at first, this implementation is fine unles
|
||||
MatrixXf x,y,z;
|
||||
MatrixXf C = cov(x,y+z);
|
||||
\endcode
|
||||
In this special case, the example is fine and will be working because both parameters are declared as \e const references. The compiler creates a temporary and evaluates the expression x+z into this temporary. Once the function is processed, the temporary is released and the result is assigned to C.
|
||||
In this special case, the example is fine and will be working because both parameters are declared as \e const references. The compiler creates a temporary and evaluates the expression y+z into this temporary. Once the function is processed, the temporary is released and the result is assigned to C.
|
||||
|
||||
\b Note: Functions taking \e const references to Matrix (or Array) can process expressions at the cost of temporaries.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user