Skip to Main Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate content levelBeginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
720
|
第十八章
解決方案
你可以到
Developer`
Experimental`
命名空間內尋找隱藏的寶藏。下式以
//Short
式縮減輸出篇幅,若想獲得完整清單,執行時記得將它拿掉。
討論說明
嚴格來說,於
Developer`
命名空間內的指令,未必都是非正式指令,有些指令為內建
高階指令的低階運算角色,而有些指令也具說明文件。以下為一個隱藏指令及其教學文
件。然而,如你所見,教學文件比正式指令簡略得多,正式指令指的是
System`
命名空
間中的官方指令。[Page-724]
ch18.indd 720 2014/4/2 下午 04:51:55
18.4 將程式封裝為套件
|
721
相反地,對於
Experimental
` 命名空間中的實驗性指令,Mathematica 提供的指令更為簡
略。
就算你了解這些指令的運作,但在未來版本中,並不保證它們不會遭到更動或移除,因
此使用這些指令時要格外小心。有時當你使用實驗性指令時,它將告訴你該指令即將於
未來版本刪除,並引導你使用替代指令。
延伸資訊
關於
PartitionMap
指令的使用,請參見訣竅 2.6[Page-725]
18.4 將程式封裝為套件
問題點
你設計了一組程式,在你的團隊中被廣泛應用,你希望將其封裝為套件,以便其他成員
使用。
解決方案
Math
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ubuntu for Non-Geeks, 4th Edition

Ubuntu for Non-Geeks, 4th Edition

Rickford Grant, Phil Bull

Publisher Resources

ISBN: 9789863470106