进退法例子

进退法例子,遇到具体问题还得修改,之后最速降低梯度法的梯度方向是变化的,这是其中一个要考虑的改变。进退法具体算法: 实现代码:ios #include "StdAfx.h" #include <stdio.h> #include <iostream> #include <Windows.h> #define N 2 using namespace std; float testFunctio
相关文章
相关标签/搜索