so I have a function like
int f(int i, int j, int c, double d) { /*...any operations with i, j, c, d affect on some return int we have*/ }
Is there anything in boost or STD that will use my function and find input arguments that will minimize the output of my function?
I understand that you are looking for code to perform mathematical optimization .
Boost has nothing to do, as far as I know, and not a standard library; however, NLopt may be what you are looking for.
I assume that you are trying to do a “simple” mathematical multidimensional minimization.
GSL , . ;)
;)
Brent .
http://www.boost.org/doc/libs/1_65_0/libs/math/doc/html/math_toolkit/roots/brent_minima.html
Source: https://habr.com/ru/post/1790020/More articles:Another UISwitch user question is objective-cThe NetworkStream.DataAvailable property does not return the correct result when using SslStream - c #Ajax request is not asynchronous - ajaxИсключить столбец сортировки в JTable - javaList of anonymous type and dynamics ... Confused - dynamicselect anonymous delegate with linq - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1790022/c-array-of-references-pointers-to-a-number-of-integers&usg=ALkJrhjmugLsjeD6r0sr4w9DEy33k6TRvgspring security interception wrong password - spring-securityHow to use python io library to write to external file - pythonОбновление Javascript после Async Post Back в ASP.NET - javascriptAll Articles