chore: 添加散度

This commit is contained in:
mayge
2026-04-07 17:16:29 +08:00
parent 40feeabb79
commit 11e97c545a
5 changed files with 44 additions and 0 deletions

View File

@@ -6,4 +6,6 @@
struct ADResult{
double value; // 函数值
std::vector<double> gradient; // 梯度
std::vector<double> curl; // 旋度
double divergence; // 散度
};