ログインしてさらにmixiを楽しもう

コメントを投稿して情報交換!
更新通知を受け取って、最新情報をゲット!

数学コミュの多変数多項式の約分プログラムの作成にご協力を

  • mixiチェック
  • このエントリーをはてなブックマークに追加
多変数多項式の約分のプログラムを作っているのですが、アルゴリズムがよく分からずなんぎしています。

多変数多項式の約分アルゴリズムを実装した、コンピュータプログラムのオープンソースがあれば教えていただきたいのですが。(言語は出来ればC/C++かJavaを希望します。)探したのですが、なかなか見つかりません。

「EZGCD」を解説した本を見てみたのですが、アルゴリズムが抽象的で良く分かりませんでした。

コメント(3)

オープンソースの数式処理システムとして有名なものに Maxima があります。
ライセンスが GPL なので商用のシステムに使うには注意が必要です。

Maxima, a Computer Algebra System
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 variable precision floating point numbers. Maxima can plot functions and data in two and three dimensions.

The Maxima source code can be compiled on many systems, including Windows, Linux, and MacOS X. The source code for all systems and precompiled binaries for Windows and Linux are available at the SourceForge file manager.

Maxima is a descendant of Macsyma, the legendary computer algebra system developed in the late 1960s at the Massachusetts Institute of Technology. It is the only system based on that effort still publicly available and with an active user community, thanks to its open source nature. Macsyma was revolutionary in its day, and many later systems, such as Maple and Mathematica, were inspired by it.

The Maxima branch of Macsyma was maintained by William Schelter from 1982 until he passed away in 2001. In 1998 he obtained permission to release the source code under the GNU General Public License (GPL). It was his efforts and skill which have made the survival of Maxima possible, and we are very grateful to him for volunteering his time and expert knowledge to keep the original DOE Macsyma code alive and well. Since his passing a group of users and developers has formed to bring Maxima to a wider audience.

We are constantly updating Maxima, to fix bugs and improve the code and the documentation. We welcome suggestions and contributions from the community of Maxima users. Most discussion is conducted on the Maxima mailing list.
kazu さんへ、コメント有難うございます。

Maximaのソースをダウンロードして、ソースコードの読破を試みたのですが、言語がLISPで、括弧ばかりで読みにくく、また関連する部分が多岐に渡り、くじけてしまいました。Maximaを開発モードでデバッグ実行して動作をトレースすれば分かるかもしれませんが、出来るかどうか分かりません。

数学の話題でなくて、コンピュータの話になってしまいました。済みません。
> naotaさん

ソースコードからアルゴリズムを読み解くのはかなり困難だと思います。
もし本格的に取り組んでいるのであれば、この分野の教科書で勉強してはいかがでしょう。
以下の本は高価なためお薦めしにくいのですが、目次を見る限り数式処理の基本はカバーしていそうです。

Modern Computer Algebra [ハードカバー]
Joachim von zur Gathen (著), Juergen Gerhard (著) - Amazon.co.jp
http://www.amazon.co.jp/dp/0521826462/

> 内容説明
Computer algebra systems are gaining importance in all areas of science and engineering. This textbook gives a thorough introduction to the algorithmic basis of the mathematical engine in computer algebra systems. It is designed to accompany one- or two-semester courses for advanced undergraduate or graduate students in computer science or mathematics. Its comprehensiveness and authority also make it an essential reference for professionals in the area. Special features include: detailed study of algorithms including time analysis; implementation reports on several topics; complete proofs of the mathematical underpinnings; a wide variety of applications (among others, in chemistry, coding theory, cryptography, computational logic, and the design of calendars and musical scales). Some of this material has never appeared before in book form. For the new edition, errors have been corrected, the text has been smoothed and updated, and new sections on greatest common divisors and symbolic integration have been added.

Book Description
Designed to accompany one- or two-semester courses for advanced undergraduate or graduate students, this text's comprehensiveness and reliability also make it an essential reference for professionals. Errors have been corrected and new sections on greatest common divisors and symbolic integration have been added to this updated edition. First Edition Hb (1999): 0-521-64176-4

ログインすると、みんなのコメントがもっと見れるよ

mixiユーザー
ログインしてコメントしよう!

数学 更新情報

数学のメンバーはこんなコミュニティにも参加しています

星印の数は、共通して参加しているメンバーが多いほど増えます。