ign="justify">}; = psy (var, p, alfa, x, d); = psy (var, p, bett, x, d); (F1> F2) s = bett; s = alfa ; <<"Крок S:" <
} step_3 (char & var, fine p, difference_of_points & U, difference_of_grad & V, step s, point & x, direction & d)
{i = 0, j = 0, k = 1; g; (i = 0; i
cout <
for (i = 0; i
cout <
for (i = 0; i
} step_4 (counters i, norm_gradient & norm, gradient & g)
{= 0; (i = 0; i
} step_5 (difference_of_points U, difference_of_grad V, matrix & D)
{counters i = 0, j = 0; l, m; A1 = 0, B1 = 0; A, B; (i = 0; i
{for (j = 0; j
{for (j = 0; j
{for (j = 0; j
} main ()
{
// Включаємо висновок російських символів в консоль
setlocale (LC_ALL, "Russian"), var; i = 0, j = 0; _of_iteration k = 0; c = 5; s = 0; p = 0.1; eps = 0; fine_eps ; _gradient norm = 0; x; _of_points U; g; _of_grad V; d; D; _matrix H; _Hess_matr dH; _0 (var, i, j, eps, x, D); (var == '3 ')
{<> fine_eps;
} <