我正在研究累积分布函数,我需要能够解决Java中的积分问题。如何在java中集成?
我已经在Apache Commons中尝试了Math3,但我无法弄清楚。
我需要解决的积分类型是从下界到上界的积分,我需要它对变量进行积分,比如'T'。
其余我可以弄清楚,就像在等式中使用变量一样。但是当我尝试Math3的Simpson Integration时,构造函数中有2个参数或4个参数。使用这些:
// Construct an integrator with default settings.
SimpsonIntegrator()
// Build a Simpson integrator with given accuracies and iterations counts.
SimpsonIntegrator(double relativeAccuracy, double absoluteAccuracy,
int minimalIterationCount, int maximalIterationCount)
// Build a Simpson integrator with given iteration counts.
SimpsonIntegrator(int minimalIterationCount, int maximalIterationCount)
我也不知道这是什么意思的准确性。而且我对Integrals不是很擅长,因为我只是用它来计算Google Play商店中的计算公式。
通常这是一个非常糟糕的主意,实施你不明白的东西;没有计算机程序可以为你解决这个问题。 – SJuan76
android标签令人讨厌,请删除 –
为什么不使用默认设置进行试用?尝试撰写一个最简单的工作示例,并将其编辑到您的问题中。 – LutzL