私はIntegration in Mathematicaで言及した問題のデモを見たいと思っていますが、それはまだ非常に遅く、Manipulateは滑らかではありません。Mathematicaで "操作"を最適化する
以下を考慮して、状況を改善する手段があるかどうか。それは、より連続的なダイナミックを参照してください。また、私はこれがあなたのために任意のより良いであれば
コントロール - >マニピュレータ[Appearance-> [開く]
arrows = ParallelTable[{
RandomVariate[NormalDistribution[0, Sqrt[1]]],
RandomVariate[NormalDistribution[0, Sqrt[1]]]}, {20000}];
Manipulate[
Graphics[{
White, Rectangle[{-5, -5}, {5, 5}],
Red, Disk[{0, 0}, 1],
Black, Point /@ (arrows[[;; i]]),
Text[Style[
Total[
If[# < 1, 1, 0] & /@
(EuclideanDistance[{0, 0}, #] & /@
arrows[[;; i]])]/[email protected][[;; i]] // N,
Bold, 18, "Helvetica"], {-4.5, 4.5}]},
ImageSize -> 800],
{i, Range[2, 20000, 1]},
ControlType -> Manipulator,
SaveDefinitions -> True]
'Manipulator'を開いてラベル付けした状態で取得するには' {i、Range [2、20000、1]、ControlType - >マニピュレータ、 の外観 - > {"Open"、 "Labeled"}} 'が必要です – kglr