用于计算函数梯度的C代码 [英] C code to calculate gradient of a function

查看:186
本文介绍了用于计算函数梯度的C代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


有没有人有一个很好的链接到一些代码来计算C中函数的渐变




谢谢,


Olw

解决方案

Olw写道:
< blockquote class =post_quotes>
有没有人有一个很好的链接到一些代码来计算C中函数的渐变




谷歌知道所有。我敢打赌C中的数字食谱也可能是一个安全的开始赌注,但目前还不方便。


Clever Monkey写道:


Olw写道:


>有没有人有一些很好的链接到一些代码来计算渐变
C中的一个函数?


Google知道所有。我敢打赌C中的数字食谱也可能是一个安全的开始赌注,但目前还不方便。



好​​吧,据我所知,C中的Numerical Recipes要求你自己编写

命令(dfunc?)。此外,谷歌搜索似乎没有产生任何

即时答案。


这应该是一个常见的任务,我打赌那里的一些C用户有

分享一些不错的代码?任何人;)


谢谢,


Olw




Olw < an **** @ kommtek.comwrote in message

news:eh ********** @ orkan.itea.ntnu.no ...
< blockquote class =post_quotes>
你好,


有没有人有一个很好的链接到一些代码来计算

a函数在C中的渐变?


谢谢,


Olw



尝试comp.programming


Hello,

Does anyone have a nice link to some code for calculating the gradient
of a function in C?

Thanks,

Olw

解决方案

Olw wrote:

Does anyone have a nice link to some code for calculating the gradient
of a function in C?

Google knows all. I bet "Numerical Recipes in C" might also be a safe
bet for a start, but it is not handy at the moment.


Clever Monkey wrote:

Olw wrote:

>Does anyone have a nice link to some code for calculating the gradient
of a function in C?

Google knows all. I bet "Numerical Recipes in C" might also be a safe
bet for a start, but it is not handy at the moment.

Well, as far as I can see Numerical Recipes in C asks you to write the
command yourself (dfunc?). Also, googling does not seem to yield any
immediate answers.

This should be such a common task, that I bet some C users out there has
some nice code to share? Anyone ;)

Thanks,

Olw



"Olw" <an****@kommtek.comwrote in message
news:eh**********@orkan.itea.ntnu.no...

Hello,

Does anyone have a nice link to some code for calculating the gradient of
a function in C?

Thanks,

Olw

Try in comp.programming


这篇关于用于计算函数梯度的C代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