Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
restart - 内部メモリのクリア
使い方
restart
説明
restart コマンドは Maple カーネルに内部メモリを消去させ、Maple は起動したばかりのように動作します。
すべての識別名 (変数と手続き) は忘れられ、libname は Maple をはじめた状態にリセットされます。いかなるアーカイブから読み出された名前も読まれていないものとされます。そして Maple の初期化ファイルが再び読み込まれます。
external_calling でロードされた共有ライブラリは、restart時にアンロードされます。 Java 外部呼出しで起動する Java Virtual Machineは、restart 時に終了します。
Maple は割り当てられたメモリをオペレーティングシステムに返しません。その代わりに、Maple が使っているすべてのメモリは Maple 自身のフリーメモリのプールに返されます。このことから、restart の後、最初に起動したときよりも Maple が使えるメモリは少ないかもしれません。大規模な問題を実行する前にすべてを消去したい場合は、Maple を終了して、最大限のメモリ量を確保できるように新たなセッションを始めることをお薦めします。
restart コマンドはトップレベルでのみ働きます。手続きの中からや read 文で読み込んだファイルの中からは実行することはできません。 そうしないとMaple が矛盾した状態に陥る可能性があるためです。
すべての Maple 変数の値を消去することに加えて、restart は ほとんどの kernelopts および interface 設定をデフォルトの値にリセットします。これは初期化ファイルを再読み込みする前に行われます。次の設定がリセットされます。
kernelopts(ASSERT) kernelopts(assertlevel) kernelopts(inline) kernelopts(opaquemodules) kernelopts(printbytes) kernelopts('printlevel') kernelopts(profile) interface(ansi) interface(autoassign) interface(displayprecision) interface(echo) interface(errorbreak) interface(errorcursor) interface(imaginaryunit) interface(indentamount) interface(labelling) interface(latexwidth) interface(longdelim) interface(plotdevice) interface(plotoptions) interface(plotoutput) interface(postplot) interface(preplot) interface(prettyprint) interface(prompt) interface(quiet) interface(rtablesize) interface(screenheight) interface(screenwidth) interface(showassumed) interface(verboseproc) interface(warnlevel)
例
a := 2;
with(inttrans):
fourier(x,x,t);
restart; a;
参照
external_calling, interface, kernelopts, libname, read, unassign
Download Help Document