「Maxima」の編集履歴(バックアップ)一覧はこちら
「Maxima」(2011/03/08 (火) 01:29:35) の最新版変更点
追加された行は緑色になります。
削除された行は赤色になります。
#contents
* Output a formula as C language
- Source: http://f34.aaa.livedoor.jp/~kumadasu/pukiwiki/index.php?Maxima#z6176d06
- Download LISP script from http://www.rbt.his.u-fukui.ac.jp/~naniwa/pub/maxima.html
- Load the script on Maxima.
- Example:
#highlight{{
load("cform.lisp");
y(x):=a*x^2+b;
cform(y(x));
}}
* Read a matrix from a file
#highlight{{
A:read_matrix("ファイル名",’csv);
}}
* Matrix
** set
#highlight{{
A:matrix([1,2,3],[4,5,6],[7,8,9]);
}}
** multiply
#highlight{{
A . B;
}}
** transpose
#highlight{{
transpose(A);
}}
#contents
* output float number of x
float(x)
* functions
** radian
radian(theta):=theta/180*%pi;
* Output a formula as C language
- Source: http://f34.aaa.livedoor.jp/~kumadasu/pukiwiki/index.php?Maxima#z6176d06
- Download LISP script from http://www.rbt.his.u-fukui.ac.jp/~naniwa/pub/maxima.html
- Load the script on Maxima.
- Example:
#highlight{{
load("cform.lisp");
y(x):=a*x^2+b;
cform(y(x));
}}
* Read a matrix from a file
#highlight{{
A:read_matrix("ファイル名",’csv);
}}
* Matrix
** set
#highlight{{
A:matrix([1,2,3],[4,5,6],[7,8,9]);
}}
** multiply
#highlight{{
A . B;
}}
** transpose
#highlight{{
transpose(A);
}}