This project has moved and is read-only. For the latest updates, please go here.

LUFactor

Mar 14, 2013 at 4:29 AM
Hi,

I'm trying to use LUFactor with complex matrices in my algoritm but i have this error:

"The array arguments must have the same length."

I've checked a hundred of times but i can't find where is the error.
The matrix is 1444 elements(38x38) and i give 38 as order and i create a int[1444] piv.

Can you help me?
Thanks

Best
Abraham
Mar 14, 2013 at 3:53 PM
The size of ipiv only needs to be 38 (order).
Marked as answer by cdrnet on 10/3/2013 at 5:46 PM
Mar 15, 2013 at 1:26 AM

Hi,
Thanks, it works perfectly!
Can i use sparse matrices with LUfactor & LUsolvefactored?
I read the documentation but i cant find nothing about this.
Thanks again for tour help and tour great work with this project.
Best
Abraham

Mar 15, 2013 at 5:56 AM
No, only dense matrices. One of these days we'll add support for sparse matrices, but probably for only one type of sparse layout.