MFC GUI for reading in multidimensional matrix elements
-
I am developing a problem which rquires me to read in variable sized 1D/2D matrices from the user. I can't think of a nice GUI which will make this task easy for the user. All I can come up with is : 1. Ask the user to enter the elements one by one 2. OR, display a textbox where they can type in the matrix (like in MATLAB) Is there any better way to let the user enter the matrix ? I am thinking of something like a dialogbox which will have a textbox for every cell of the matrix. Note that the metrices maybe variable sized and there's no fixed upper limit to the order of the matrices.
"God then made two great lights; the greater light to rule the day, and the less light to rule the night" - Genesis 47:3
-
I am developing a problem which rquires me to read in variable sized 1D/2D matrices from the user. I can't think of a nice GUI which will make this task easy for the user. All I can come up with is : 1. Ask the user to enter the elements one by one 2. OR, display a textbox where they can type in the matrix (like in MATLAB) Is there any better way to let the user enter the matrix ? I am thinking of something like a dialogbox which will have a textbox for every cell of the matrix. Note that the metrices maybe variable sized and there's no fixed upper limit to the order of the matrices.
"God then made two great lights; the greater light to rule the day, and the less light to rule the night" - Genesis 47:3
Maybe some kind of data grid like an Excel spreadsheet where the size of the grid is the dimension of the matrix.
Kamal Shankar wrote:
(like in MATLAB)
...could work nicely :) Hope this helps.