narray-nmatrix 0.6.1.0.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d544fbbc16c8f2910c0e41b3df92924bf883510d
4
+ data.tar.gz: b5da61d93892bda5e4f69c32d3681a950a061d9e
5
+ SHA512:
6
+ metadata.gz: 802bbb506b6e68a1d9fe52822dfadfc5abb850766e8b6a45cd051428950bda9ed82c98a7e03bcea84b0a03b8f937abf4d3df4d2653484c3825b42f0c73af6b5e
7
+ data.tar.gz: a85baa3ead70e66d9cabd1c173849791679f757579da2d08b02f77535586de3bb98e970343529e6bbb3d7b924c33704ab5d717b655af104d9e909da171334545
@@ -0,0 +1,809 @@
1
+ 2013-03-16 Masahiro TANAKA <masa16.tanaka@gmail.com>
2
+
3
+ * narray.c (Init_narray): add map, map!
4
+ Thanks to Michael Macias.
5
+
6
+ 2013-02-27 Masahiro TANAKA <masa16.tanaka@gmail.com>
7
+
8
+ * Rakefile: use rubygems/package_task.
9
+ * narray.gemspec: add --exclude in rdoc_options.
10
+ * ver 0.6.0.8
11
+
12
+ 2013-02-26 Masahiro TANAKA <masa16.tanaka@gmail.com>
13
+
14
+ * test/ld.rb: add require "rubygems".
15
+ * narray.gemspec: change gem directory from src to ext.
16
+ * narray.c: avoid warnings in require "complex" and rdoc parsing.
17
+
18
+ 2013-02-13 Masahiro TANAKA <masa16.tanaka@gmail.com>
19
+
20
+ * lib/narray_ext.rb: new method: NArray.cast
21
+
22
+ 2013-02-01 Masahiro TANAKA <masa16.tanaka@gmail.com>
23
+
24
+ * lib/narray_ext.rb: eql? hash methods implemented.
25
+ * ver 0.6.0.7
26
+
27
+ 2013-01-31 Masahiro TANAKA <masa16.tanaka@gmail.com>
28
+
29
+ * na_raondom.c: unuse u_int16_t
30
+ * mknafunc.rb, mkmath.rb, mkop.rb, na_linalg.c:
31
+ bug: duplicated definition of asinh/acosh/atanh,
32
+ typecast warning (mingw/mswin)
33
+ * ver 0.6.0.6
34
+
35
+ 2013-01-30 Masahiro TANAKA <masa16.tanaka@gmail.com>
36
+
37
+ * narray.c (na_check_class_narray):
38
+ use Module#<= instead of rb_mod_ancestors
39
+ * na_random.c, na_linalg.c:
40
+ avoid warnings of signed <=> unsigned comparison
41
+ * ver 0.6.0.5
42
+
43
+ 2012-12-07 geoffyoungs
44
+
45
+ * narray.c (na_check_class_narray):
46
+ Use ruby methods to check class ancestors,
47
+ instead of m_tbl directly
48
+ * ver 0.6.0.2
49
+
50
+ 2012-09-20 Masahiro TANAKA <masa16.tanaka@gmail.com>
51
+
52
+ * lib/narray_ext.rb (reverse,rot90): new method
53
+
54
+ 2012-09-01 ohai
55
+
56
+ * lib/narray_ext.rb: Change NMath#recip into a module function.
57
+
58
+ 2011-08-29 Masahiro TANAKA <masa16.tanaka@gmail.com>
59
+
60
+ * narray.c (na_alloc_struct): check array size (zero/negative).
61
+ * ver 0.6.0.1
62
+
63
+ 2011-08-27 Masahiro TANAKA <masa16.tanaka@gmail.com>
64
+
65
+ * narray.c (na_alloc_struct): check array size (overflow).
66
+ * extconf.rb (#install_rb): --export-all option for mingw.
67
+ * ver 0.6.0.0
68
+
69
+ 2011-02-04 Masahiro TANAKA <masa16.tanaka@gmail.com>
70
+
71
+ * na_func.c (na_prod, na_prod_body, na_cumprod, na_cumprod_bang):
72
+ New method.
73
+
74
+ 2010-01-04 David MacMahon <davidm at astro.berkeley...>
75
+
76
+ * mkop.rb, na_func.c, na_linalg.c, narray_local.h:
77
+ Add NArray#mod! method
78
+ Also adds NArray#mod as an alias for NArray#%.
79
+
80
+ 2010-01-04 David MacMahon <davidm at astro.berkeley...>
81
+
82
+ * mkop.rb: Fix divide-by-zero bug in % operator
83
+ Prior to this fix, the following would crash Ruby with a floating point
84
+ exception (at least on Mac OS X 10.6)...
85
+ 1 % NArray[0]
86
+ Now that code raises ZeroDivisionError which can be rescued.
87
+
88
+ 2010-01-04 David MacMahon <davidm at astro.berkeley...>
89
+
90
+ * Rakefile: Add Rakefile for easy gem creation
91
+ Just run "rake gem" to create the gem file in the pkg/ subdirectory.
92
+ Added .gitignore file to ignore pkg/ subdirectory.
93
+
94
+ 2011-01-04 sgwong
95
+
96
+ * extconf.rb: failure due to the change of
97
+ $DLDFLAGS in ruby1.9
98
+
99
+ 2010-12-14 Masahiro TANAKA <masa16.tanaka@gmail.com>
100
+
101
+ * lib/nmatrix.rb (NMatrix#diagonal!):
102
+ - failed due to spec change of NArray.to_na.
103
+ Thanks to M. Kikkawa.
104
+ * ver 0.5.9p9
105
+
106
+ 2010-09-13 David MacMahon <davidm at astro.berkeley...>
107
+
108
+ * narray.c (na_where2):
109
+ - Convert to NA_BYTE by calling "obj.ne(0)"
110
+ * ver 0.5.9p8
111
+
112
+ 2010-07-12 Masahiro TANAKA <masa16.tanaka at gmail.com>
113
+
114
+ * narray.c (na_s_to_na):
115
+ - improve argument check in NArray.to_na
116
+
117
+ 2010-04-30 Masahiro TANAKA <masa16.tanaka at gmail.com>
118
+
119
+ * narray.c (na_s_to_na):
120
+ - the number of arguments was not checked.
121
+ Thanks to S D for report.
122
+
123
+ 2010-01-16 Masahiro TANAKA <masa16.tanaka at gmail.com>
124
+
125
+ * na_index.c (na_index_analysis):
126
+ - access out-of-bounds "struct slice" array.
127
+ * SPEC.en, SPEC.ja:
128
+ - fix wrong explanation in count_false/true.
129
+ * na_random.c (na_random):
130
+ - modify random method not to change itself.
131
+ * lib/narray_ext.rb:
132
+ - modify randomn! method to replace itself.
133
+ Thank Yusuke ENDOH for report and comments.
134
+
135
+ 2009-06-14 Masahiro TANAKA <masa16.tanaka at gmail.com>
136
+
137
+ * narray.h:
138
+ include sys/stdint.h rather than sys/types.h
139
+ for C99 confomance
140
+ * ver 0.5.9p7
141
+
142
+ 2009-05-20 Masahiro TANAKA <masa16.tanaka at gmail.com>
143
+
144
+ * lib/narray_ext.rb (mean, stddev,rms,rsmdev,covariance):
145
+ - swith to DFLOAT type if integer array.
146
+ - thanks to Philip Silva for report.
147
+
148
+ 2009-03-11 Masahiro TANAKA <masa16.tanaka at gmail.com>
149
+
150
+ * na_index.c (na_aset_single_dim):
151
+ - add check of storing empty array.
152
+ - thanks to NISHI Takao for report.
153
+
154
+ 2008-11-05 Masahiro TANAKA <masa16.tanaka at gmail.com>
155
+
156
+ * work with ruby 1.9.1 preview1
157
+ - use RARRAY_*** macros instead of struct RArray.
158
+ - follow changes in Complex feature.
159
+ - change oprator arg of coerce_rev func : id -> symbol
160
+ - modify test scripts.
161
+
162
+ * na_array.c (na_do_mdai):
163
+ - bug fix in counting narray's rank.
164
+
165
+ * ver 0.5.9p6
166
+
167
+ 2008-06-10 Masahiro TANAKA <masa16.tanaka at gmail.com>
168
+
169
+ * bench/: new sophisticated benchmark script.
170
+
171
+ * ver 0.5.9p5
172
+
173
+ 2008-05-27 Jose M <braket at hotmai...>
174
+
175
+ * na_array.c, na_index.c, na_random.c, na_func.c:
176
+ * na_linalg.c, narray.c, mkmath.rb, mkop.rb:
177
+ change var++ to ++var: make NArray perform faster.
178
+
179
+ 2008-05-24 Hiroki Motoyoshi <himotoyoshi at yahoo.co...>
180
+
181
+ * mkmath.rb:
182
+ fix bug in powOO.
183
+
184
+ 2008-04-02 David MacMahon <davidm at astro.berkeley...>
185
+
186
+ * na_func.c:
187
+ new methods: conj!, conjugate!
188
+
189
+ 2008-01-11 David MacMahon <davidm at astro.berkeley...>
190
+
191
+ * lib/narray_ext.rb (stddev):
192
+ fix for complex NArrays.
193
+ * lib/narray_ext.rb (rms, rmsdev):
194
+ new methods.
195
+
196
+ 2008-01-28 Masahiro TANAKA <masa16.tanaka at gmail.com>
197
+
198
+ * na_array.c (na_range_to_sequence, na_do_mdai):
199
+ * na_index.c (na_index_range):
200
+ change in internal structure of Ruby 1.9 Range object.
201
+ Thanks to Hargobind Khalsa.
202
+
203
+ * ver 0.5.9p4
204
+
205
+ 2007-12-27 Masahiro TANAKA <masa16.tanaka at gmail.com>
206
+
207
+ * narray_local.h, narray.c, na_array.c:
208
+ use RSTRING_PTR, RSTRING_LEN for Ruby 1.9.0.
209
+
210
+ * ver 0.5.9p3
211
+
212
+ 2007-12-11 Masahiro TANAKA <masah16.tanaka at gmail.com>
213
+
214
+ * mkop.rb:
215
+ omit precision in format "%g" for InspS/D/X/C.
216
+ Thanks to Shigenori OTSUKA at kyoto-u.
217
+
218
+ * ver 0.5.9p2
219
+
220
+ 2007-10-09 David MacMahon <davidm at astro.berkeley...>
221
+
222
+ * narray.h, mkop.rb:
223
+ bug in NArray::NARRAY_VERSION and InspX.
224
+
225
+ 2006-08-09 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
226
+
227
+ * na_fftw.c, extconf.rb, narray.c (Init_narray):
228
+ Remove FFTW2 support; it is a separete module.
229
+
230
+ * ver 0.5.9
231
+
232
+ 2006-08-08 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
233
+
234
+ * na_index.c (na_index_test, na_aset_single_dim):
235
+ `nv[1] = nu' should work if nv and nu are NVector.
236
+ `NA_IsNArray(nu)' is used for checking NArray.
237
+ Thanks to sun@titech.
238
+
239
+ 2006-08-08 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
240
+
241
+ * narray_local.h, mknafunc.rb (mksortfuncs):
242
+ Argument type of comparison function passed to
243
+ qsort should be `const void *'.
244
+ Thank Daniel Berger for report.
245
+
246
+ 2006-07-30 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
247
+
248
+ * narray.h, narray.c:
249
+ Do not declare external variables of
250
+ cNArray, na_sizeof in narray.c.
251
+ Thank Daniel Berger for report.
252
+
253
+ 2006-03-22 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
254
+
255
+ * lib/narray_ext.rb (mean, stddev):
256
+ Fix to work with NVector/NMatrix classes.
257
+ Thank Stephen Hill for report.
258
+
259
+ 2005-09-13 Charlie Mills <Charlie.Mills@m...>
260
+
261
+ * mkop.rb, na_func.c, narray_local.h:
262
+ Make NArray#eq more robust.
263
+
264
+ 2005-08-05 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
265
+
266
+ * mkmath.rb (na_math_func):
267
+ Bug: In NMath functions, Float class arguments have been
268
+ converted to SFLOAT type. Thank Yuhei Kuratomi for his report.
269
+ Spec Change: Calculate and return as DFLOAT type
270
+ if an integer argument is given to NMath functions.
271
+
272
+ * na_func.c (na_math_atan2):
273
+ NMath.atan2() accepts other objects than NArray class.
274
+ Treat as DFLOAT for integer arguments.
275
+
276
+ * ver 0.5.8
277
+
278
+ 2005-01-25 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
279
+
280
+ * na_array.c (na_ary_to_nary_w_type):
281
+ Bug: "type" is not initialized when an array is empty.
282
+
283
+ 2005-01-07 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
284
+
285
+ * narray.h: #define NARRAY_VERSION NARRAY_VERSION_CODE
286
+
287
+ * narray.c: new constant: NArray::NARRAY_VERSION
288
+
289
+ 2004-11-10 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
290
+
291
+ * na_random.c:
292
+ Fix infinite loop due to gcc bug?;
293
+ "int32_t x; x>>=32;" unvaried although 0 expected.
294
+ Thanks to David G. Andersen.
295
+
296
+ * lib/narray_ext.rb (randomn):
297
+ Raise error if NArray type is other than float.
298
+
299
+ * ver 0.5.7p4
300
+
301
+ 2004-09-22 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
302
+
303
+ * nimage/nimage.c:
304
+ Argument type of rb_str2cstr is changed.
305
+ Use RSTRING()->ptr & RSTRING()->len.
306
+ Thanks to Ara Howard.
307
+
308
+ 2004-06-28 KOSHIRO Tsuyoshi <koshiro rish.kyoto-u.ac.jp>
309
+
310
+ * extconf.rb: generate libnarray.a for Cygwin + Ruby 1.8.1.
311
+
312
+ * ver 0.5.7p3
313
+
314
+ 2004-02-19 Masahiro TANAKA <masahiro.tanaka at nao.ac.jp>
315
+
316
+ * na_array.c (na_free_mdai):
317
+ memory free bug: xfree(mdai->type); added.
318
+
319
+ * ver 0.5.7p2
320
+
321
+ 2004-01-04 Masahiro TANAKA <masa@ir.isas.ac.jp>
322
+
323
+ * extconf.rb: narray.h, narray_conf.h was not installed on ruby-1.8.x
324
+
325
+ * narray.c: NArray-GC is disabled.
326
+
327
+ * nimage/nimage.c, test/testwhere.rb, speed/[mybench.rb,mul_rep.rb]:
328
+ fix ruby-1.8.x incompatibility
329
+
330
+ * ver 0.5.7p1
331
+
332
+ 2003-03-04 Masahiro TANAKA <masa@ir.isas.ac.jp>
333
+
334
+ * narray.c (na_alloc_struct):
335
+ NArray-specific GC is enabled for ruby-1.8.0.
336
+
337
+ * ver 0.5.7
338
+
339
+ 2003-03-03 Masahiro TANAKA <masa@ir.isas.ac.jp>
340
+
341
+ * na_random.c: created.
342
+
343
+ * lib/narray_ext.rb (rank_total):
344
+ Array#indices is obsolete. use Array#select.
345
+ Default `to_a' will be obsolete.
346
+
347
+ * lib/nmatrix.rb: Object#type is obsolete. use Object#class.
348
+
349
+ 2003-03-01 Masahiro TANAKA <masa@ir.isas.ac.jp>
350
+
351
+ * narray_ext.rb (swap_byte,hton,htov): removed.
352
+ * mkop.rb, mknafunc.rb, na_func.c, narray_local.h:
353
+ add C-version of swap_byte, hton, htov.
354
+
355
+ 2003-02-28 Masahiro TANAKA <masa@ir.isas.ac.jp>
356
+
357
+ * extconf.rb: do not add "--output-lib libnarray.a"
358
+ to link options if Cygwin with Ruby 1.8.0.
359
+ Thank MoonWolf for the note.
360
+
361
+ 2002-11-25 Masahiro TANAKA <masa@ir.isas.ac.jp>
362
+ * na_func.c (na_cumsum_bang,na_cumsum_): created.
363
+ Thank Jon Davidson for the proposal.
364
+
365
+ 2002-09-15 Masahiro TANAKA <masa@ir.isas.ac.jp>
366
+
367
+ * na_array.c (na_do_mdai):
368
+ Index is not `i' but `j' in recursive array check.
369
+ Thank Ara Howard for the bug report.
370
+
371
+ 2002-05-30 WATANABE Hirofumi <eban at os.rim.or.jp>
372
+
373
+ * extconf.rb: to build in another directory than source tree.
374
+ * depend: ditto.
375
+
376
+ 2002-05-18 Masahiro TANAKA <masa@ir.isas.ac.jp>
377
+
378
+ * lib/narray_ext.rb (NArray#==): return false unless other is NArray.
379
+
380
+ * narray.h, narray_local.h, narray.c:
381
+ move na_sizeof variable from narray_local.h to narray.h.
382
+ const keyword added. Thanks to Horinouchi-san.
383
+ * narray.c (na_get_typecode): change to public method.
384
+ * narray.c (na_sizeof,na_typestring): const keyword added.
385
+ * mkop.rb : ditto.
386
+ * na_func.c (na_unary_func): ditto.
387
+ * mkmath.rb : dismiss sincos()
388
+
389
+ 2002-04-11 Masahiro TANAKA <masa@ir.isas.ac.jp>
390
+
391
+ * mkmath.rb (asinh,acosh,atanh): better precision.
392
+
393
+ 2002-04-10 Masahiro TANAKA <masa@ir.isas.ac.jp>
394
+
395
+ * mkop.rb (SetFucs): should use INT2NUM to extract 32-bit int.
396
+ Thanks to Kozuka-san.
397
+
398
+ 2002-03-26 Masahiro TANAKA <masa@ir.isas.ac.jp>
399
+
400
+ * narray.def: remove unused entry. Thanks to Watanabe-san.
401
+
402
+ 2002-03-24 Masahiro TANAKA <masa@ir.isas.ac.jp>
403
+
404
+ * na_array.c:
405
+ New multi-dimentional array investigation is introduced.
406
+ Scan array only once and check recursive array.
407
+
408
+ * narray.h, narray_local.h:
409
+ Local definisions in narray.h are moved into narray_local.h.
410
+
411
+ * ver 0.5.6
412
+
413
+ 2002-03-17 Masahiro TANAKA <masa@ir.isas.ac.jp>
414
+
415
+ * nmatrix.rb (NMatrix#*): accept Array as an argument.
416
+
417
+ 2002-02-26 Masahiro TANAKA <masa@ir.isas.ac.jp>
418
+
419
+ * na_array.c (na_copy_ary_to_nary): accept Range as a sequence.
420
+
421
+ 2002-02-06 Masahiro TANAKA <masa@ir.isas.ac.jp>
422
+
423
+ * narray.c, na_func.c, na_index.c, na_linalg.c, na_fftw.c, mkmath.rb:
424
+ add volatile keyword instead of na_touch_object() function.
425
+
426
+ 2002-01-25 Masahiro TANAKA <masa@ir.isas.ac.jp>
427
+
428
+ * na_array.c (na_to_array0): Bug: GC fails if ary->len is set
429
+ in advance. Thanks to Bil Kleb.
430
+
431
+ 2001-12-30 Masahiro Tanaka <masa@ir.isas.ac.jp>
432
+
433
+ * extconf.rb: Modify install_rb to install narray.h, narray_config.h.
434
+ * na_index.c (na_aref,na_aset):
435
+ Mask support. Thanks to T.Horinoichi.
436
+ * mkop.rb: Mask functions added.
437
+ * narray.h: Macros added.
438
+ * narray.def: created.
439
+
440
+ * ver 0.5.5
441
+
442
+ 2001-11-20 Takeshi Horinouchi <horinout at kurasc.kyoto-u.ac.jp>
443
+
444
+ * narray.c (na_get_typecode): Bug: "!" needed at strncmp.
445
+ * Mask support in [], []=.
446
+ na_aref/aset_mask(), na_count_true/false() added.
447
+ Methods mask, count_true, count_false added.
448
+ * test/testmask.rb: created.
449
+
450
+ 2001-07-01 Masahiro Tanaka <masa@ir.isas.ac.jp>
451
+
452
+ * narray.h: introduce na_index_t.
453
+ * na_func.c (na_init_slice,na_loop_index_ref,na_loop_general):
454
+ change to na_index_t.
455
+ * na_index.c: modify EXCL(range) to use excule_end?.
456
+ * na_index.c (na_aref_single_dim): remain array if sl->step!=0.
457
+ i.e., a[0..0] results in 1-element array.
458
+ * na_func.c (Init_na_funcs): alias image, arg, conjugate.
459
+
460
+ * ver 0.5.4
461
+
462
+ 2001-06-30 Masahiro Tanaka <masa@ir.isas.ac.jp>
463
+
464
+ * extconf.rb: check sys/typedef.h, u_int8_t, int16_t, int32_t.
465
+ generating narray_config.h.
466
+ * narray.h: conditional typedef. define NARRAY_H.
467
+ * na_func.c (Init_na_funcs): change == to eq. add gt,ge,lt,le.
468
+ * lib/narray_ext.rb: new entry: ==, all?, any?, none?.
469
+
470
+ * mkop.rb: new entry: conditional XOR.
471
+ * na_func.c (na_cond_xor): ditto.
472
+ * narray.h: ditto.
473
+
474
+ 2001-06-05 Masahiro Tanaka <masa@ir.isas.ac.jp>
475
+
476
+ * na_index.c (na_aref_body): NVector#[] should return NVector
477
+ class even when single argument of range/array.
478
+ Thanks to Daishi Harada.
479
+ * narray.h (na_class_dim): delete redundant ";"
480
+ * extconf.rb: delete config_dir("narray"), add dir_config("fftw").
481
+
482
+ 2001-06-04 Masahiro Tanaka <masa@ir.isas.ac.jp>
483
+
484
+ * na_index.c (na_aref_multi_dim_single_elm):
485
+ do not change class even if a[0..0,0..0] for NMatrix.
486
+ Thanks to Daishi Harada.
487
+ * narray.c (na_inspect): rb_str_cat(str,": \n",4);
488
+ not 4, but 3. Thanks to Matju.
489
+
490
+ 2001-05-11 Masahiro Tanaka <masa@ir.isas.ac.jp>
491
+
492
+ * nimage/extconf.rb: add dir_config("x11"). rm have_header.
493
+
494
+ 2001-04-10 Masahiro Tanaka <masa@ir.isas.ac.jp>
495
+
496
+ * narray.h: exclude typedef int32_t,int16_t,u_int8_t for Mac OS X.
497
+ Thanks to T.Yamamoto.
498
+ * mkmath.rb (atan,atanh): avoid non-constant initializer for complex.
499
+
500
+ 2001-04-03 Masahiro Tanaka <masa@ir.isas.ac.jp>
501
+
502
+ * na_array.c (na_search_rank): ignore empty array.
503
+ * na_array.c (na_copy_ary_to_nary): ignore empty array and nil.
504
+ * ver 0.5.3
505
+
506
+ 2001-04-02 Masahiro Tanaka <masa@ir.isas.ac.jp>
507
+
508
+ * narray.c (na_to_s): bug: na_sizeof[] is necessary.
509
+ Thank matju for report.
510
+
511
+ 2001-01-29 Masahiro Tanaka <masa@ir.isas.ac.jp>
512
+
513
+ * mkop.rb (Angl): added.
514
+ * na_func.c (na_angle): added. Thank M.Tagusai for proposal.
515
+ * ver 0.5.2
516
+
517
+ 2001-01-21 Masahiro Tanaka <masa@ir.isas.ac.jp>
518
+
519
+ * mkop.rb, mkmath.rb: loop-end condition changed from n>0 to n.
520
+ 5% speed up for multiplication of double.
521
+
522
+ 2001-01-20 Masahiro Tanaka <masa@ir.isas.ac.jp>
523
+
524
+ * mkop.rb (DivU,DivB): raise error if divided by 0.
525
+
526
+ 2001-01-19 Masahiro Tanaka <masa@ir.isas.ac.jp>
527
+
528
+ * mkop.rb (round): bug: has omitted the case of 0.
529
+
530
+ 2001-01-18 Masahiro Tanaka <masa@ir.isas.ac.jp>
531
+
532
+ * narray.c (na_is_empty): added.
533
+ * na_func.c (na_exec_unary,na_exec_binary,na_make_object_extend):
534
+ enable operation of empty array.
535
+
536
+ 2001-01-17 Masahiro Tanaka <masa@ir.isas.ac.jp>
537
+
538
+ * na_index.c (na_aset_array_index): allow a[[]]=1.
539
+
540
+ 2001-01-14 Masahiro Tanaka <masa@ir.isas.ac.jp>
541
+
542
+ * na_index.c (na_ary_to_index): bug: should raise error if < -n.
543
+
544
+ 2001-01-13 Masahiro Tanaka <masa@ir.isas.ac.jp>
545
+
546
+ * na_func.c (na_unary_func): should call func of self-type.
547
+ Thanks to Matju.
548
+
549
+ 2001-01-06 Masahiro Tanaka <masa@ir.isas.ac.jp>
550
+
551
+ * narray.c (na_s_new_int): check argc==0. Thanks to Matju.
552
+
553
+ 2000-12-10 Masahiro Tanaka <masa@ir.isas.ac.jp>
554
+
555
+ * ver 0.5.1
556
+
557
+ 2000-12-11 Masahiro Tanaka <masa@ir.isas.ac.jp>
558
+
559
+ * narray.c (na_alloc_struct): cope with empty array.
560
+ * na_func.c (na_exec_unary,na_shape_max_2obj): empty check.
561
+
562
+ 2000-12-10 Masahiro Tanaka <masa@ir.isas.ac.jp>
563
+
564
+ * narray.c (na_random): disable initalizing seed.
565
+ * na_touch_object created.
566
+ * free -> xfree. Thanks to Naoki Matsumoto.
567
+
568
+ 2000-12-07 Masahiro Tanaka <masa@ir.isas.ac.jp>
569
+
570
+ * ver 0.5.0.p2
571
+
572
+ * fix problems for VC++. Thanks to Naoki Matsumoto.
573
+ * mkmath.rb: create asinh, acosh, atanh missing in VC++.
574
+ * mkop.rb (TpErrI): return int after rb_raise().
575
+ * narray.h: max() -> NA_MAX(), swap() -> NA_SWAP().
576
+ * narray.c (na_get_typecode): return int after rb_raise().
577
+ * na_func.c (na_sort,na_sort_index): fix function decl. for qsort.
578
+
579
+ 2000-12-01 Masahiro Tanaka <masa@ir.isas.ac.jp>
580
+
581
+ * ver 0.5.0.p1
582
+
583
+ * lib/nmatrix.rb (NVector#+,-): should change Class to NArray
584
+ before calling super. Thanks to Kenya OGATA.
585
+
586
+ * na_index.c (EXCL): follow the change of EXCL() in 1.6.2.
587
+ Thanks to Robert Feldt.
588
+
589
+ 2000-11-25 Masahiro Tanaka <masa@ir.isas.ac.jp>
590
+
591
+ * ver 0.5.0
592
+ * No Log between 0.5.0 and 0.3.5.p1. Sorry.
593
+
594
+ 2000-10-14 Masahiro Tanaka <masa>
595
+
596
+ * narray.c (na_wrap_struct_class): na_mark_ref, na_mark_obj.
597
+
598
+ 2000-10-05 Masahiro Tanaka <masa>
599
+
600
+ * nmatrix.rb: created.
601
+
602
+ * too many changes are applied to source codes. ^^;
603
+
604
+ 2000-10-03 Masahiro Tanaka <masa>
605
+
606
+ * na_index.c (na_shrink_rank): created for general purposes.
607
+
608
+ * narray.c (na_reshape): use new na_shrink rank.
609
+ recognize "true" argument.
610
+
611
+ * lib/narray_ext.rb: use new feature of reshape
612
+
613
+ 2000-10-02 Masahiro Tanaka <masa>
614
+
615
+ * na_index.c (na_make_slice_aset_fill): created.
616
+
617
+ * lib/narray_ext.rb (flatten): no more use dup.
618
+
619
+ * na_func.c (na_s_mul_sum): created.
620
+
621
+ * narray.c (na_wrap_struct): wrap with referring class.
622
+ (na_ref_alloc_struct): created.
623
+ (na_reshape_ref,na_newrank_ref): created.
624
+ (na_inspect): print class name.
625
+
626
+ * narray.h: add "VALUE obj" elmt to "struct NARRAY".
627
+
628
+ 2000-09-29 Masahiro Tanaka <masa>
629
+
630
+ * mkopfunc.rb (mulacmfunc): created.
631
+
632
+ * mkfuncs.rb: rewrite with %w().
633
+ (mktrifunc): renamed from mkcmpfunc. accept block.
634
+
635
+ * na_loop.c (na_slice_set_extend): change arguments.
636
+
637
+ * na_func.c (na_mul_acm,na_shape_max_3obj): created.
638
+ (na_exec_trifunc_extend): a1 can be shrinkable.
639
+
640
+ 2000-09-28 Masahiro Tanaka <masa>
641
+
642
+ * lib/narray_ext.rb (is_ineger?,is_complex?):
643
+ -> ineger?, complex?.
644
+
645
+ 2000-09-27 Masahiro Tanaka <masa>
646
+
647
+ * na_index.c (na_index_analysis): add false dimension.
648
+
649
+ * narray.c (na_clone): renamed from ns_dup.
650
+
651
+ 2000-09-04 Masahiro Tanaka <masa>
652
+
653
+ * ver 0.3.5.p1
654
+
655
+ * narray.c, na_array.c, na_func.c, narray.h, mknmath.rb
656
+ remove unused variables and functions. (-Wall check)
657
+ (Thanks to Robert Feldt)
658
+
659
+ * lib/narray_ext.rb (convol): put in module FFTW.
660
+ (Thanks to Robert Feldt)
661
+
662
+ 2000-09-01 Masahiro Tanaka <masa>
663
+
664
+ * ver 0.3.5
665
+
666
+ * narray.c (na_random): remove `seed' argument. add rand().
667
+
668
+ 2000-08-25 Masahiro Tanaka <masa>
669
+
670
+ * lib/narray_ext.rb: create randomn (Box-Muller).
671
+
672
+ 2000-08-23 Masahiro Tanaka <masa>
673
+
674
+ * na_index.c (aref, aset): categolize procedures with arguments.
675
+
676
+ 2000-08-02 Masahiro Tanaka <masa>
677
+
678
+ * lib/narray_ext.rb: create FFTW.convol.
679
+
680
+ 2000-08-01 Masahiro Tanaka <masa>
681
+
682
+ * na_index.c (na_aref_array_index): bug fix: free index memory.
683
+
684
+ 2000-07-28 Masahiro Tanaka <masa>
685
+
686
+ * ver 0.3.4
687
+
688
+ * mkcmpfunc.rb : remove <=> with complex. add ~.
689
+
690
+ * mkopfunc.rb, na_func.c: add &, |, ^.
691
+
692
+ 2000-07-27 Masahiro Tanaka <masa>
693
+
694
+ * mknmath.rb, lib/narray_ext.rb: add covariance.
695
+
696
+ * mkopfunc.rb (data_mod): add imag=.
697
+
698
+ * mksetfunc.rb: add im (ImagMul).
699
+
700
+ * mknmath.rb, lib/narray_ext.rb: add trigonometric functions.
701
+
702
+ 2000-07-26 Masahiro Tanaka <masa>
703
+
704
+ * na_func.c (na_exec_math_func): extract object if argument is
705
+ non-array.
706
+
707
+ * lib/narray_ext.rb: add mean, stddev.
708
+
709
+ 2000-07-21 Masahiro Tanaka <masa>
710
+
711
+ * na_index.c (na_aset): bug fix for empty index, etc.
712
+
713
+ * na_func.c (na_shape_check): raise error if empty array.
714
+ (na_sum_body,na_min,na_min,na_transpose): better arg-parse.
715
+ (na_arg_to_rank,na_accum_set_shape,na_accum_shrink_rank):
716
+ created.
717
+
718
+ 2000-07-20 Masahiro Tanaka <masa>
719
+
720
+ * narray.c (na_str_to_na): more size check.
721
+
722
+ * na_index.c (na_aset): allow if src-ary has smaller dims.
723
+
724
+ * narray.c (na_to_narray): moved from na_array.c
725
+
726
+ * lib/narray_ext.rb: created. swap_byte, hton etc.
727
+
728
+ * narray.c (Init_narray): change type=>typecode.
729
+ add NArray.dfloat, NArray::DFLOAT etc.
730
+ add element_size, to_binary, to_type_as_binary.
731
+
732
+ 2000-07-18 Masahiro Tanaka <masa>
733
+
734
+ * na_loop.c (na_loop_general): created. na_loop_index is obsolete.
735
+
736
+ 2000-07-17 Masahiro Tanaka <masa>
737
+
738
+ * na_func.c (na_sum_body,na_accum): created.
739
+
740
+ * na_index.c (na_slice): created.
741
+
742
+ * na_index.c (na_aref,na_aset): if the argument is an array,
743
+ methods [],[]= return same shape as the array. e.g,
744
+ a[[[0,1],[2,3]]] creates 2-D array.
745
+
746
+ * na_index.c
747
+ (na_serialize_struct,na_aref_aryindex,na_aref_single): Created.
748
+
749
+ 2000-07-16 Masahiro Tanaka <masa>
750
+
751
+ * na_func.c (na_transpose_bifunc,na_transpose),
752
+ test/testtrans.rb: Created.
753
+
754
+ 2000-07-15 Masahiro Tanaka <masa>
755
+
756
+ * ver 0.3.3
757
+
758
+ * na_func.c (na_sort,na_sort_index,na_sort_number): Created.
759
+
760
+ * mkfuncs.rb (mksortfunc): Created.
761
+
762
+ * test/testsort.rb: Created.
763
+
764
+ 2000-07-14 Masahiro Tanaka <masa>
765
+
766
+ * narray.c (Init_narray), narrah.h: introduce NArrayScalar class.
767
+
768
+ * narray.c (na_coerce), na_func.c (na_bifunc): better casting.
769
+
770
+ 2000-07-11 Masahiro Tanaka <masa>
771
+
772
+ * mk*.rb, depend: include code-generating scripts in distribution.
773
+
774
+ * na_func.c, mkopfunc.rb: rename sub! => sbt!.
775
+
776
+ * mkfuncs.rb: fix to work for Ruby ver 1.5.4.
777
+
778
+ 2000-07-10 Masahiro Tanaka <masa>
779
+
780
+ * na_array.c: rename na_to_narray1 to na_ary_to_narray
781
+
782
+ * na_array.c: reduce GC problem; delay registration of objects.
783
+ change return value of na_to_narray0
784
+ from VALUE to struct NARRAY *
785
+ reflect in na_ary_to_na, na_ary_to_na, na_ary_to_narray.
786
+
787
+ * narray.h: add GetOrMakeNArray(obj,ary), FreeMadeNArray(obj,ary)
788
+
789
+ * narray.c, na_index.c, na_func.c, na_fftw.c:
790
+ change na_to_narray0 to GetOrMakeNArray/FreeMadeNArray.
791
+
792
+ * narray.c (na_free): free memory of itself structure.
793
+
794
+ * narray.c (na_mark): pass pointer to rb_gc_mark.
795
+
796
+ * na_array.c (na_make_inspect): return if total<0.
797
+
798
+ * na_index.c (na_ary_to_index, na_aref, na_aset):
799
+ judge whether empty array.
800
+
801
+ * naimage/demo/mandel.rb: Now no need for checking size.
802
+
803
+ * test/testindex*.rb: print more description.
804
+
805
+ 2000-07-05 Masahiro Tanaka <masa>
806
+
807
+ * ver 0.3.2
808
+
809
+ * Create NImage library