Maxima

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Maxima Thanks, Wikipedia.
Maxima

Maxima

目录

简介

Maxima 是一种用 Common Lisp 编写的计算机代数系统(Computer algebra system),用于公式推导和符号计算,它是一套自由软件,采用 GNU GPL 许可证。

Maxima 是用于操纵符号和数值表达式的系统,包括微分、积分、泰勒级数、拉普拉斯变换、常微分方程、线性方程组、多项式、集合、列表、向量、矩阵和张量。Maxima 通过使用精确分数、任意精度整数和可变精度浮点数来产生高精度数值结果。Maxima 可以在二维和三维空间中绘制函数和数据。

功能

指南

Debian

$ sudo apt install maxima
$ maxima
Maxima 5.45.1 https://maxima.sourceforge.io
using Lisp GNU Common Lisp (GCL) GCL 2.6.12
(%i1) factor(10!);
                                   8  4  2
(%o1)                             2  3  5  7
(%i2) expand ((x + y)^6);
            6        5       2  4       3  3       4  2      5      6
(%o2)     y  + 6 x y  + 15 x  y  + 20 x  y  + 15 x  y  + 6 x  y + x
(%i3) factor (x^6 -1);
                                     2            2
(%o3)              (x - 1) (x + 1) (x  - x + 1) (x  + x + 1)
 

下载安装包或者采用如下方法:

OS X

sudo port install gcl
./configure
Summary:
GCL enabled. Executable name: "gcl"
default lisp: gcl
wish executable name: "wish"

运行 gcl

(load "configure.lisp")
(configure)
(quit)

cd src,确保有以下目录

binary-gcl
binary-gcl/numerical
binary-gcl/numerical/slatec

在src目录下运行 gcl

(load "maxima-build.lisp")
(maxima-compile)

退出,再运行 gcl

(load "maxima-build.lisp")
(maxima-load)
(cl-user::run)

chmod a+x maxima

./maxima

项目

  • GNU GMP 目前最著名的高精度整数运算库
  • Xmaxima is a graphical interface for Maxima, written in Tcl/Tk

wxMaxima

$ sudo apt install wxmaxima
$ wxmaxima

Gnuplot

set term qt
plot sin(x) 
splot sin(x*y)

VTK

Visualization with VTK

量子计算

  • Quantum Computing Simulator for Maxima
  • qinf quantum information library for Maxima

文档

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