講演名 1996/11/22
C++を用いた精度保証付き数値計算ライブラリ
中野 治, 柏木 雅英,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) 本報告ではC++言語を用いて精度保証付き数値計算のためのライブラリを作成することを目的としている。このようなライブラリを作成するには任意の型をとれる変数が必要である。これが今までのCやPascalといった言語ではこのようなライブラリが実現できなかった理由であるが、今回はこれをC++のOOP的機能であるクラスの派生、仮想関数(動的結合)を用いて実現している。また、この言語にはオペレータオーバーロードの機能があり、それを利用することでライブラリ使用者のプログラミングの手間を省くことができる。以上の事柄に焦点をおいて、C++によるライブラリの実現方法について報告する。また我々が作成したライブラリの基本的な使用方法についてもマニュアル的な説明を行う。
抄録(英) The purpose of this paper is to show how to construct a library for numerical computing with guaranteed accuracy. For such library, we must make a variable that can become any type. This is the reason why there are no such library by C Language or Pascal and so on. In this paper, we make such variable using class derivation and virtual functions (dynamic binding), which are features of OOP languages such as C++. We can also overload some operators such as operator plus in C++, which makes programming easier. Paying Attention to these things, we show the way to construct such library. We also show easy explanation for using our library.
キーワード(和) C++ / 精度保証付き数値計算 / 仮想関数 / オペレータオーバーロード
キーワード(英) C++ / Numerical Calculation with Guaranteed Accuracy / Virtual Functions / Operator Overloading
資料番号 NLP96-95
発行日

研究会情報
研究会 NLP
開催期間 1996/11/22(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Nonlinear Problems (NLP)
本文の言語 JPN
タイトル(和) C++を用いた精度保証付き数値計算ライブラリ
サブタイトル(和)
タイトル(英) Library for Numerical Calculation with Guaranteed Accuracy by C++
サブタイトル(和)
キーワード(1)(和/英) C++ / C++
キーワード(2)(和/英) 精度保証付き数値計算 / Numerical Calculation with Guaranteed Accuracy
キーワード(3)(和/英) 仮想関数 / Virtual Functions
キーワード(4)(和/英) オペレータオーバーロード / Operator Overloading
第 1 著者 氏名(和/英) 中野 治 / Osamu NAKANO
第 1 著者 所属(和/英) 九州大学大学院システム情報科学研究科
Graduate School of Information Science and Electrical Engineering, Kyushu University
第 2 著者 氏名(和/英) 柏木 雅英 / Masahide KASHIWAGI
第 2 著者 所属(和/英) 九州大学大学院システム情報科学研究科
Graduate School of Information Science and Electrical Engineering, Kyushu University
発表年月日 1996/11/22
資料番号 NLP96-95
巻番号(vol) vol.96
号番号(no) 386
ページ範囲 pp.-
ページ数 8
発行日