摘要: 阻尼牛顿法(Python实现) 使用牛顿方向,分别使用Armijo准则和Wolfe准则来求步长 求解方程 $f(x_1,x_2)=(x_1^2-2)^4+(x_1-2x_2)^2$的极小值 import numpy as np import tensorflow as tf def fun(x): 阅读全文
posted @ 2021-11-07 18:09 里列昂遗失的记事本 阅读(1244) 评论(0) 推荐(0) 编辑
摘要: 最速下降法(Python实现) 使用最速下降法方向,分别使用Armijo准则和Wolfe准则来求步长 求解方程 $f(x_1,x_2)=(x_1^2-2)^4+(x_1-2x_2)^2$的极小值 import numpy as np import tensorflow as tf def fun(x 阅读全文
posted @ 2021-11-07 18:06 里列昂遗失的记事本 阅读(1745) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> typedef unsigned char *byte_pointer; //将数据类型byte_pointer定义为一个指向类型为unsigned char的对象的指针 void show_bytes(byte_pointer start, size_t le 阅读全文
posted @ 2021-11-07 17:56 里列昂遗失的记事本 阅读(56) 评论(0) 推荐(0) 编辑