"static" / local storage on stack
Submitted by Enrico
Assigned to Nobody
Link to original bugzilla bug (#615)
Version: 3.0
Description
the static keyword appears several times in the tutorial
for example,
http://eigen.tuxfamily.org/dox/TutorialMatrixClass.html
with a static float[9]
Internally, a fixed-size Eigen matrix is just a plain static array
since Eigen will try to allocate the array as a static array
the author may want to express if a variable is defined in the scope of function, the allocation / deallocation on the stack will cost almost nothing.
However, it may lead to confusion since static has its special meaning in C/C++ language.
Edited by Eigen Bugzilla