Answer the question
In order to leave comments, you need to log in
How to create or what algorithm to apply for the "command line"?
I have a matrix class written in C#.
That is, all overloaded operators, etc. are available.
I want to implement operations on matrices by entering an expression into the console.
For example: A+B=C, 3*A+B*D=C and so on.
Matrices are set and created after entering the entire expression.
How can this be implemented? Only some confusing and complex algorithms come to mind.
Answer the question
In order to leave comments, you need to log in
A typical task of writing a "calculator", IMHO. You will only need to replace the standard operators with your matrix ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question