in reply to Re^2: Expecting a 100 solutions, getting just 1
in thread Expecting a 100 solutions, getting just 1
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Expecting a 100 solutions, getting just 1
by doozy (Initiate) on Apr 17, 2012 at 09:58 UTC |