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 錦囊妙計
17.7 於 .Net 應用程式使用 Mathematica 運算核心
|
705
17.7 於 .Net 應用程式使用 Mathematica 運算核心
問題點
你想要在 .NET 應用程式中使用 Mathematica 強大的運算功能。[Page-709]
解決方案
.NET 應用程式中使用
Wolfram.NETLink.dll
中的類別即可。本文所用語言為 C#
言,但所有 .NET 語言都可透過相同方式連結 Mathematica 運算核心。與 Mathematica
核心溝通的最簡單方式是透過
IKernelLink
物件傳遞 Mathematica 程式碼字串,此物件
可透過
MathLinkFactory.CreateKernelLink
取得,
IKernelLink
物件具有數個函式執行
Mathematica 程式碼,其中函式
EvaluateToOutputForm
是最方便使用的。
啟動 Mathematica 計算核心
忽略
Mathematica 運算核心啟動時的回應訊息
對微分方程式進行求解,並計算
x=2 的解
ch17.indd 705 2014/4/2 下午 04:27:29
706
|
第十七章
討論說明
如果你只想顯示計算結果,以字串資料傳遞便足夠了,但如果你想利用結果做進一步
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