topic "Eigen";
[ $$0,0#00000000000000000000000000000000:Default]
[a83;*R6 $$1,0#31310162474203024125188417583966:caption]
[{_}%EN-US 
[s1; [+184 Eigen]&]
[s0;# [^http`:`/`/eigen`.tuxfamily`.org`/index`.php`?title`=Main`_Page^2 Eigen 
3][2  is a C`+`+ template library for linear algebra, matrices, 
vectors, numerical solvers and related algorithms.]&]
[s0;#2 &]
[s0;# [2 Eigen is very easy to use. For example, to multiply two matrices:]&]
[s0;#2 &]
[s0;# [C2 -|Matrix2d a, b;]&]
[s0; [C2 -|a << 1, 2,-|-|-|// Fill the data]&]
[s0; [C2 -|-|3, 4;]&]
[s0; [C2 -|b << 5, 6,]&]
[s0; [C2 -|-|7, 8;]&]
[s0; [C2 -|Matrix2d res `= a`*b;-|// Just multiply them using `*]&]
[s0;#2 &]
[s0;#2 &]
[s0;# [2 Eigen package is a wrapper of Eigen 3.3.4 library. It includes 
the library and helper functions to integrate better Eigen with 
U`+`+. Starting from the 3.1.1 version, it is licensed under 
the ][^http`:`/`/www`.mozilla`.org`/MPL`/2`.0`/^2 MPL2][2 , which 
is a simple weak copyleft license. Common questions about the 
MPL2 are answered in the official ][^http`:`/`/www`.mozilla`.org`/MPL`/2`.0`/FAQ`.html^2 M
PL2 FAQ][2 .]&]
[s0;#2 &]
[s0;# [2 Bazaar/Eigen package includes a sample package (Eigen`_demo) 
to ease its use for U`+`+ users. It has many samples from Eigen 
library and nonlinear equation solving and optimization like 
][^http`:`/`/www`.itl`.nist`.gov`/div898`/strd`/nls`/data`/eckerle4`.shtml^2 Eckerl
e4][2  and ][^http`:`/`/www`.itl`.nist`.gov`/div898`/strd`/nls`/data`/thurber`.shtml^2 T
hurber][2  (see the graphs).]&]
[s0;#2 &]
[s0;= [2 
@@image:1272&1104
(AwwB6QAAAAAAAAAAAHic7dxhciI5EERh7n9VLrEx6whHuwVCNKrSK/G+X+MZL0pnkwPY7NzvkiRJkiRJkl67SWCr9/EPJIbUgtw5ITGkFuTOCYkhtSB3Tkg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h/dijTYfqLTmm/f1LPLRyrCbn/YULCgAAAAAAAAAAAAAAAAAAfKz63TogI96/BS6hWYA4+gUI4vwCBL1eWegXAAAAAAAAAAAc/AdfDv24)
]&]
[s0;#2 &]
[s0;# [2 It also includes a simple FFT (][^https`:`/`/en`.wikipedia`.org`/wiki`/Fast`_Fourier`_transform^2 F
ast Fourier Transform][2 ) sample.that:]&]
[s0;#i150;O0; [2 Generates a data series composed by three sinusoidal 
series of amplitude 2, 5 and 30, and frequencies 1/50, 1/30 and 
1/10 Hz:]&]
[s0;# [2 -|f(t) `= 2`*sin(2`*PI`*t/50 `- PI/3) `+ 5`*sin(2`*PI`*t/30 
`- PI/2) `+ 30`*sin(2`*PI`*t/10 `- PI/5)]&]
[s0;#i150;O0; [2 Gets the FFT]&]
[s0;#i150;O0; [2 Filters the frequencies between 1/25 and 1/35 Hz]&]
[s0;#i150;O0; [2 Gets the filtered data series]&]
[s0;#i150;O0; [2 Saves both FFT and series]&]
[s0;#2 &]
[s0;= [2 
@@image:2731&1368
([encoded data, 71316 characters])
]&]
[s0;#2 &]
[s0;= [2 
@@image:2730&1572
([encoded data, 21720 characters])
]&]
[s0;#2 &]
[s0;# [2 Eigen packages have been prepared by ][^http`:`/`/www`.ultimatepp`.org`/forum`/index`.php`?t`=usrinfo`&id`=647`&^2 d
olik.rce][2  and ][^http`:`/`/www`.ultimatepp`.org`/forum`/index`.php`?t`=usrinfo`&id`=648`&^2 k
oldo][2 .]&]
[s0;#/+75 ]]