[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Eigen2 usage in KSpread (was: koffice/kspread)
From:       Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date:       2008-08-21 16:29:58
Message-ID: 200808211830.03170.stefan.nikolaus () kdemail ! net
[Download RAW message or body]


Hi Benoit,

> Port KSpread's eigen1-based code to eigen2. (That is just the matrix math
> functions: MINVERSE,...) Unit-tests pass, but I can't find a way in the GUI
> to use the matrix-returning functions such as MINVERSE. Strange.

Ctrl + Alt + Return enters the result into a cell range. You're right, an 
option in the formula dialog is missing.

> Also, in
> the documentation, no function is described as returning a matrix. I mean
> that in functions/math.xml, e.g. for MINVERSE, we have
>       <Type range="true">Float</Type>
> but still in the GUI Help MINVERSE is described as returning a single
> floating-point.

That's a bug.

> Another minor complaint: MUNIT is very poorly named, it is not called the
> "unity matrix" but rather the "identity matrix", so I would suggest the
> name MIDENTITY. Not sure though if I am allowed to make that kind of
> change, perhaps that is an ODF standard or something, I don't know.

MUNIT is the name of a function defined in the formula extension for the 
OpenDocument specification. It has to stay that way.


Stefan Nikolaus

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic