实次幂的迭代运算
我找到了许多关于如何计算区间幂的定义,其中幂是整数,但我想找到一个更通用的计算幂的公式。
换句话说,我想实现类似下面的“pow”方法:
class Interval {
public final double min;
public final double max;
public Interval pow(Interval i) {
return new Interval(..., ...);
}
}
在区间算术中,标准的四个运算符相对简单(阅读:维基百科上可用),超越函数并不难,整数幂区间的幂并不难...但是区间的幂幂让我陷入了困境。
我还没有找到任何任何语言的开源库来实现这个通用的幂函数。
如果您能提供完整的答案、建议和参考资料,我将不胜感激。
I've found many definitions on how to compute the power of an interval, where the power is an integer, but I'd like to find a formula for computing the power more generally.
In other words, I'd like to implement something like the 'pow' method below:
class Interval {
public final double min;
public final double max;
public Interval pow(Interval i) {
return new Interval(..., ...);
}
}
In Interval Arithmetic, the standard four operators are relatively straight-forward (read: available on Wikipedia), transcendental functions are not much harder, and integer powers of intervals are not difficult... But interval powers of intervals are throwing me for a loop.
I haven't been able to find any open-source libraries in any language that implement this generalized power function.
I'd appreciate any complete answers, suggestions, and references.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论