sachin2302 / redsvd

Automatically exported from code.google.com/p/redsvd
0 stars 0 forks source link

計算メソッドにSymEigenを指定した場合、eigen3のassertionに引っかかって落ちる #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
$ cat file1
 1.0  2.0  3.0  4.0  5.0
-2.0 -1.0  0.0  1.0  2.0
 1.0 -2.0  3.0 -5.0  7.0
$ redsvd -i file1 -o file1 -r 2 -f dense -m SymEigen && cat file1.*
compute SymEigen
read matrix from file1 ... -4.07454e-09 sec.
rows:   3
cols:   5
rank:   2
compute ... assertion "lhs.cols() == rhs.rows() && "invalid matrix product" && 
"if you wanted a coeff-wise or a dot product use the respective explicit 
functions"" failed: file 
"/usr/local/include/eigen3/Eigen/src/Core/ProductBase.h", line 103, function: 
Eigen::ProductBase<Derived, Lhs, Rhs>::ProductBase(const Lhs&, const Rhs&) 
[with Derived = Eigen::GeneralProduct<Eigen::Transpose<Eigen::Matrix<float, 
-0x000000001, -0x000000001, 0, -0x000000001, -0x000000001> >, 
Eigen::Matrix<float, -0x000000001, -0x000000001, 0, -0x000000001, 
-0x000000001>, 5>, Lhs = Eigen::Transpose<Eigen::Matrix<float, -0x000000001, 
-0x000000001, 0, -0x000000001, -0x000000001> >, Rhs = Eigen::Matrix<float, 
-0x000000001, -0x000000001, 0, -0x000000001, -0x000000001>]
Aborted (core dumped)

What is the expected output? What do you see instead?
計算結果が出力されてほしい

What version of the product are you using? On what operating system?
- Windows XP
- Cygwin 1.7
- redsvd 0.1.2
- eigen3 beta2

Please provide any additional information below.

Original issue reported on code.google.com by discommu...@gmail.com on 16 Nov 2010 at 4:21

GoogleCodeExporter commented 8 years ago
SVDではなく、固有値を出すものなので、そもそも正方行列��
�か入力できないのでは?
確認してないですが、多分正方対象行列専用だと思います��
�

ただ、適切なエラーメッセージが出ないのは確かに不親切��
�すね。

Original comment by you.akir...@gmail.com on 3 Jun 2013 at 9:20