Diff for "Maxima"


Differences between revisions 1 and 36 (spanning 35 versions)
Revision 1 as of 2007-03-21 03:04:42
Size: 2823
Editor: pool-71-108-4-144
Comment:
Revision 36 as of 2009-12-08 17:46:43
Size: 6799
Editor: triband-del-59
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents(2)]]|| ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>||
Line 3: Line 3:
This page is a default template for documentation on the wiki. To create a new guide on the wiki, read the page WikiGuide. = Maxima, a computer algebra system =
Line 5: Line 5:
= Introduction =
This is a guide for installing the latest version of Maxima 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.
"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/)
Line 9: Line 7:
= First Section =
So first this variable:
"latest-version" is the latest version of Maxima (as of 3-20-007 it is 5.11.0)
= Key Features =
Line 13: Line 9:
In web browser
1. download the package maxima-"latest-version".tar.gz by going to here,
http://sourceforge.net/project/showf...?group_id=4933
 * 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 =

{{attachment:maxima.png}}

= Installation =

 * Via '''[[Synaptic|Synaptic Package Manager]]'''
 * Via apt-get
 {{{
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.0-1. They can be downloaded from:

http://zeus.nyf.hu/~blahota/maxima/karmic/

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. On the contrary, the Maxima package which is available in the Ubuntu repositories, while being dated, allows the user some discretion on which components of Maxima one chooses to install.

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)
 1. basic knowledge of how to open and use a terminal
 1. 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
Line 19: Line 95:
In a terminal
2.
'''In a terminal'''
Line 22: Line 97:
$ tar xfvz /"locationof"/maxima-"latest-version".tar.gz Out with the old,
Line 24: Line 99:
3. {{{
sudo apt-get remove maxima maxima-doc wxmaxima
}}}
Line 26: Line 103:
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
Line 27: Line 114:

4.

$
sudo dpkg-reconfigure gcl
sudo dpkg-reconfigure gcl
}}}
Line 33: Line 118:
{{{
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:
Line 34: Line 126:
5. ''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.''
Line 36: Line 128:
$ cd maxima-"latest-version"/ 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
Line 38: Line 130:
6. 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.
Line 40: Line 132:
$ ./configure --prefix=/usr/share --exec-prefix=/usr If you get stuck my email address is yigal.weinstein@gmail.com
Line 42: Line 134:
7. === 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.
Line 44: Line 137:
$ make
Line 46: Line 138:
8. = Other applications you may wish to look at =
Line 48: Line 140:
$ sudo checkinstall Front-ends for Maxima:
 * [[wxMaxima]]
 * xMaxima
 * TeXmacs
Line 50: Line 145:
9. say "yes" to create a document package and paste the description of Maxima off of the website: 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)
Line 52: Line 148:
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. = Further Reading =
Line 54: Line 150:
10. type 0 and enter your email address so that people know who you are if they use your package someone@somewhere as an example

11. hit return and tell me if you get any errors. If it works it will install a Debian package of maxima 5.11 and you will have in the folder a maxima deb package that you should keep for later.

Don't spend all day at it. Just try this once if it works, great. If it doesn't just post your errors. I would give you my deb but it is built for Edgy.

= Second Section =

This is the website to Maxima at Sourceforge: http://maxima.sourceforge.net/
 * http://maxima.sourceforge.net/
Line 65: Line 153:
CategoryDocumentation CategoryScience CategoryScience

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.png

Installation

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.0-1. They can be downloaded from:

http://zeus.nyf.hu/~blahota/maxima/karmic/

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. On the contrary, the Maxima package which is available in the Ubuntu repositories, while being dated, allows the user some discretion on which components of Maxima one chooses to install.

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 yigal.weinstein@gmail.com

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


CategoryScience

Maxima (last edited 2011-04-09 01:42:10 by D9784B24)