Registered Member
|
Hello everyone
I've worked with Julia Library which is a bit different from Eigen, i've posted this issue in Qt nobody was able to help me, cause not everyone is familar with Eigen library, so i thought i'll post here, if you can help me with this. The issue i have, is i want to solve a linear system from a randomly generated entries for the matrix class.... I would like to click "generate random" button in QT application which i created, then a specific size matrix is generated, but i can't display them in the QtextEdit (displays strings) here is the bit of code...
I appreciate if you can see where the problem is, is sure is trivial..., but i convert the double value from the Eigen's matrix class to string, but i don't know how to display them.... Thanks a lot |
Moderator
|
This has nothing to do with Eigen, but the line:
is wrong (i is not initialised, and i goes out of bounds). It should be:
Same for the second for loop. |
Registered Member
|
ggael...., that was retarded of me not to initialize.
Thanks a lot |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]