Hello.

First of all I'd like to say HI to everyone. I've recently joined this community and this is my first post.

I have a class called Numerical Calculus where the assignments often require the input and representation in a GUI of various matrices. So I've been looking for ways to do that but so far have come short. I'm working in C# now, because the GUI is easy to do but could work in C++ or Java if necessary.

What is the best way to represent in a WindowsForm a mathematical matrix? Is there a way to draw/display it directly in mathematical form (table in parentheses) or in some sort of editable/non-editable table similar to the one in Excel?

I've been looking into DataGridView but am looking for any other ideas, tips or any other kind of help. Perhaps some way of creating/generating a table of text boxes given x and y dimensions? I want to try different approaches but don't really feel like reinventing the wheel.

If there are any ways of representing a matrix/array, or perhaps some libraries that draw a picture representing said matrix, and some other way of inputting the values. Just thinking out loud.

I'd really appreciate being pointed in the right direction.

Thank you.