Jump to content

Wolfram Mathematica: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Line 88: Line 88:
==Computable data==
==Computable data==
[[Image:MathematicaWind.png|thumb|325px|A stream plot of live weather data]]
[[Image:MathematicaWind.png|thumb|325px|A stream plot of live weather data]]
Mathematica includes large collections of curated data in a consistent framework for immediate computation. Data can be accessed programmatically to inform or test models and is updated automatically from a data server at Wolfram Research. Some data such as share prices and weather are delivered in real-time. Data sets currently include:
Mathematica includes large collections of curated data in a consistent framework for immediate computation. Data can be accessed programmatically to inform or test models and is updated automatically from a data server at Wolfram Research<ref>http://reference.wolfram.com/mathematica/guide/ScientificAndTechnicalData.html</ref>. Some data such as share prices and weather are delivered in real-time. Data sets currently include:
* Astronomical data: 99 properties of 155,000 astronomical bodies
* Astronomical data: 99 properties of 155,000 astronomical bodies
* Chemical data: 111 properties of 34,000 chemical compounds, 86 properties of 118 chemical elements and 35 properties of 1000 subatomic particles
* Chemical data: 111 properties of 34,000 chemical compounds, 86 properties of 118 chemical elements and 35 properties of 1000 subatomic particles

Revision as of 03:37, 1 May 2009

Template:Otheruses2

Mathematica
Developer(s)Wolfram Research
Initial releaseJune 23, 1988[1]
Stable release14.1.0 (July 31, 2024; 3 days ago (2024-07-31)) [±][2]
Written inMathematica, C
PlatformCross-platform (list)
Available inmultilingual
TypeComputer algebra, numerical computations, Information visualization, statistics, user interface creation
LicenseProprietary
WebsiteMathematica homepage

Mathematica is a computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing. It was originally conceived by Stephen Wolfram and developed by a team of mathematicians and programmers that he assembled and led. It is developed by Wolfram Research of Champaign, Illinois.[3][4]

Features

File:Simple-manip-mathematica-png.png
A plot and manipulation dialog created with one line of code

Some features of Mathematica include[5]:

  • Libraries of elementary and special mathematical functions
  • 2D and 3D data and function visualization tools
  • Matrix and data manipulation tools including support for sparse arrays
  • Solvers for systems of equations, ODEs, PDEs, DAEs, DDEs and recurrence relations
  • Numeric and symbolic tools for discrete and continuous calculus
  • Multivariate statistics libraries
  • Constrained and unconstrained local and global optimization
  • A programming language supporting procedural, functional and object oriented constructs
  • A toolkit for adding user interfaces to calculations and applications
  • Tools for image processing [6]
  • Tools for visualizing and analysing graphs
  • Data mining tools such as cluster analysis, sequence alignment and pattern matching
  • Libraries of number theory functions
  • Continuous and discrete integral transforms
  • Import and export filters for data, images, video, sound, CAD, GIS, document and biomedical formats
  • A collection of databases of mathematical, scientific, and socio-economic information (see below)
  • Support for complex number, arbitrary precision and symbolic computation for all functions
  • Notebook interface for review and re-use of previous inputs and outputs including graphics and text annotations
  • Technical word processing including formula editing

Front ends

Mathematica is split into two parts, the "kernel" and the "front end". The kernel interprets expressions (Mathematica code) and returns result expressions.

The Mathematica Front End provides a GUI interface which allows the creation and editing of Notebook documents which can contain program code with prettyprinting, formatted text together with results including typeset mathematics, graphics, GUI components, tables and sounds. All contents and formatting can be generated algorithmically or interactively edited and most standard word processing capabilities are supported but only one level of "undo" is supported.

Documents can be structured using a hierarchy of cells, which allow for outlining and sectioning of a document and support automatic numbering index creation. Documents can be presented in a slide show environment for presentations. Starting with version 3.0 of the software, notebooks and their contents are represented as Mathematica expressions that can be created, modified or analysed by Mathematica programs. This allows conversion to other formats such as TeX or XML.

The Mathematica Front End includes development tools such as a debugger, input completion and automatic syntax coloring.

The kernel and the front end communicate via the MathLink protocol. It is possible to use the kernel on one computer and the front end on another.

The standard Mathematica front end is used by default, but alternative front ends are available:

  • The Wolfram Workbench is an Eclipse based IDE, introduced in 2006, that provides project based code development tools for Mathematica, including revision management, debugging, profiling, and testing.[7]
  • Microsoft Excel can be used as a front end to Mathematica.
  • GUIKit allows the construction of custom interfaces to Mathematica using the Java Swing libraries.
  • Mathematica includes a command line front end.
  • JMath is a third party front end based on GNU readline that runs on UNIX-like operating systems.[8]
  • MASH makes it possible to run self contained Mathematica programs (with arguments) from the UNIX command line.[9]

High-performance computing

In recent years the capabilities for high-performance computing have been extended with the introduction of packed arrays (version 4, 1999) [10], sparse matrices (version 5, 2003)[11], and by adopting the free GNU Multi-Precision Library to evaluate high-precision arithmetic.

