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 錦囊妙計
第四章
模式與規則式程式設計
You are an obsession
I cannot sleep
I am your possession
Unopened at your feet
There’s no balance
No equality
Be still I will not accept defeat
I will have you
Yes, I will have you
I will nd a way and I will have you
Like a buttery
A wild butterly
I will collect you and capture you
Animotion, “Obsession”
4.0 導論
2 章曾論述函數式程式設計是 Mathematica 中較建議的程式設計風格,若說函數是強
而有力的肌肉,那麼模式匹配便是擔任大腦的角色。事實上函數與模式應視為夥伴而非
競爭對手,同時精通函數式及模式程式設計,便能完全發揮 Mathematica 能力。一旦抓
到模式程式設計訣竅,你將會深深為之著迷。[Page-145]
驗, 式(regular
expression),它是一種描述字串模式以操作字串的簡潔語法,Mathematica 的模式語法
從正規表示式推廣至符號處理的領域,可操作任意符號結構。模式(pattern)與規則式
rule)是 Mathemati
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