Re: [eigen] Typos in "Getting Started"

[ Thread Index | Date Index | More Archives ]


Regarding your PS, you can activate C++ mode in emacs by
M-x c++-mode
M is the meta key, for me is equivalente to pressing and unpressing the scape key.
This will work in spite of the actual extension of the file.

Best regards / Cordialmente,

William-Fernando Oquendo
Este correo puede carecer de tildes o eñes debido al teclado. 

On Tue, Aug 14, 2012 at 3:25 PM, Rodney Sparapani <rsparapa@xxxxxxx> wrote:
Dear Eigen developers:

Thanks for such a wonderful library!

I noticed that there are some typos in "Getting Started".
Specifically, in Example 2, the source code uses the float type,
i.e. MatrixXf/VectorXf/etc.  But, the corresponding text refers to
double: MatrixXd/VectorXd/etc.

PS. Has anyone figured out how to "inspire" emacs to
perform syntax coloring/highlighting for the headers?  Since the
headers like Eigen/Core don't have an .h or .hpp file extension,
emacs just shows them as plain text, i.e. using Fundamental mode.
I guess I could brute-force it via ln -s Core Core.hpp, but I
was thinking that someone must have discovered a more elegant

Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician     
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA

Mail converted by MHonArc 2.6.19+