Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
第三章
資料結構
Well I live with snakes and lizards
And other things that go bump in the night
Ministry, “Everyday Is Halloween”
3.0 導論
高等數學豐富的抽象結構與形式使得數學超越了數字的領域,本章包含各種資料結構與
演算法相關的訣竅,以解決線性代數、張量運算、集合論、圖論及計算機科學等領域的
問題,通常這些資料結構均建構在串列(list)基礎上,以串列表示集合、向量、矩陣與
張量有很多好處,因為 Mathematica 提供許多通用的串列操作指令,可用來實現這些結
構的計算。串列、集合或張量在數學上是極為不同的抽象物件,而它們相異之處在於運
算方式而非資料儲存方式。[Page-85]
串列相關指令
Mathematica 大 部 分 資 料 結 構 基 礎 是 串 列, 除 非 你 熟 悉 串 列 處 理, 否 則 若 要 以
Mathematica 進行高階運算是相當困難的,因此本章由串列基本處理開始。Mathematica
串列的建立方式是
List[elem1,elem2, ...,elemN]
,或者更常用的方式是以大括號建
立:
{elem1,elem2,...,elemN}
,元素型態沒有任何限制,可為各種型態的混合,如數
字、字串、指令、串列與其他 Mathematica 中的任意物件(如圖形與音訊等資料)。
了解串列的第一件事是如何建立它,最常用的
Table
指令負責串列建立,以下提
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106