2008年4月5日土曜日

roadmap

NZMATH will start pre-1.0 beta series in 2008, and hopefully release 1.0.

It will contain some functions related to computation of algebraic number fields.
More precisely, an integral basis of an algebraic number field will be able to be
computed by NZMATH.

Another big change is about Python version on which NZMATH can run.
From the beginning of the history of NZMATH, the version required has been 2.3.
NZMATH 1.0 and its pre series requires 2.5.

The first pre-1.0 will appear in a moth.

2008年3月14日金曜日

3日目と4日目

3日目も前日の続き、というつもりだったが、少し行列のインターフェイスに不満が出てきたので改造を始める。なんで現状のように行列の要素を行ごとのリストのリストで持つようにしたのだったか。

午後はレクリエーションということで、みんなで近くの砂浜に行ってサッカーやドッジボールに興じる。2時間強目一杯の気分転換。

宿に帰ってから午前中の続きに戻ったが、すぐ夕食。

夕食後に今後の計画について話し合いをしたあと(後ほどその内容についても書くつもり)、飲み会。12時近くに散会してすぐ寝てしまったので、昨日これを書けなかった。そんなに飲んだつもりでもなかったのだが。

4日目は朝から雨。最終日なので部屋を片付けた後、昼まで会議室で最後の成果発表。

全体的に去年に比べてじっくり色々取り組めたように思う。個人的には round 2 の実装についてもう一度考え直さないといけないが、今月中には何とかする。

2008年3月12日水曜日

2日目

今日も昨日の続き。
行列の方の関数の修正とかもしつつ、未だ正解に達せず。
式変形をもう少し真剣に考え直せば出来上がるとは思うのだが。

2008年3月11日火曜日

1日目

11時過ぎに井の頭線に乗って移動を開始する。下北沢から小田急線でまずは小田原まで。
小田原で待ち合わせまでの少しの間に Beck's Cafe でサンドイッチを食べる。
13時に待ち合わせて13時5分発の東海道線に乗るはずが、乗り遅れてだいぶ時間の読みが狂った。
宿の伊東山喜旅館へは15時少し前の到着。

無線LANなので、設定も大したことはない(私はMacBookでAirMacを入れるだけ)。
人数(12人)分のノートPCが並ぶとなかなか壮観。

私は Round 2 の実装というか、去年動かない状態で放置したもののやり直しを主に手伝っている。
基本的なケース(Dedekindの判定条件)では動いた。

合宿 2008

今日から合宿。
今年の合宿は伊東で三泊四日、開発合宿の定番とも言える山喜旅館で行なわれる。
合宿の様子を(最後にまとめてでなく)随時書き込むつもりだ。

2007年12月24日月曜日

real/imaginary restructuring

I think it's time to replace real/imaginary implementations. The real module is providing functions corresponding to math standard module of Python, and imaginary to cmath. Scratching the surface of the real module, you may find that all results returned by functions in it are just rational numbers. I don't think they are useful enough now.

There has been decimal module in the Python standard library since 2.4. The reason we haven't used it is because of compatibility; we are keeping NZMATH to work with Python 2.3 or higher. If we agree to drop compatibility to Python 2.3, we can use it. How many of you think keeping compatibility is more important than refreshing rarely useful modules?

Another possibility is to use third party module. In my thought, mpmath is the most probable candidate. It provides arbitrary precision float as well as math/cmath like functions.


Any opinion or suggestion?

2007年10月5日金曜日

0.7.0

NZMATH 0.7.0 has been released.

A new poly subpackage for polynomial is a re-implementation of polynomials. This time, the polynomials has no variable names. We will withdraw the old implementation in the future, but at now, there are both implementations in the distribution.

2007年9月21日金曜日

a new beta

We've uploaded a beta of new release:
NZMATH-0.7.0_beta0.tar.gz
NZMATH-test-0.7.0_beta0.tar.gz

This is a beta, not a release candidate yet.

2007年5月24日木曜日

Mix-in か

多項式において、係数環の性質によって定義できる演算やメソッドが違い、今までの実装では継承で何とかしようとしていたが、これは mix-in で解決するのがいいのかもしれないと最近は考えている。問題は、これを動的に扱う必要があるかどうか、あるいはそもそも動的に扱えるのか(新形式クラスで __bases__ を書き換えるとどうなるのか)といった辺りだ。
なお、この方式は行列にも同様に適用できるはずだが、これには手を着けていない。多項式で一通り試してみてから、だ。

2007年4月18日水曜日

NZMATH 0.6.0

A new version 0.6.0 was released yesterday.
There are 4 new modules: arygcd, bigrange, cubic_root and factor.ecm,
though update of quad module is postponed.

The source and manual:
http://tnt.math.metro-u.ac.jp/nzmath/NZMATH-0.6.0.tar.gz
and test:
http://tnt.math.metro-u.ac.jp/nzmath/NZMATH-test-0.6.0.tar.gz