2

I am having a hard time understanding how to use DerivativeStructure in Apache Commons Math.

I have a Logit function for which I would like to get the first order derivative. Then I would like to get the value of that derivative on multiple distinct values.

Logit logit = new Logit(0.1, 10.0);
DerivativeStructure ds =   // How to instanctiate?
DerivativeStructure dsRes = logit.value(ds);
// How to use dsRes to get the value of the derivative function applied on
// several values?

In addition, if there is any document describing how to use that DerivativeStructure, I am highly interested!

Thanks for your help.

4

1 回答 1

3

在 Apache Commons Math用户指南的数值分析微分部分中,有一个关于如何应用DerivativeStructure的合理介绍。

于 2013-05-27T16:17:32.667 回答