[Scilab-users] Variable user equation input (2, 3 or more)
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Mon May 2 10:29:14 CEST 2022
Hello,
> De : De la part de Lester Anderson
> Envoyé : samedi 30 avril 2022 07:15
>
> My query, is it possible to make this more generalised and vary the
> number of input equations and give the user an option to specify the number of equations?
I don't know this problem and its solution but as a first idea, I'd use matrices for the remainders and moduli, one line per equation (so n lines for n equations).
So
1. Ask the number of equations n
2. Loop to ask the moduli and remainders, and fill in the lines of the matrices.
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
General
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the users
mailing list