Scales in operator ParameterOptimization
Clan21
New Altair Community Member
Hello,
in ParameterOptimization operator is button Edit Parameter Setting which display window where is possible to change values of parameters or its type. I have question about values writed like intervals. I cant figure out how with logarithmic scale RM calculate values in particular step. Thanks for help.
Cheers Andrew
in ParameterOptimization operator is button Edit Parameter Setting which display window where is possible to change values of parameters or its type. I have question about values writed like intervals. I cant figure out how with logarithmic scale RM calculate values in particular step. Thanks for help.
Cheers Andrew
0
Answers
-
Hi,
here's the code generating the sequence:double[] values = new double[steps + 1];
Greetings,
double offset = 1 - min;
for (int i = 0; i < steps + 1; i++) {
values = Math.pow(max + offset, (double) i / (double) steps) - offset;
}
return values;
Sebastian0 -
Thanks. Helps a lot.0