numru-narray 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +60 -0
- data/ext/numru/narray/na_func.c +4 -4
- data/ext/numru/narray/narray.h +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db92ba9962254a39883414ae302128af4deab214
|
4
|
+
data.tar.gz: 9645b05469adef3bbe09ff30ddf48ddcabdbbb38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5244ca52d8ebf5e0f0d9750b02ee0e91f960d2eab18c3645e52f21787f53fa47ce7d548bc97476e11c6f5b04bf4c0e076b5dc9be4ffb9ae8a7389342adcfc32
|
7
|
+
data.tar.gz: e463b1c0303f4e40f6d09892b45005796f173afc05ec6e4f1e463238a00541b33fd1293fab5f83b5e23f800303080ffc5cc3397341969cc4017ec54cb3ea356d
|
data/ChangeLog
CHANGED
@@ -1,3 +1,63 @@
|
|
1
|
+
2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
|
2
|
+
|
3
|
+
* update version
|
4
|
+
|
5
|
+
2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
|
6
|
+
|
7
|
+
* fix different types of the arguments of rb_range_beg_len
|
8
|
+
|
9
|
+
2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
|
10
|
+
|
11
|
+
* change name from NArray-Bigmem to NumRu-NArray
|
12
|
+
|
13
|
+
2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
|
14
|
+
|
15
|
+
* chnage require "numru/narray"
|
16
|
+
|
17
|
+
2016-02-12 Seiya Nishizawa <seiya@gfd-dennou.org>
|
18
|
+
|
19
|
+
* define NArray class under NumRu module
|
20
|
+
|
21
|
+
2015-07-09 Seiya Nishizawa <seiya@gfd-dennou.org>
|
22
|
+
|
23
|
+
* Merge pull request #1 from kouketsu/bugfix_mkop
|
24
|
+
* Fix na_cast_real
|
25
|
+
2015-07-09 Shinya KOUKETSU <shinya.kouketsu@gmail.com>
|
26
|
+
|
27
|
+
* Fix na_cast_real
|
28
|
+
|
29
|
+
2015-06-12 Takeshi Horinouchi <horinout>
|
30
|
+
|
31
|
+
* * debug (re-inserted a line in na_aset_array_index; return value type of na_ary_to_index)
|
32
|
+
|
33
|
+
2015-05-23 Seiya Nishizawa <seiya@gfd-dennou.org>
|
34
|
+
|
35
|
+
* bugfix for #min and #max
|
36
|
+
|
37
|
+
2015-01-23 Seiya Nishizawa <seiya@gfd-dennou.org>
|
38
|
+
|
39
|
+
* update NARRAYBIGMEM_VERSION to 0.0.1
|
40
|
+
|
41
|
+
2015-01-23 Seiya Nishizawa <seiya@gfd-dennou.org>
|
42
|
+
|
43
|
+
* bugfix in interval of memory access. e.g. transpose
|
44
|
+
|
45
|
+
2015-01-22 Seiya Nishizawa <seiya@gfd-dennou.org>
|
46
|
+
|
47
|
+
* change typecode string for integer as before
|
48
|
+
|
49
|
+
2015-01-22 Seiya Nishizawa <seiya@gfd-dennou.org>
|
50
|
+
|
51
|
+
* change directory structure and gemfile
|
52
|
+
|
53
|
+
2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
|
54
|
+
|
55
|
+
* add code the paches for compatibility for the original NArray
|
56
|
+
|
57
|
+
2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
|
58
|
+
|
59
|
+
* update ChangeLog from git log
|
60
|
+
|
1
61
|
2015-01-21 Seiya Nishizawa <seiya@gfd-dennou.org>
|
2
62
|
|
3
63
|
* add mkchangelog.sh to create ChangeLog from git log
|
data/ext/numru/narray/na_func.c
CHANGED
@@ -1008,9 +1008,6 @@ static VALUE
|
|
1008
1008
|
/*
|
1009
1009
|
------- Sum, Min, Max, Transpose --------
|
1010
1010
|
*/
|
1011
|
-
VALUE
|
1012
|
-
rb_range_beg_len(VALUE range, na_shape_t *begp, na_shape_t *lenp, na_shape_t len, int err );
|
1013
|
-
|
1014
1011
|
static int
|
1015
1012
|
na_arg_to_rank(int argc, VALUE *argv, int rankc, int *rankv, int flag)
|
1016
1013
|
/* e.g.: argv=[1,3..5]
|
@@ -1021,6 +1018,7 @@ static int
|
|
1021
1018
|
*/
|
1022
1019
|
{
|
1023
1020
|
int i, j, c=0;
|
1021
|
+
long lr, ln;
|
1024
1022
|
na_shape_t r, n;
|
1025
1023
|
VALUE v;
|
1026
1024
|
|
@@ -1046,7 +1044,9 @@ static int
|
|
1046
1044
|
}
|
1047
1045
|
else
|
1048
1046
|
if (CLASS_OF(v)==rb_cRange) {
|
1049
|
-
rb_range_beg_len( v, &
|
1047
|
+
rb_range_beg_len( v, &lr, &ln, rankc, 1 );
|
1048
|
+
r = (na_shape_t) lr;
|
1049
|
+
n = (na_shape_t) ln;
|
1050
1050
|
if ( c+n > rankc )
|
1051
1051
|
rb_raise(rb_eArgError, "too many ranks");
|
1052
1052
|
if (flag) {
|
data/ext/numru/narray/narray.h
CHANGED
@@ -27,8 +27,8 @@
|
|
27
27
|
#define NARRAY_VERSION "0.6.0.8"
|
28
28
|
#define NARRAY_VERSION_CODE 608
|
29
29
|
|
30
|
-
#define NUMRU_NARRAY_VERSION "1.0.
|
31
|
-
#define NUMRU_NARRAY_VERSION_CODE
|
30
|
+
#define NUMRU_NARRAY_VERSION "1.0.1"
|
31
|
+
#define NUMRU_NARRAY_VERSION_CODE 101
|
32
32
|
|
33
33
|
/* big memory support */
|
34
34
|
#define NARRAY_BIGMEM 1
|