个人工具

“UbuntuHelp:Maxima”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(New page: {{From|https://help.ubuntu.com/community/Maxima}} {{Languages|php5}} Parent: UbuntuHelp:Software == Maxima, a computer algebra system == "Maxima is a system for the manipulation of...)
 
 
(未显示2个用户的14个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/Maxima}}
 
{{From|https://help.ubuntu.com/community/Maxima}}
{{Languages|php5}}
+
{{Languages|UbuntuHelp:Maxima}}
Parent: [[UbuntuHelp:Software]]
+
 
+
 
+
 
+
 
== Maxima, a computer algebra system ==
 
== Maxima, a computer algebra system ==
 
 
"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." (from http://maxima.sourceforge.net/)
 
"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." (from http://maxima.sourceforge.net/)
 
 
== Key Features ==
 
== Key Features ==
 
 
* manipulation of symbolic and numerical expressions
 
* manipulation of symbolic and numerical expressions
 
* differentiation
 
* differentiation
第20行: 第13行:
 
* polynomials
 
* polynomials
 
* sets, lists, vectors, matrices, and tensors
 
* sets, lists, vectors, matrices, and tensors
 
 
== Screenshot ==
 
== Screenshot ==
 
+
https://help.ubuntu.com/community/Maxima?action=AttachFile&do=get&target=maxima.png
attachment:maxima.png
+
 
+
 
== Installation ==
 
== Installation ==
 
 
* Via '''[[UbuntuHelp:Synaptic|Synaptic Package Manager]]'''
 
* Via '''[[UbuntuHelp:Synaptic|Synaptic Package Manager]]'''
 
* Via apt-get
 
* Via apt-get
<pre><nowiki>
+
<pre><nowiki>
 
sudo apt-get install maxima
 
sudo apt-get install maxima
</nowiki></code>
+
</nowiki></pre>
 
+
 
== Hints and Tips ==
 
== Hints and Tips ==
 
 
=== Tutorial for Installing the Latest Version ===
 
=== 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.  
+
There are two ways to go about getting the latest version of Maxima:  
 +
I. Download and install ready made Maxima deb packages.
 +
 
 +
II. Compile your own maxima package.
 +
== I. Downloading and Installing The Latest Maxima Packages ==
 +
Istvan Blahota has compiled deb packages for Maxima 5.20.1-1. They can be downloaded from:
 +
https://launchpad.net/~blahota/+archive/wxmaxima/+packages
 +
There you will find both i386 and amd64 packages. Download the package which corresponds to the architecture of your Ubuntu installation. Double click the downloaded deb package to install it.
 +
Further, there is a choice between Maxima packages compiled with CLisp or Steel Bank Common Lisp (SBCL). Experience seems to indicate that the SBCL based Maxima packages are generally faster than their CLisp based counterparts.
 +
To check this claim for yourself:
 +
1. Install the CLisp based maxima package.
 +
2. Open a terminal. Type "maxima" and press enter.
 +
3. Execute the following command from the Maxima terminal:
 +
 
 +
<pre><nowiki>
 +
run_testsuite(display_all=true);
 +
</nowiki></pre>
 +
At the end of the test run, some statistics including time taken will be displayed. Depending on your hardware the time taken for the test run can vary from a few minutes to a few hours.
 +
4. Uninstall the Clisp based Maxima package.
 +
5. Install the SBCL based Maxima package.
 +
6. Repeat steps 2 and 3.
  
 +
Go with that implementation of Maxima which is quicker in your case.
 +
Notes:
 +
1. Istvan Blahota's Maxima packages come inbuilt with all components of Maxima including: doc, source, test etc.
 +
2. Click on http://maxima.sourceforge.net/lisp.html to read about different implementations of Lisp and their compatibility with Maxima.
 +
3. Information on downloading ready made WxMaxima deb packages is available at: https://help.ubuntu.com/community/wxMaxima
 +
 +
== II. Compiling Your Own Maxima Package ==
 +
This is a guide for installing the latest version of Maxima by compiling your own Maxima deb package.
 
This tutorial requires:  
 
This tutorial requires:  
 
+
<ol><li>an Internet connection (or an Ubuntu DVD + the latest Maxima)
1. an Internet connection (or an Ubuntu DVD + the latest Maxima)
+
</li><li>basic knowledge of how to open and use a terminal
1. basic knowledge of how to open and use a terminal  
+
</li><li>a web browser</li></ol>
1. a web browser
+
  
 
==== Out with the old, Download, Configure, Make, and Install it ====
 
==== 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,
 
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)
 
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'''
 
'''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
 
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
 
and clicking on maxima-"latest-version".tar.gz
 
 
'''In a terminal'''
 
'''In a terminal'''
 
 
Out with the old,
 
Out with the old,
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get remove maxima maxima-doc wxmaxima  
 
sudo apt-get remove maxima maxima-doc wxmaxima  
</nowiki></code>
+
</nowiki></pre>
 
+
 
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,
 
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,
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo apt-get install build-essential checkinstall
 
sudo apt-get install build-essential checkinstall
</nowiki></code>
+
</nowiki></pre>
 
+
 
Now its time to extract, configure, make and install your package:
 
Now its time to extract, configure, make and install your package:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
tar xfvz /"locationof"/maxima-"latest-version".tar.gz
 
tar xfvz /"locationof"/maxima-"latest-version".tar.gz
 
sudo apt-get build-dep maxima
 
sudo apt-get build-dep maxima
 
sudo dpkg-reconfigure gcl
 
sudo dpkg-reconfigure gcl
</nowiki></code>
+
</nowiki></pre>
 
+
 
select "yes" and enable ansi which is disabled by default.
 
select "yes" and enable ansi which is disabled by default.
 
<pre><nowiki>
 
<pre><nowiki>
第83行: 第85行:
 
make
 
make
 
sudo checkinstall
 
sudo checkinstall
</nowiki></code>
+
</nowiki></pre>
 
say "yes" to create a document package and paste the description of Maxima off of the website pasted bellow:
 
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.''
 
''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
 
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.
 
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 [email protected]
 
If you get stuck my email address is [email protected]
 
+
==== On Compiling wxMaxima ====
==== On wxMaxima ====
+
If you want to compile wxMaxima with this maxima you must do it 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.  
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 ==
 
== Other applications you may wish to look at ==
 
 
Front-ends for Maxima:
 
Front-ends for Maxima:
* [[UbuntuHelp:wxMaxima]]
+
* [[UbuntuHelp:wxMaxima|wxMaxima]]
 
* xMaxima
 
* xMaxima
* TeXmacs
+
* [[UbuntuHelp:TeXmacs|TeXmacs]]
 
+
 
Extra functionality 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)
 
* gnuplot (by default, maxima will install gnuplot-nox; you want to also install the main gnuplot package to display plots in X11)
 
 
== Further Reading ==
 
== Further Reading ==
 
 
* http://maxima.sourceforge.net/
 
* http://maxima.sourceforge.net/
 
 
----
 
----
CategoryDocumentation CategoryScience
+
[[category:CategoryScience]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月19日 (三) 23:23的最新版本


Maxima, a computer algebra system

"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." (from http://maxima.sourceforge.net/)

Key Features

  • manipulation of symbolic and numerical expressions
  • differentiation
  • integration
  • Taylor series
  • Laplace transforms
  • ordinary differential equations
  • systems of linear equations
  • polynomials
  • sets, lists, vectors, matrices, and tensors

Screenshot

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

Installation

sudo apt-get install maxima

Hints and Tips

Tutorial for Installing the Latest Version

There are two ways to go about getting the latest version of Maxima: I. Download and install ready made Maxima deb packages.

II. Compile your own maxima package.

I. Downloading and Installing The Latest Maxima Packages

Istvan Blahota has compiled deb packages for Maxima 5.20.1-1. They can be downloaded from: https://launchpad.net/~blahota/+archive/wxmaxima/+packages There you will find both i386 and amd64 packages. Download the package which corresponds to the architecture of your Ubuntu installation. Double click the downloaded deb package to install it. Further, there is a choice between Maxima packages compiled with CLisp or Steel Bank Common Lisp (SBCL). Experience seems to indicate that the SBCL based Maxima packages are generally faster than their CLisp based counterparts. To check this claim for yourself: 1. Install the CLisp based maxima package. 2. Open a terminal. Type "maxima" and press enter. 3. Execute the following command from the Maxima terminal:

run_testsuite(display_all=true);

At the end of the test run, some statistics including time taken will be displayed. Depending on your hardware the time taken for the test run can vary from a few minutes to a few hours. 4. Uninstall the Clisp based Maxima package. 5. Install the SBCL based Maxima package. 6. Repeat steps 2 and 3.

Go with that implementation of Maxima which is quicker in your case. Notes: 1. Istvan Blahota's Maxima packages come inbuilt with all components of Maxima including: doc, source, test etc. 2. Click on http://maxima.sourceforge.net/lisp.html to read about different implementations of Lisp and their compatibility with Maxima. 3. Information on downloading ready made WxMaxima deb packages is available at: https://help.ubuntu.com/community/wxMaxima

II. Compiling Your Own Maxima Package

This is a guide for installing the latest version of Maxima by compiling your own Maxima deb package. 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 [email protected]

On Compiling wxMaxima

If you want to compile wxMaxima with this maxima you must do it 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