Transfer the rb_generator code into a test.

The more advanced test for the reduced basis generator will be inside
the test suite.

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Today work: There is a bug with inversion

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Move the report into another dir, so that there can be more writeups

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Add some derivations on the error.

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Refactor the roq code, add an interpolator and optimizations

I think, that having everything in one .cc and .hh file is beneficial as
the methods are quite interconnected. Also, some code could be reused
this way.

Also add some optimizations, which make the basis search less expensive
(these optimizations are mainly offline bits, where we precompute things
 which we will need to use very often).

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Remove the output helpers, they were useless

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Make the code throw and catch exceptions in some places

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Add some useful functions to the linalg wrapper

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Fix bugs and make it run (finally)

The EIM algorithm wasn't right, this has been fixed now, also, rename
the test files for the roq.hh (forgot to do those earlier).

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Add some stuff to the writeup

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Mess with the makefile a bit

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Update gitignore

Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>