Version 5.2 (2005) added automatic multi-threading when computations are performed on modern multi-core computers.[12] This release included CPU specific optimized libraries. In addition Mathematica is supported by third party specialist acceleration hardware such as ClearSpeed.[13]

In 2002 gridMathematica was introduced to allow user level parallel programming on heterogeneous clusters and multiprocessor systems [14] and in 2008 parallel computing technology was included in all Mathematica licenses including support for grid technology such as Windows HPC Server 2008, Microsoft Compute Cluster Server and Sun Grid.

Development

Several solutions are available for deploying applications written in Mathematica:

  • Mathematica Player Pro is a runtime version of Mathematica that will run any Mathematica application but does not allow editing or creation of the code.[15]
  • Mathematica Player is a free interactive player is provided for running Mathematica programs that have been digitally signed for non-commercial use via a Wolfram Research web service, or published on the Wolfram Demonstrations Project website. It can also view unsigned Mathematica files, but not run them.
  • webMathematica allows a web browser to act as a front end to a remote Mathematica server. It is designed to allow a user written application to be remotely accessed via a browser on any platform. It may not be used to give full access to Mathematica. The current version of webMathematica (2.3) does not support Mathematica 6.

Connections with other applications

Communication with other applications occurs through a protocol called MathLink. It allows communication between the Mathematica kernel and front-end, and also provides a general interface between the kernel and other applications. Wolfram Research freely distributes a developer kit for linking applications written in the C programming language to the Mathematica kernel through MathLink.[16] Two other components of Mathematica, whose underlying protocol is MathLink, allow developers to establish communication between the kernel and a .NET or Java program: .NET/Link.[17] and J/Link.[18]

Using .NET/Link, a .NET program can ask Mathematica to perform computations; likewise, a Mathematica program can load .NET classes, manipulate .NET objects and perform method calls. This makes it possible to build .NET graphical user interfaces from within Mathematica. Similar functionality is achieved with J/Link, but with Java programs instead of .NET programs.

Communication with SQL databases is achieved through built-in support for JDBC.[19]

Mathematica can also install web services from a WSDL description.[20][21]

Mathematical equations can be exchanged with other computational or typesetting software as MathML.

Computable data

A stream plot of live weather data

Mathematica includes large collections of curated data in a consistent framework for immediate computation. Data can be accessed programmatically to inform or test models and is updated automatically from a data server at Wolfram Research[22]. Some data such as share prices and weather are delivered in real-time. Data sets currently include:

  • Astronomical data: 99 properties of 155,000 astronomical bodies
  • Chemical data: 111 properties of 34,000 chemical compounds, 86 properties of 118 chemical elements and 35 properties of 1000 subatomic particles
  • Geopolitical data: 225 properties of 237 countries and 14 properties of 160,000 cities around the world
  • Financial data: 71 historical and real-time properties of 186,000 shares and financial instruments
  • Mathematical data: 89 properties of 187 polyhedra, 258 properties of 3000 graphs, 63 properties of 6 knots, 37 properties of 21 lattice structures, 32 properties of 52 geodesic schemes
  • Language data: 37 properties of 149,000 English words. 26 additional language dictionaries
  • Biomedical data: 41 properties of all 40,000 human genes, 30 properties of 27,000 proteins
  • Weather data: live and historical measurements of 43 properties of 17,000 weather stations around the world

Licensing

Mathematica is proprietary software protected by both trade secret and copyright law.[23]

A regular single-user license for Mathematica costs around US$2300-2500, and includes four additional kernels for parallel computations and one year of service which includes updates, technical support, a home use license, a webMathematica Amateur license[24], a Wolfram Workbench license and three Mathematica Player Pro licenses. Discounts are available for government, charity, educational, pre-college, school, student, home use[25] and retiree use and depend on geographical region. Educational site licenses allow use by students at home. A license manager similar to Flexlm is available to provide sharing of licenses within a group.

Platform availability

Mathematica 7 is supported on various versions of Microsoft Windows, Apple's Mac OS X, Linux and Sun's Solaris platforms. All platforms are supported with 64-bit implementations.[26] Earlier versions of Mathematica supported other operating systems, including MS-DOS, NeXTSTEP, HP-UX, IRIX, Ultrix, OS/2, Convex and AIX.

The Mathematica Home Edition, is a 32-bit application on Microsoft Windows. The Home Edition also runs on Mac OS X (Intel) and Linux, but not Solaris (neither x86 nor SPARC). Whether there is a 32-bit limitation on Mac OS X and Linux for the Home Edition is not clear from the FAQ.

Version history

Mathematica built on the ideas in Cole and Wolfram's earlier Symbolic Manipulation Program (SMP).[27][28]

