There is randomness involved
Where? I don't see any calls to rand, or other sources of randomness in your code
because 1 value of $A is a guess.
A guess for what?
The objective is to choose a pair of guesses A and B which minimize the error term.
What's the error term? How is it calculated?
Also, will declaring the variables with my get around the scalar property of $?
No. You're not supposed to work around it, you are supposed to use variables starting with @ if you want multiple values in one variable.
In reply to Re^3: Expecting a 100 solutions, getting just 1
by moritz
in thread Expecting a 100 solutions, getting just 1
by doozy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |