| forum.alglib.net http://forum.alglib.net/ | |
| Real matrix operations http://forum.alglib.net/viewtopic.php?f=2&t=152 | Page 1 of 1 | 
| Author: | caretrain [ Tue Jan 11, 2011 4:38 pm ] | 
| Post subject: | Real matrix operations | 
| Hello, I've recently came across alglib and it looks like a great library with a lot of stuff that is too advanced for me :D My first task is to take a large real matrix, invert it and multiply by a vector. I found an inverse using the alglib.rmatrixinverse, but I cannot find a way to multiply it by a vector. I've read the documentation and found alglib.cmatrixgemm, but that seems like overkill and I would have to manually convert my matrix which is just a double array into a complex matrix. I could also write my own function to do that, it's not very hard, would that be the best way? | |
| Author: | Sergey.Bochkanov [ Tue Jan 11, 2011 6:14 pm ] | 
| Post subject: | Re: Real matrix operations | 
| Two options are available: 1. you can use alglib.rmatrixmv() - if you want to calculate real matrix-vector product 2. you can use alglib.rmatrixgemm() - if you want to calculate real matrix-matrix product | |
| Author: | caretrain [ Tue Jan 11, 2011 7:05 pm ] | 
| Post subject: | Re: Real matrix operations | 
| Ahh how could I miss this, thank you very much! | |
| Page 1 of 1 | All times are UTC | 
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ | |