我需要sin(4^x)在Matlab中用x> 1000 进行计算,基本上是sin(4^x mod 2?)因为sin函数内部的值变得非常大,所以Matlab返回无穷大4^1000.我怎样才能有效地计算出来?我更喜欢避免大数据类型.
我认为转变为类似的东西sin(n*?+z)可能是一种可能的解决方案.
我在新的Mac上安装了R(2.15.1)和RStudio(0.96.316).现在,每当我获取R脚本时,我都会收到以下警告消息.无论脚本是什么样的.在下一个案例中,我只使用了一只猫('Hello World)参数.
> source('~/Documents/R-Files/skript.r')
Hello World
Warnmeldung:
In eval.with.vis(ei, envir) :
.Internal(eval.with.vis) should not be used and will be removed soon
Run Code Online (Sandbox Code Playgroud)
我总是得到与代码中的行相同数量的警告.拥有四行输入的脚本会产生四个警告:
> source('~/Documents/R-Files/skript.r')
a Hello World
b Hello World
c Hello World
d Hello World
Warnmeldungen:
1: In eval.with.vis(ei, envir) :
.Internal(eval.with.vis) should not be used and will be removed soon
2: In eval.with.vis(ei, envir) :
.Internal(eval.with.vis) should not be used and will be removed soon
3: In eval.with.vis(ei, envir) :
.Internal(eval.with.vis) should not be used and will be …Run Code Online (Sandbox Code Playgroud)