Open chjxidian opened 3 years ago
//Compute Matrix of Differentiators
auto Rinv = R.inverse();
MatrixXf RinvT = Rinv.transpose();
//Error occer when running into this....
MatrixXf G = Sd * Rinv * RinvT; /*G = S(S'S)^(-1) -- eqn 8.3.90 (matrix of differentiation filters)*/
MatrixXf SdT = Sd.transpose().eval();
MatrixXf B = G * SdT * W; //SG-Smoothing filters of length F and polynomial order k
I have the exact same problem right now ... to me this just happens by running the example. Is this a change in Eigen maybe ?
I solve the problem, I Remove the assert codes in Eigen lib.
I transfer it to Windows Enviroment, I get a Error about Eigen Lib.
lhs.cols() == rhs.rows() && "invalid matrix product" && "if you wanted a coeff-wise or a dot product use the respective explicit functions", file E:\SavitzkyGolay\SavitzkyGolay\eigen\Eigen\src\Core\Product.h, line 98
How to solve it??? please help me...