mathnet-numerics icon indicating copy to clipboard operation
mathnet-numerics copied to clipboard

Bugs with 1x0 and 0x1 matrices

Open lqy16 opened this issue 2 years ago • 3 comments

I find that there are several bugs with 1x0 and 0x1 matrices (Matrix.Dense).

  • The method toString() cannot work normally with 1x0 and 0x1 matrices (althogh it does work with 0x0 matrices)
  • When computing AxB (A is 1x0 matrix and B is 0x1 matrix) with MKL library, there will be a ERROR: "Intel MKL ERROR: Parameter 9 was incorrect on entry to cblas_dgemm", which severely affects the computation speed.

BTW, such matrices are of practical application. For example, in state space model, we need 0x0, 0x1 and 1x0 matrices to describe a gain-only process.

lqy16 avatar Jul 08 '21 00:07 lqy16

Guys, is there any progress on this bug?

lqy16 avatar Dec 30 '21 05:12 lqy16

Hm yes, we should address this before the v5 release.

cdrnet avatar Dec 30 '21 09:12 cdrnet

Has this been addressed already?

jkalias avatar Apr 13 '22 15:04 jkalias