Hi Mike,
You need to indicate the type of C matrix otherwise a variable without a type is considered AS VARIANT in thinBasic and not all operations are allowed with VARIANT variables. They are usually used to store data to be passed to COM objects.
So change
to somethingDim C(NROW, 2*NCOL)
ErosDim C(NROW, 2*NCOL) As Double
Bookmarks