How to transpose a list of scalar list?
Dear Foamers,
I am developing a new code for a reacting flow and using OF2.1.x. I should read a list of list (which contains scalars) and then transpose it. I did the first step but I can not do the other. The part of the code contains these step is in the following: Code:
List<List<scalar> > Y_(dict.lookup("Tin")); Tin ( ( 1 2 3 ... ) ( 4 5 6 ... ) . . . ) ) After compiling, I encounter the following errors: error: ‘RectangularMatrix’ was not declared in this scope error: expected primary-expression before ‘>’ token error: ‘Ys’ was not declared in this scope Mohammad |
Quote:
|
Edward's answer is correct. To further clarify, the compiler doesn't know how to build template objects RectangularMatrix of the type doubleScalar without information that is contained in the header file for that template class.
|
All times are GMT -4. The time now is 04:58. |