forum.alglib.net
http://forum.alglib.net/

sparse solver
http://forum.alglib.net/viewtopic.php?f=2&t=4317
Page 1 of 1

Author:  avivka [ Sat Mar 07, 2020 12:26 pm ]
Post subject:  sparse solver

hi,

i try to understand how to work with alglib package in order to solve linear equation Ax = b
so i copied the example of the solver for dense matrix using the rmatrixsolve fuction and the solver of sparse matrix using the sparsesolvesks function, and i built my own matrix A and vector b,

the first method gave me the right answear, the latter gave zeros,
i don't know why, can i get some help?


adding the cpp files
thanks

Attachments:
AlgLibDemo.cpp [2.87 KiB]
Downloaded 191 times

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/