Menu

Code Commit Log


Commit Date  
[r27] by yonishi

*a few bug fix for copy constructor of smart temporary classes
*some modification of dssmatrix (not yet included in cpplapack.h)

2006-05-18 16:57:07 Tree
[r26] by iaimf

dgematrix/dgematrix-forbiddencode/main.cpp
で、旧forbidden codeを試してみたところ、メモリリークがあったので
_dgs, _dro, _dgb, _dsy, _dco各クラスのデストラクタ内にdeleteを追加しました。
ただ、上記main.cppと同じフォルダ内のerrをみると、まだエラーがあります。
それから、main.cppで//runtime errorと書いてある行は、何か変です。
要確認です。

2006-05-18 16:23:18 Tree
[r25] by iaimf
2006-05-18 16:17:01 Tree
[r24] by iaimf
2006-05-18 16:15:08 Tree
[r23] by yonishi

*delete a few cerr for debugging

2006-05-18 12:44:03 Tree
[r22] by yonishi

dssmatrix was renamed to dgsmatrix.
(zgsmatrix is under construction.)

2006-05-18 01:35:43 Tree
[r21] by yonishi

*bug fix at i functions

2006-05-17 05:11:34 Tree
[r20] by yonishi

modification to get rid of forbidden codes
*added nullify function for all smart-temporary classes
*put nullify() at the end of shallow_copy functions and shallow copy constructors
*modified destroy function to assign NULL to all pointers

2006-05-16 16:22:43 Tree
[r19] by iaimf
2006-05-16 14:05:43 Tree
[r18] by iaimf

derived_smart_temporaryは、やはり良さそう。という補足。
演算子調査.xlsのsheet2において、関数を3通りに分類してみました。
それによれば、2と3の場合について、当初の改良案で関数の個数を1/4に
削減できます。つまり三分の二以上の関数については削減が可能。残りの1の場合は、別の方法で関数を減らすことになりそうです(減らすなら)。1/4でなく、1/2の削減にとどめるなど。
dgematrixのみのクラスを作ろうとしたら、derived_smart_temporaryの方法がうまくいかないということでしたが、それは、dgematrixのみの演算が最も特殊なものだったためです。
例をderived_smart_temporary.txtに追加しました。

2006-05-06 14:14:59 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.