个人工具

UbuntuHelp:Maxima/zh

来自Ubuntu中文

Dbzhang800讨论 | 贡献2007年5月23日 (三) 20:29的版本 计算机代数系统 Maxima

跳转至: 导航, 搜索


计算机代数系统 Maxima

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

关键特性

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

Screenshot

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

Installation

sudo apt-get install maxima

Hints and Tips

Tutorial for Installing the Latest Version

This is a guide for installing the latest version of Maxima http://maxima.sourceforge.net/ for all flavors of Ubuntu.

This tutorial requires:

  1. an Internet connection (or an Ubuntu DVD + the latest Maxima)
  2. basic knowledge of how to open and use a terminal
  3. a web browser

Out with the old, Download, Configure, Make, and Install it

If you have an older version of Maxima installed remove it as the package "maxima-doc" must be uninstalled for this method to work,

Let the variable "latest-version" equal the latest version of Maxima (as of 3-20-007 it is 5.11.0)

In a web browser

download the package maxima-"latest-version".tar.gz by going to here, http://sourceforge.net/project/showfiles.php?group_id=4933

and clicking on maxima-"latest-version".tar.gz

In a terminal

Out with the old,

sudo apt-get remove maxima maxima-doc wxmaxima 

You will need the virtual package "build-essential" for making the package and the package "checkinstall" for building a debian package. So if you don't have it or are unsure,

sudo apt-get install build-essential checkinstall

Now its time to extract, configure, make and install your package:

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

select "yes" and enable ansi which is disabled by default.

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

say "yes" to create a document package and paste the description of Maxima off of the website pasted bellow:

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.

When this is done type "0" then "ENTER" and enter your email address so that people know who you are if they use your package you@somewhere as an example

hit "ENTER" and hope for the best. Checkinstall attempts to build you a deb package which it automatically installs by default and is also included in the directory you made Maxima, i.e. the deb is in /"locationof"/maxima-"latest-version"/. Thus if everything goes smoothly you now have the latest version of maxima installed.

If you get stuck my email address is yigal.weinstein@gmail.com

On wxMaxima

If you want wxMaxima with this maxima you must build one for yourself. Do not fret. The following are instructions, https://help.ubuntu.com/community/wxMaxima to do just that. The reason is that there are dependency issues that require that "maxima-doc" be installed with the package "wxmaxima", however "maxima-doc" must be uninstalled in order for this method above to work for installing Maxima.


Other applications you may wish to look at

Front-ends for Maxima:

Extra functionality for Maxima:

  • gnuplot (by default, maxima will install gnuplot-nox; you want to also install the main gnuplot package to display plots in X11)

Further Reading