Wolfram Research has released the following versions of Mathematica[29]:

  • Mathematica 1.0 (1988)[30]
  • Mathematica 1.2 (1989)[31]
  • Mathematica 2.0 (1991)[32]
  • Mathematica 2.1 (1992)[16]
  • Mathematica 2.2 (1993)[33]
  • Mathematica 3.0 (1996)[34]
  • Mathematica 4.0 (1999)[35]
  • Mathematica 4.1 (2000)
  • Mathematica 4.2 (2002)[18]
  • Mathematica 5.0 (2003)[36]
  • Mathematica 5.1 (2004)[37]
  • Mathematica 5.2 (2005)[38]
  • Mathematica 6.0 (2007)[39]
  • Mathematica 6.0.1 (2007)
  • Mathematica 6.0.2 (2008)
  • Mathematica 6.0.3 (2008)
  • Mathematica 7.0 (2008)[40]
  • Mathematica 7.0.1 (2009)

See also

References

  1. ^ http://blog.wolfram.com/2008/06/23/mathematica-turns-20-today/
  2. ^ "Yet More New Ideas and New Functions: Launching Version 14.1 of Wolfram Language & Mathematica". Retrieved 2024-07-31.
  3. ^ Stephen Wolfram: Simple Solutions; The iconoclastic physicist's Mathematica software nails complex puzzles, BusinessWeek, October 3, 2005.
  4. ^ Wolfram Research Contact Info
  5. ^ Mathematica documentation
  6. ^ Review: Mathematica 7. Technical computing powerhouse gets more oomph Macworld, Jan 2009
  7. ^ MacWorld review of Wolfram Workbench
  8. ^ JMath website
  9. ^ MASH website
  10. ^ Math software packs new power; new programs automate such tedious processes as solving nonlinear differential equations and converting units by Agnes Shanley, Chemical Engineering, March 1, 2002.
  11. ^ Mathematica 5.1: additional features make software well-suited for operations research professionals by ManMohan S. Sodhi, OR/MS Today, December 1, 2004.
  12. ^ The 21st annual Editors' Choice Awards, Macworld, February 1, 2006.
  13. ^ ClearSpeed Advance(TM) Accelerator Boards Certified by Wolfram Research; Math Coprocessors Enable Mathematica Users to Quadruple Performance.
  14. ^ gridMathematica offers parallel computing solution by Dennis Sellers, MacWorld, November 20, 2002.
  15. ^ Mathematica Player Pro - new Application Delivery System for Mathematica www.gizmag.com
  16. ^ a b New Mathematica: faster, leaner, linkable and QuickTime-compatible: MathLink kit allows ties to other apps. (Wolfram Research Inc. ships Mathematica 2.1, new QuickTime-compatible version of Mathematica software) by Daniel Todd, MacWeek, June 15, 1992.
  17. ^ .NET/Link: .NET/Link is a toolkit that integrates Mathematica and the Microsoft .NET Framework.
  18. ^ a b Mathematica 4.2: Feature-Rich Math Program Integrates with the Web, Adds Full Java Support by Charles Seiter, Macworld, November 1, 2002.
  19. ^ Mathematica 5.1 Available , Database Journal, Jan 3, 2005.
  20. ^ Mathematical Web Services: W3C Note 1 August 2003
  21. ^ Introduction to Web Services, Mathematica Web Services Tutorial
  22. ^ http://reference.wolfram.com/mathematica/guide/ScientificAndTechnicalData.html
  23. ^ Wolfram Mathematica License Agreement
  24. ^ webMathematica terms
  25. ^ Mathematica Home Edition Released Macworld, Feb 2009
  26. ^ Supported platforms list
  27. ^ Math, the universe, and Stephen: the author of Mathematica created a whirlwind of scientific controversy this year when, after more than 10 years of research, he published his treatise on the ability of simple structures to create unpredictable complex patterns. (2002 Scientist Of The Year).(Stephen Wolfram) by Tim Studt, R&D, November 1 , 2002.
  28. ^ A Top Scientist's Latest: Math Software by Andrew Pollack, The New York Times, June 24, 19988.
  29. ^ Quick Revision History of Mathematica
  30. ^ Supercomputer Pictures Solve the Once Insoluble, John Markoff, October 30, 1988.
  31. ^ Mathematica 1.2 adds new graphics options: upgrade also promises concurrent operations by Elinor Craig, MacWeek, July 25, 1989.
  32. ^ Mathematica + 283 functions = Mathematica 2.0 by Raines Cohen, MacWeek, January 15, 1991.
  33. ^ New version of Mathematica, Mechanical Engineering, June 1, 1993.
  34. ^ New Mathematica by Stephen H. Wildstrom, BusinessWeek, June 15, 1997.
  35. ^ Mathematica 4.0 by Charles Seiters, Macworld, October 1, 1999.
  36. ^ Mathematica 5.0 Adds Up: Exactly 15 years after Mathematica's initial release, Wolfram Research has released Mathematica , PC Magazine, September 3, 2003.
  37. ^ Mathematica 5.1's Web Services Add Up; Mathematica 5.1 delivers improvements over Version 5.0 that are vastly out of proportion for a .1 upgrade. by Peter Coffee, eWeek, December 6, 2004.
  38. ^ Mathematica hits 64-bit, MacWorld UK, July 13, 2005.
  39. ^ Mathematica 6: Felix Grant finds that version 6 of Wolfram Research's symbolic mathematical software really does live up to its expectations. Scientific Computing, 2007.
  40. ^ Mathematica 7: Released Wolfram Blog, 2008.