个人工具

UbuntuHelp:Maxima/zh

来自Ubuntu中文

跳转至: 导航, 搜索


计算机代数系统 Maxima

“Maxima 是一个处理符号与数值表达式的系统,内容包括微分、积分、泰勒级数、拉普拉斯变换、常微分方程、线性方程系统、多项式以及集合、列表、向量、矩阵和张量。Maxima 运算过程中采用精确的分式、任意精度整数和任意精度的浮点数故可以获得高精度的数值结果。Maxima 可以绘制二维和三维的函数或数据图。(来自 http://maxima.sourceforge.net/ )”

关键特性

  • 操作符号与数值表达式
  • 微分
  • 积分
  • 泰勒级数
  • 拉普拉斯变换
  • 常微分方程
  • 线性方程系统
  • 多项式
  • 集合、列表、向量、矩阵及张量

屏幕截图

Maxima?action=AttachFile&do=get&target=maxima.png

安装

sudo apt-get install maxima

提示与小技巧

安装最新版的指南

这是一个为所有Ubuntu爱好者准备的安装最新版Maxima http://maxima.sourceforge.net/ 的指南。

必要条件:

  1. 网络连接 (或者 ubuntu DVD + 最新版 Maxima)
  2. 具有打开和使用终端的基本知识
  3. 因特网浏览器

删除老的,下载,编译,安装新的

如果已装有一个老版本的Maxima的话,你要删除它。因为本方法有效的前提是:软件包"maxima-doc"必须被卸载。

我们用变量"latest-version"指代Maxima的最新版本(截止3-20-2007,它是5.11.0)-

在网络浏览器中

在这儿http://sourceforge.net/project/showfiles.php?group_id=4933 点击maxima-"latest-version".tar.gz来下载软件包maxima-"latest-version".tar.gz


在终端中

删除老版本,

sudo apt-get remove maxima maxima-doc wxmaxima 

你需要虚拟软件包"build-essential"来编译源码包并需要软件包"checkinstall"来建立一个debain包。因此,如果你没有或者不确定的话,

sudo apt-get install build-essential checkinstall

现在是解压,编译和安装你的软件包的时候了:

tar xfvz /"locationof"/maxima-"latest-version".tar.gz
sudo apt-get build-dep maxima
sudo dpkg-reconfigure gcl

选择"yes" 并启用默认被禁止的ansi。

cd maxima-"latest-version"/
./configure --prefix=/usr --exec-prefix=/usr
make
sudo checkinstall

选择"yes"来创建一个文档包并把来自网站的下面一段maxima的描述粘贴上

Maxima is a system for the manipulation of symbolic and numerical expressions, including differentiation, integration, Taylor series, Laplace transforms, ordinary differential equations, systems of linear equations, polynomials, and sets, lists, vectors, matrices, and tensors. Maxima yields high precision numeric results by using exact fractions, arbitrary precision integers, and arbitrarily precision floating point numbers. Maxima can plot functions and data in two and three dimensions.

等上面结束时输入"0" 然后点击"回车" 并输入你的email地址,这样使用你的软件包的人能知道你是谁。 比如输入you@somewhere并"回车"。Checkinstall会尽力为你去构建一个deb软件包,默认情况下它会自动安装并包含在你编译Maxima的目录中,也就是说,这个deb在/"locationof"/maxima-"latest-version"/中。这样如果一切顺利的话,现在你已经装好最新版的maxima了。

如果你遇到困难,我的email是yigal.weinstein@gmail.com

关于wxMaxima

如果你需要wxMaxima配合这个maxima来使用,你必须自己构建一个。不要担心。这是有一个指南http://wiki.ubuntu.org.cn/UbuntuHelp:wxMaxima/zh 。 因为存在一个依赖关系:安装软件包"wxmaxima"的话必须要先装"maxima-doc";然而"maxima-doc"必须被卸载如果采用上面的方法安装Maxima的话。

你也许需要的其它程序

Maxima的图形前端:

Maxima的附加功能:

  • gnuplot (默认情况下,Maxima只安装gnuplot-nox;你或许希望安装gnuplot主程序包以便能在X11中显示图线。)

进一步阅读