[Ktechlab-devel] Slowmatrix! =)

Alan Grimes agrimes at speakeasy.net
Wed Jul 15 02:40:07 UTC 2009


P Zoltan wrote:
>> It seems that Eigen can only deal with floats, not doubles. =( I tried
>> to get help with it but couldn't.

>  I'm attaching an example, with doubles. You need to have Eigen in the
> include patch, so compile it with a command like:
>  g++ -I /path/whre/eigen/is/ lu-000.cpp -o name_of_the_binary

>  Yes, but it's easier to debug if you can have the correct values
> directly, not only an indication about 'here something is wrong'.

If I had correct values, I wouldn't need to write a function to produce
them. -- grumble grumble... =P

>>>   About configuration options: we could provide multiple Matrix
>>> impelmenations this way, by using the preprocessor defines and setting
>>> those using configure.

>> I was thinking more along the lines of switching on and off whole files,
>> but yeah, that's the idea.

>  Actually we could put different implementations in different files.
> Actually it would be quite useful.

aah! You catch on! =)

I tried to throw eigen into the project and now I'm getting a bizzare
segfault/assertion failure even though everything looks good. =(

Bleh, ktechlab has problems BEFORE the math engine is even run! =\

-- 
New president: Here we go again...
Chemistry.com: A total rip-off.
Powers are not rights.





More information about the Ktechlab-devel mailing list