public double evalute(double distance){
/**
* equation (3.2)
*/
this.from = 0;
this.to = distance;
this.n = 2;
return - 10 * Math.log10(Math.exp(-IntSimpson(this.from, this.to, this.n)));
}
我手动设计了 IntSimpson() 函数,但我想使用标准库!我该怎么做以及在哪里可以找到它?