I think every one here is talking about something different than you.
Yes you can use (,) for assignment with the matrix class shown above.

I believe you are trying to use that syntax with a c-style array, which does not make sense.

I would suggest you post your matrix class so it can be fixed, or delete it and
use the one provided here.