I have a problem with setting input values for the AlgLib operation of RMatrixSolve.
Aspecially, I don't know how to fill Input matrix (type CMatrixDouble) with my values.
Hears a part of the code.
double Res_1;CMatrixDouble Mas_1(4,4);const int N=3;int info_LA;CDenseSolverReportShell rep_LA;double x_Sol;
It gives me the Error:
'operator' - l-value required '=' - l-value required
Should have something to do, with the Datatype of CMatrixDouble
Would be really glad if somebody could help.
Please use the </> button to insert your code.
Thanks Eleni for your quick reaction, but fortunately I found the answer. Tried it for one day, and now, one minute after I posted my question, found the answer myself.
For arrays declared with CMatrixDouble the .Set funktion hast to be used
But acutally I would like to raise the question, why I could not find appropriate documentation for the AlgLib library. The explanations within the sourcecode of alglib are quite basic, and not helpfull in practice. Whereas the docs on http://www.alglib.net/ are really heavy. But I must admit I'm not a Pro in C++, only worked with Python before.